Actually, use this code instead of the above to invoke the entities. I just 
changed one line to make it standalone.

  | ...
  | // code that invokes above entities to produce the problem
  | Collection<RecordData> biomarkers = new ArrayList<RecordData>(1);
  | RecordData biomarker = new RecordData();
  | biomarker.setBiomarkerId(99L);
  | biomarker.setValue(4.4);
  | biomarkers.add(biomarker);
  | myRecord.setRecordData(biomarkers);
  | 
  | em.persist(myRecord);
  | ...
  | 

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

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

Reply via email to