Hi,
did anybody experience any trouble with an application based on QtJambi (the java port of Qt) and Hibernate annotations?
My problem is that I upgraded my application from Qt4.3 to 4.4 and ran into issues with Hibernate (3.4) afterwards.
I am getting the following exception that didn't occur with Qt4.3 without changing any line of code:
org.hibernate.AnnotationException: No identifier specified for entity:
org.model.Node
at
org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:650)
The thing is that the missing Id is specified in the superclass of Node which is annotated with
@Inheritance(strategy=InheritanceType.JOINED)
It looks like after the upgrade of Qt, the annotation parser doesnt recognize the inheritance hierarchy of the model anymore, although the code is still the same.
I'd really appreciate if anybody has a hint where the problem might be.
Thanks,
Nico
|