[jboss-user] [EJB 3.0] - Re: Can't deploy after installing RC9 Patch 1
ingo77
do-not-reply at jboss.com
Mon Jan 8 07:53:44 EST 2007
Problem solved I had a rubbish mapping, my bad.
The mapping was incomplete:
@ManyToOne
| @JoinColumn(name = "A_FK")
| public int getA(){
| return a;
| }
| public void setA(int a){
| this.a=a;
| }
The problem is that I got a nullpointer , when I tried to deploy to an old installation (4.0.4) I got a real errror msg :
org.hibernate.AnnotationException: @OneToOne or @ManyToOne on entityB.a references an unknown entity: int
|
ThIS msg was understandably and it was a easy fix.............
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998979#3998979
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998979
More information about the jboss-user
mailing list