Re: ModelDriven Entity Update

2011-04-26 Thread Eric Lentz
t this is what I do. I suspect that there is a better (more Struts standard) place to put the object instead of the session? - Eric From: "CRANFORD, CHRIS" To: "Struts Users Mailing List" Date: 04/25/2011 11:52 PM Subject: ModelDriven Entity Update In a form; I

ModelDriven Entity Update

2011-04-25 Thread CRANFORD, CHRIS
In a form; I have a select box defined as: In the model I have the propertyOfModel annotated as @ManyToOne as follows: @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="PROPERTY_ID",nullable=true,insertable=true,updatable=t rue) public PropertyOfModel getPropertyOfModel() { // ... } Now the