Unfortunately not yet. I first run into https://hibernate.atlassian.net/browse/HHH-8277 and several DDL generation problems, then in Glassfish usage of jboss-logging and hibernate-validator that are not compatible with 5.0 and now I'm stuck in some IllegalArgumentException with no apparent solution yet. A sample is below if somebody has any suggestions(it's on a persist, with ParticipantType a subclass of Base):
Caused by: java.lang.IllegalArgumentException: Can not set java.lang.Long field core.Base.id to participant.type.ParticipantType at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171) at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:58) at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) at java.lang.reflect.Field.get(Field.java:393) at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:57) ... 171 more
|