When using a new software tool, I love that the moment that you reach that ‘ahh’ point.
You know when you have reached that moment when you stop fighting the tool and the tool really starts working for you rather than against you. I just have reached that moment with hibernate and the discovery of its event system.
This event system will save a great deal of effort in trying to make my object model conform with the database table structure. Registering for a PostLoadEvent is all that is needed for most of my remaining work with the persistence layer. This will allow an entity’s internal structure to be completely restored after being retrieved. Very, very nice.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.