• Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalArgumentException In hibernate  RSS feed

 
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: 4001
42
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
Boost this thread!