I know this is not JPA but it is potentially valuable to have short column
names as these name are stored with every value for every record.
Currently the only way to do this is to have entity property names that differ
from getter/setter names. It would be great if the following could be done:
@Column(name="shortName");
private String myVeryLongFieldName;
public String getMyVeryLongFieldName() {
return myVeryLongFieldName;
}
public void setMyVeryLongFieldName(String myVeryLongFieldName) {
this.myVeryLongFieldName = myVeryLongFieldName;
}
In this case, the actual field name persisted would be "shortName"
Original issue reported on code.google.com by joe...@gmail.com on 1 Jul 2011 at 1:52
Original issue reported on code.google.com by
joe...@gmail.com
on 1 Jul 2011 at 1:52