I want to override column names in by subclass using xml.
i know this can be done using @AttributeOverride JPA Anotations but want to achieve the same using XML Configuration ?
I want to override column names in by subclass using xml. i know this
Share
You can use the embedded and attribute-override elements.
See Chapter 3. Overriding metadata through XML/3.1.3. Property level metadata.
An example from this document: