Niranjan

Greenhorn
+ Follow
since Jul 01, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Niranjan

Can any one can send sample examle on many-to-many mapping using hibernate...

Note: no need to send DTO class....just send me the mapping file and passing the values..


I am expecting Response soon
If i use Session.update()..i am getting following querys in many-to-many mapping. how can update refrese table without deletion opration

Hibernate: update User set uname=? where myId=?
Hibernate: update dept set deptName=?, description=? where deptId=?
Hibernate: delete from semp_dept where deptId=?
hi friends, i am able to perform all the operations on many-to-many using hibernate. But i am facing a problem while updating. After updating the 2 tables hibernate deleting a row from my reference id table(emp_dept)..
how can i resolve it?



Hibernate: update User set uname=? where myId=?
Hibernate: update dept set deptName=?, description=? where deptId=?
Hibernate: delete from emp_dept where deptId=?



adv..thax
Hi All, I am getting the data using sessio.load() in many-to-many mapping.

And i am putting all the data in DTO's. Now i am updating data by using Setters. AFter that i am updating data using session.update(). (I tried with session.saveOrUpdate() also). But i am getting deletion operation on Reference table which contains reference keys of two table.


Can any one can send me sample code for passing dto objects for updation in many-to-many mapping..


thank's all
nirumagic@gmail.com
Dear saikrishna ,


Just try to increase Heap size for ur application. Check it out java -options for increasing Heapsize..


Nirumagic
17 years ago