• 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
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use createQuery() method instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic