These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate initialization issue
PostPosted: Fri Apr 18, 2008 7:11 am 
Newbie

Joined: Fri Apr 18, 2008 5:53 am
Posts: 1
Hibernate version: 3.2

Hi,

We are migrating our persistance layer from entity beans to hibernate .
The current architecture uses custom assemblers to convert the persistance data pojos to business data pojos.
The assemblers are referencing lazy proxy objects and throwing LazyInitExections. We do not want to change the fetch mode to load these objects as they are not used and would affect memory/performance.

Do hibernate provide any strategy to ignore proxy objects/exceptions (or even set a lazy object to null rather than prozy), as this must be a common issue

Thanks for any suggestions


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 18, 2008 8:52 am 
Newbie

Joined: Wed Apr 16, 2008 7:49 pm
Posts: 10
There is a handy library "beanlib" that you can use. Search sourceforge.net for it.

Good luck,
Sivec


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.