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
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
2 matches
Mail list logo