| Author |
Problem with Update
|
Vrushali Gore
Ranch Hand
Joined: Oct 17, 2005
Posts: 40
|
|
I m updating bulk number of rows with Hibernate. Thats why I first tried using createSQLQuery() method for Native SQL update. But then it says that Update is supported via HQL only. So i tried that also where I used createQuery method to go for HQL bulk update operation. Then getting ERROR as document not mapped. Can anybody please help me in sorting out this issue. (Using postgres db) Thanks in advance
|
 |
Edvins Reisons
Ranch Hand
Joined: Dec 11, 2006
Posts: 364
|
|
|
Bulk updates are described in Section 13.4 of the Hibernate Reference. Please post your code and mappings if you need further help.
|
 |
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
|
Posting the exception stack trace would be more helpful.
|
 |
 |
|
|
subject: Problem with Update
|
|
|