Re: Passing hibernate session from one page to the next in a wizard form

2015-03-30 Thread George Christman
Thanks Ilya, that's another good idea I never gave a thought. On Sun, Mar 29, 2015 at 5:11 AM, Ilya Obshadko wrote: > Another solution to that is loading all lazy collections when you retrieve > your object and before starting using in in a session. You can force it > using Hibernate Criteria me

Re: Passing hibernate session from one page to the next in a wizard form

2015-03-29 Thread Ilya Obshadko
Another solution to that is loading all lazy collections when you retrieve your object and before starting using in in a session. You can force it using Hibernate Criteria method setFetchMode ( "collectionName", FetchMode.JOIN ). On Fri, Mar 27, 2015 at 10:44 PM, George Christman wrote: > You ar

Re: Passing hibernate session from one page to the next in a wizard form

2015-03-27 Thread George Christman
You are the man, been struggling with this all day ugh. Thanks a lot. On Fri, Mar 27, 2015 at 3:17 PM, Kalle Korhonen wrote: > On Fri, Mar 27, 2015 at 11:50 AM, George Christman < > gchrist...@cardaddy.com> > wrote: > > > Hi guys, I'm trying to pass my object from one page to the next without >

Re: Passing hibernate session from one page to the next in a wizard form

2015-03-27 Thread Kalle Korhonen
On Fri, Mar 27, 2015 at 11:50 AM, George Christman wrote: > Hi guys, I'm trying to pass my object from one page to the next without > actually saving it. I tried putting the object in a sessionstate, but I'm > getting lazy loading exceptions on my second page, any idea how to do this? > It's gen

Passing hibernate session from one page to the next in a wizard form

2015-03-27 Thread George Christman
Hi guys, I'm trying to pass my object from one page to the next without actually saving it. I tried putting the object in a sessionstate, but I'm getting lazy loading exceptions on my second page, any idea how to do this?