Posts

Showing posts from August, 2012

SyntaxHighlighter

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript. To get an idea of what SyntaxHighlighter is capable of, have a look at the demo  page.

Hibernate native SQL with Spring Data

Adding Hibernate native SQL features into your Spring Data Repository JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need to map multiple entities in your native SQL. You have to define a set of SqlResultSetMapping mapping which is quite error prone... http://borislam.blogspot.hk/2012/07/adding-hibernate-native-sql-features.html