[jboss-user] [JBoss Seam] - Re: [1.3.0 Alpha]not-null property references a null or tran

enzhao do-not-reply at jboss.com
Thu Jun 21 07:50:18 EDT 2007


Oh I forgot the mention that in the database, there is simply no null-value in the msreDesc column. And I just modified this code:

  | // Guarantee referential integrity
  |     food.getWeights().add(this);
  | 

in the FoodWeight entity class to:

  | // Guarantee referential integrity
  |     food.getWeights().add(this);
  |     this.setFood(food);
  | 

rebuilt and tested, did not help at all. 

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

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



More information about the jboss-user mailing list