Tag Archives: sql

How To Debug Hibernate SQL Queries With Parameters

I bet everyone knows how to enable SQL logging for Hibernate. If you add this parametr to Hibernate configuration: <property name="hibernate.show_sql">true</property> you will see queries like this in log file: select roles0_.EntityKey as Entity9_1_, roles0_.ENTITYKEY as ENTITY9_168_0_ from USERROLE roles0_ … Continue reading

Posted in en | Tagged , , , | 5 Comments

SchemaSpy: inspect DB schema

When you are joining to an existing project you don't have good knowledge of internal project structures. Existing documentation may be inaccurate or just missing. In this case you can rely only on clean source code structure and source code … Continue reading

Posted in en | Tagged , | Comments Off on SchemaSpy: inspect DB schema