Can anyone tell me if there is a way to get the MetaData from the Hibernate XML mappings? Here is some psudo code of what I am trying to accomplish
Code:
MetaData mymetadata = new MetaData(MyClass)
mymetadata.getTableName()
mymetadata.getColumnName("myClassProperty");
I am trying to get this history interceptor working. I have it determining changes, but I would like to have the table name and columns names that the change is taking place in, instead of the property's from the class.
http://www.hibernate.org/195.html
Thanks,
Paul