Feed on
 Posts
 Comments
Java Beans dot Asia

Just a few simple tutorials …

Category Archive for 'hibernate'

Its quite common when you create an application, there is a need to create an audit trail on the application level where all entity insert, update and delete events are logged. In this post, I would like to describe a simple approach that can help you to avoid littering with unnecessary statements in your application [...]

Read Full Post »

Recently during development, I encountered a situation where I had to map two collections in the same entity, having collections and the entity it self of the same type. I had persistent entity – Rule. Rule could have children rules: “action” rules and “else” rules. Children rules were also of type Rule. Basically it was [...]

Read Full Post »

Hi all… i encountered a small problem in doing bitwise operations with hibernate. Until now, HIbernate 2 HQL parser has supported bitwise operations. Hibernate 3 for some reason does not support it. So if you want to work around it, you have to create a custom SQLfunction and add it to the dialect, that will [...]

Read Full Post »


Page 1 of 11