|
Ran into this today with 4.3.7. Using ImprovedNamingStrategy, an entity was annotated with @javax.persistence.Table and @org.hibernate.annotations.Table. At EntityBinder:983, appliedTable is "BLC_TRANSLATION" and pcTable.name is "blc_translation".
In fewer words, @org.hibernate.annotations.Table.appliesTo doesn't get run through the naming strategy so Hibernate does a stupid thing. The comments on
HHH-8123
have some suggestions for fixes.
|