Hi,
I'm using hibernate through the JPA (entitymanager) interface.
Currently, I'm using lots of "@Column" annotations in order to map between java field-names that are camelBack (e.g.: employeeName), and DB column-names that have underscores (e.g.: EMPLOYEE_NAME) :
Code:
@Column(name="EMPLOYEE_NAME")
private String employeeName;
But I was wondering: does hibernate offer any vendor-specific way to simplify this (even at the cost of portability) ?
Perhaps some hibernate-specific property in "persistence.xml" (<properties> section), that would tell hibernate to assume default mapping between underscores and camelback (and save the need for many explicit @Column declarations) ?
Thanks a lot :)