17.7.12

Hibernate used to convert camel case object property names to underscored database field names.But this is not working anymore. So you should say your naming strategy to hibernate specifically with setting "hibernate.ejb.naming_strategy" property.

For auto-conversion from camel case to  underscores (like patientId to PATIENT_ID as a database column name) you can set it to "org.hibernate.cfg.ImprovedNamingStrategy" for choosing ImprovedNamingStrategy.

Hiç yorum yok:

Yorum Gönder