Hi All,
I'm wondering if there is any way to convert Persistent Collection into user defined collection through Hibernate Annotation? For example, if I have an @OneToMany mapping with the return collection Set, then the real implementation for the Set object I obtained should be PersistentSet. I don't want that in my implementation, so what kind of method I can use to convert PersistentSet into HashSet for example. Thanks.
Allen
_________________ Yijia (Allen) Zhao
Research In Motion
Software Developer
|