-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problems with Hiberate Annotations together QtJambi 4.4
PostPosted: Fri Sep 05, 2008 8:37 am 
Newbie

Joined: Fri Sep 05, 2008 8:22 am
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 4:48 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

could you provide more detailed information, including the mapped classes and the full stack trace. If the used Hibernate version and annoted classes have not changed - what has changed?

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.