Our project will update to Hibernate 5. We have some databases that are controlled by a 3rd party.
Before Hibernate 5, we used ImprovedNamingStrategy
's entity's property ignore strategy if annotation @Column(name="xxxxxx")
. xxxxxx
maps to the database name.
However, In Hibernate 5, PhysicalNamingStrategy
will apply strategy on all logical column name, ignoring the annotation. Hibernate 5 should view xxxxxx
as logical column name.
Is there a way to make Hibernate 5 ignore apply strategy on annotated properties?