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: Extending Hibernate's persistent collections globablly
PostPosted: Fri Oct 22, 2010 11:10 pm 
Newbie

Joined: Fri Oct 22, 2010 11:06 pm
Posts: 11
Hi!
I'm trying to add a slight change to all hibernate persistent collections (PersistentSet, PersistentList, etc). I have extended each of these classes, and would like Hibernate to use my custom implementations for all collection wrappings.

Is there a way to configure that in Hibernate? I though about using a custom collection type that does nothing but wrapping the collections with my custom persistent collections, but to use them I'd have to add a collection-type to all my mappings. I'd like hibernate to use them globally to all collections, by default. Is there a way to accomplish that?

After extensive research I still couldn't find a solution, please let me know if you have any clues...

Thank you!!
Eduardo Born


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.