-->
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.  [ 1 post ] 
Author Message
 Post subject: Can I avoid net.sf.hibernate.collection.* dependency?
PostPosted: Mon May 09, 2005 12:11 pm 
Newbie

Joined: Mon May 09, 2005 11:48 am
Posts: 1
This is a general query I have with relation to hibernate. We have a hibernate2 based persistence layer on a JBOSS server. The API to the
service layer exposes the objects (POJOs)generated by hibernate.

We have a seperate JAVA application using this API, but to my surprise,
the returned POJOs from the API have a dependency on the
net.sf.hibernate.collection.* classes for the collections.

Is there anyway Hibernate can be configured so that it returns the java.util.* implementations of these collections as opposed to its implementation?

BTW we do not use/require lazy initialization.


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

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.