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
|