-->
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: Possibility to get ríd of PersistentBag??
PostPosted: Tue Aug 14, 2007 5:23 am 
Newbie

Joined: Tue Aug 14, 2007 5:15 am
Posts: 1
Hi all, nice forum!! ;-)

I have a problem with the persistent-bag. We are using hibernate for the db-mapping and I wanted to use castor to create some XML from some db-objects.

Now the problem is, that Castor doesnt support the type List, just ArrayList but in the POJOs from the db I always have the persistentbags.

Question:
- Can I get rid of the PersistentBags? Castor also uses persistent bags, but just in cases when it does not know the type of the list-values. Otherwise it creates an ArrayList and the marshalling - unmarshalling is really one to one.
- If I can not get rid of them (what I suppose), any idea how to handle that? I guess there are some smart workarounds.

Thanks for help,

Cheers,

Robert.


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.