I struggled for ages trying to figure out how to do lazy loading on a one-to-one relationship in hibernate. I’ll put you out of your misery now - you can’t!
I have one central table and 2 one-to-one relationship tables hanging off it.
When… more »
Archives for: "October 2008"
Mantis Bug Tracker is an open source bug and issue tracker. We use it here to help track work requested by our customers. I wrote the time tracking and billing section, which is one of my claims to fame!
When a customer creates an issue on the system,… more »
When using hibernate inside a container like Tomcat or JBoss the transaction manager is set up as part of the container’s configuration. The container handles the transaction synchronisation and tells the application when to start and stop the… more »
When writing unit tests you often need to check to see if a method throws a particular type of exception under a particular set of conditions.
In the package org.springframework.test there is a handy helper class to help you do this.
Codenew… more »