• Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring - JPA/Hibernate : java.lang.IllegalArgumentException: Update/delete queries cannot be typed  RSS feed

 
Atul More
Greenhorn
Posts: 11
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a issue while updating a table.
The error is:

java.lang.IllegalArgumentException: Update/delete queries cannot be typed

The code is:


Any idea, ow to solve it?


Thanks,
Atul
 
Atul More
Greenhorn
Posts: 11
Java jQuery Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Very early I got the solution. It was a small mistake I made.
Instead of putting clas name, I need to just provide a query string.


its works.


Thanks,
Atul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!