[jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM

trouby do-not-reply at jboss.com
Thu Jul 20 08:42:36 EDT 2006


Hey,

Yeah, I understand....



Well, I added to the entity the following method:


  | @Override
  | 	public boolean equals(Object obj) {
  | 		if (!(obj != null && obj instanceof TargetSystem))
  | 			return false;
  | 		TargetSystem ent = (TargetSystem) obj;
  | 		if (this.targetSystemId.equals(ent))
  | 			return true;
  | 		return false;
  |     }
  | 

Still getting the 'Validation Error: Value is not valid ' message....


Am I missing anything?



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

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



More information about the jboss-user mailing list