Posted January 21st, 2008 by paul
If you’re like me and have written Spring web applications using Hibernate for persistence, you’ve probably seen this error when using FetchType.LAZY in your @OneToMany annotation.
failed to lazily initialize a collection of role:
your.Class.assocation no session or session was closed
If you are using lazy loading rather than [...]
Tags: Hibernate, Spring
Posted January 11th, 2008 by paul
This week at work I’ve had the luxury of getting to sit down and write a sample application using a few of my favorite tools: Spring, and Hibernate-Annotations. New to this equation has been Sitemesh. I’ve been using Tiles for quite a while and have felt very comfortable with it, but at the [...]
Tags: Hibernate, Sitemesh, Spring
Posted March 31st, 2007 by paul
As part of a project I’m currently working on, I’ve had to integrate a RoR application with another developer’s Java code. At first glance, things looked to be fairly simple as I envisioned a simple Web Service communication between Java and Ruby would be a breeze…not so fast. Getting the two to play [...]