we have a concept of "logical name" for the column, for example org.hibernate.test.annotations.strategy.Storm
though the JPA spec says it should be column names used for javax.persistence.UniqueConstraint#columnNames, we do support logical name, in the above case – `"start.country", "start.city"`
this is modeled by org.hibernate.cfg.Configuration.MappingsImpl.TableColumnNameBinding
not sure if we should have same design – caching the logical name to physical name mapping , or, resolve it during binding
|