Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1
Mapping documents:N/A
Code between sessionFactory.openSession() and session.close():N/A
Full stack trace of any exception that occurs:N/A
Name and version of the database you are using:Sybase ASE 12.5
The generated SQL (show_sql=true):N/A
Debug level Hibernate log excerpt:N/A
I am trying to reverse engineer hibernate mapping files from the database that I already have. I see that the .hbm.xml files are getting created properly for typed persitent classes. However, I want to model all my entities as generic models ( Maps) and hence I need to include the atrribute "entity-name" to the "Class" element in my mapping files. I don't want to do this manually one mapping file at a time. I looked at the DefaultReverseEngineeringStrategy and tried to supply my own reverse engineering strategy class. But I am not sure which method I should overrride to be able to add additional attribute "entity-name". Is it possible in the first place to tweak hibernate tools to do this?