Joined: Thu Aug 18, 2011 3:30 am Posts: 1
|
Using MySql and hibernate My Schema is ready.
Problem: I need to write a utility to generate db tables using hbm.
Concerns: I have only hbm's and hibernate.cfg.xml but no mapped POJO for hbm.xml(Yes thats true POJO's are missing, can't answer why?)
Now I need to generate the db tables? How can that be Established.
Things I have Tried: 1. SchemaExport 2. hbm2ddl.auto
While loading the hibernate configuration it tries to map hbm with the given pojo and gives exception obvious reason POJO's are missing. Any way to avoid this particular behavior or any workaround.
Suggestions Please
|
|