Hi all,
I'm thinking about doing hibernate (jpa) with scala. With the latest version of scala 2.8, nested annotations are now possible. The biggest hurdle I see is persistent collections.
Scala collections are different than java. For persistent collections, can I define my own UserType like this describes (
https://www.hibernate.org/265.html) and have it extend org.hibernate.collection.PersistentCollection?
Alternately, I see the hibernate types defined in the org.hibernate.type package. If I wanted to create my own for scala.collection.mutable.List, how would I register it? Would I have to extend org.hibernate.type.TypeFactory?
Thanks,
Michael