posted 14 years ago
I am trying to insert record to a database using hibernate many to many association. There is something I miss but could not figure it out.
Here are my files
User.hbm.xml
MusicType.hbm.xml
The code piece that is supposed to make update(which does not)
however the following code does :
The persistenceManager and hu is instances of same Class : HibernateUtils the update function is here
My POJO s and database is generated by hibernate tools
If you have an idea, please guide me. Thanks.