-->
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.  [ 3 posts ] 
Author Message
 Post subject: jars needed on client side using detached objects?
PostPosted: Wed Sep 21, 2005 11:52 am 
Newbie

Joined: Fri Jun 17, 2005 2:51 am
Posts: 11
Hi,

I'm using Hibernate 3.0.5 and I've searched the FAQs and the forum but didn't find an answer to a quite simple question. So I give you now the chance to earn some credits for this forum :-)

Here's the question:
I'm detaching objects in my application server and pass the detached object graph to my web server. The Web Application is not aware of Hibernate but expects plain POJOs. Which jars do I have to include in my Web application so that it can handle the Proxies, cglib enhanced objects etc.?


Thanks in advance,
Joern


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 21, 2005 12:33 pm 
Senior
Senior

Joined: Thu Aug 04, 2005 4:54 am
Posts: 153
Location: Birmingham, UK
Well if they're detached objects then you'll have hydrated everything you need and you shouldn't be passing any proxies to anything.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 21, 2005 12:38 pm 
Newbie

Joined: Fri Jun 17, 2005 2:51 am
Posts: 11
unfortunately not, because if you only loaded a part of the object tree, the non loaded associations contain Hibernate collection proxies etc. that can throw LazyInitializatiobExceptions etc.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.