It seems to me like you have the "Session In View" problem which is not just relevant to Hibernate. It happens where people use lazyloading. If my assumption is correct, you get the lazyLoadingException when you load the detail. Is my assumption correct?