[jboss-user] [EJB 3.0] - Re: AnnotationException: xxx not mapped to a single property

waynebaylor do-not-reply at jboss.com
Fri Aug 31 12:01:10 EDT 2007


the referenced column name looks like it's missing a "2":
anonymous wrote : @ManyToOne
  | 	@JoinColumns({
  | 		@JoinColumn(name="partyidpersonsearch", referencedColumnName="partyidperson"),
  | 		@JoinColumn(name="sequencenumbersearch", referencedColumnName="sequencenumber")
  | 	})
  | 	private Personhasstoredsearches personhasstoredsearches;

and 
anonymous wrote : @Embeddable
  | 	public static class PK implements Serializable {
  | 		private long partyidperson2;
  | 		private short sequencenumber;
  | 		private static final long serialVersionUID = 1L;

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080069



More information about the jboss-user mailing list