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 »
Tag: "hibernate"
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 »