reset password
Author Message
xieguahu
Posts: 50
Posted 19:14 Oct 15, 2009 |

I am trying to Run the hbm2ddl Ant task to generate a new db/csns.ddl file.  But I did not see any new database there, all of them are the old ones.

 

I already create the new mapping files.  So why this happens?  Do I need to change something else.

xieguahu
Posts: 50
Posted 19:45 Oct 15, 2009 |

I found out that you need to add <mapping resource="hbm/assignment/*.hbm.xml" /> in the hibernate.cfg.xml file under csns/conf folder

Last edited by xieguahu at 19:46 Oct 15, 2009.