Archive for Januar, 2009

Font Style

A WordPress plugin that helps you format your text with wiki like markups.


And one more WordPress plugin:
This one makes life easier, when you want some table of content on your pages and posts, based on the H1-Hx tags used to mark the titles.

Hibernate HQL to SQL Translation

For debugging purposes using hibernate it’s often usefull to have the generated SQL query to an appropriate HQL query.
But setting the hibernate configuration hibernate.show_sql to true leads to logging any query made within an application (which can be a lot in some applications). With the following class the hibernate API is used to generate the correct SQL query from a given HQL query and can be used anywhere to log the generated query.