Finally i found it.
This mapping causes the exception:
?xml version=1.0 encoding=UTF-8?
| !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD
3.0//EN http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd;
|
| hibernate-mapping package=demo
| class
I have created this JIRA issue: http://jira.jboss.com/jira/browse/JBIDE-1767
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128075#4128075
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128075
When igenerate source code with the mapping files in the JIRA issue no
exception is thrown. It only generates faulty code. So the exception must come
from another part of the code:-( I will investigate this further.
View the original post :
Hello,
Thanks for the answer.
I am now trying to assemble a short example wich shows the problematic code. I
am not quite sure that i found it already. But a one2one association is not
correctly generated so that the generated code gives a compiler error. If i am
ready i submit it to jira with
so you are probably using some specific construct in hbm.xml that the
annotations generation does not support yet. If you can figure out which
hbm.xml or set of hbm.xml's that is causing the issue put them in jira and we
can look at what is the problem.
View the original post :
Thanks for the response.
Meanwhile i have detected that code IS generated. Due to the error there is no
refresh of the directory list inside eclipse. A simple refresh revealed the
generated code.
All classes are there. But due to the error a many2one dependenxy must be
missing. I will
They are generated per class.
Im not sure named queries are generated by the annotation support...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123851#4123851
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123851