Changing naming strategy of @Table and @Column with EclipseLink to lower-case
问题 When defining a JPA Entity like this: @Entity @Table public class CaseExample implements Serializable { @Id Long id; @Basic String fooBar; } the automatically created SQL table name is "CASEEXAMPLE" and the column name "FOOBAR". How can I change that from upper-case to lower-case-with-underscore e.g. "case_example" and "foo_bar" without having to add a name="foo_bar" to every single @Table and @Column? Is the naming strategy defined by JPA or implemenation dependend? I use JPA 2.0 with