Re: [hibernate-dev] brain fart

2012-03-04 Thread Steve Ebersole
Not related to this, but ok... Ugh, apparently @Type was already used for collections to name the element type for basic collections. That stinks. I'll have to alter my recent change for custom collection type support to use a new annotation. :( On Sun 04 Mar 2012 07:30:08 AM CST, Strong L

Re: [hibernate-dev] brain fart

2012-03-04 Thread Strong Liu
FYI org.hibernate.test.annotations.collectionelement.CollectionElementTest is failing -- org.hibernate.testing.junit4.CallbackException: org.hibernate.testing.junit4.BaseCoreFunctionalTestCase#buildSessionFactory at org.hibernate.testing.junit4.TestClassMetadata.invokeCallba

[hibernate-dev] Mapping Java Enums in Hibernate

2012-03-04 Thread Sebastian Prehn
Hello, I would love to be able to map enum values to custom database values to decouple db and java logic. Just finished uploading my custom mapper into a new googlesource project. http://code.google.com/p/hibernate-enum-usertype/ EclipseLink follows a similar approach: http://wiki.eclipse.org/Ec