• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Update

 
Vrushali Gore
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posting the exception stack trace would be more helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic