I have a 'interesting' problem, hopefully someone in javaranch could be switch my light ON.
Here the problem :
- I have two entities with a many-to-many association, the join table isn’t being populated when an association is made.
How can the join table is not updated after saving the entities with many-to-many associations between them?
some solution on net as describe in SOLUTION , shorted that we need to call session.flush() before commit the session between them.
My question, is it posible since I already define OSIV Listener and set session.setFlushMode(flushMode.AUTO).Is there any way to do manually flushing session on DAO? since I use HibernateDaoSupport.
Need advice from all of you.
Joined: Jan 20, 2010
still need advice please. ...anythings, is there any difficulties to dechiper my message, please provide me some question .