-->
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: java collections instead of hibernate collections
PostPosted: Wed Jan 25, 2006 7:41 am 
Newbie

Joined: Tue Nov 30, 2004 10:39 am
Posts: 10
Hi,
is there a way con configure hibernate in a way that it should return standard java collection types instead of hibernate collections?

I ask because I have to send the query results to a remote client, where I dont want to use the hibernate jar.

of cource a workaroound is to fill all the result in the serverside in a standard collection line

List result = getResultfromHibernate();
return new ArrayList(result);

But maybe there is a nicer buil-tin way in hibernate.

thanks,
Alex.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 25, 2006 8:38 am 
Expert
Expert

Joined: Thu Sep 04, 2003 8:23 am
Posts: 368
This is not a simple problem, see this thread for more details : http://forum.hibernate.org/viewtopic.php?t=946665

_________________
Seb
(Please don't forget to give credits if you found this answer useful :)


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.