Does Hibernate( I downloaded the latest one yesterday -May,31,2007) not support mapping a column to getter/setter methods in embedded object?
Following code makes toplinks-essentials essentials include the mapping but
Hibernate completely ignores it, i.e does not put it in the generated insert statement.
/**
* Returns lower-case string containing email address.
* Never returns null.
**/
@Column(name="USER_NAME")
public String getLowerCaseUserName() {
return getValue().toLowerCase();
}
public void setLowerCaseUserName(String uname) {
_userName=uname.toLowerCase();
}
Thanks,
Anurag
|