You are not annoying me. I  apparently do not have the correct vocabulary to 
describe my situation adequately enough. So let me try again...

Store has a one-to-one relationship with Type. However, simply using the 
following annotation is not adequate:


  |     @OneToOne
  |     @JoinColumn(name = "STORE_TYPE", referencedColumnName = "TYPE_ID")
  |     public Type getStoreType() {
  |         return storeType;
  |     }
  | 

Because it produces the following error:


  |   State: FAILED
  |   Reason: org.hibernate.AnnotationException: Column name TYPE_FIELD of 
com.foo.entities.Type not found in JoinColumns.referencedColumnName
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034267#4034267

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034267
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to