• Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalArgumentException In hibernate

 
Hamzah khammash
Greenhorn
Posts: 23
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello i have this exception
in my code here is some file i used:
persistence.xml:

and hibernate.xml:

and main class:

so what is happened and how can o solve this ?
 
Vijitha Kumara
Bartender
Posts: 3953
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use createQuery() method instead.
 
Yup, yup, yup. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!