File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes IllegalArgumentException In hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "IllegalArgumentException In hibernate" Watch "IllegalArgumentException In hibernate" New topic
Author

IllegalArgumentException In hibernate

Hamzah khammash
Greenhorn

Joined: Jan 05, 2012
Posts: 15

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

Joined: Mar 24, 2008
Posts: 3563

Use createQuery() method instead.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
 
subject: IllegalArgumentException In hibernate
 
Threads others viewed
unresolved Demands 'persistence.unit:unitName=
Simple JPA Program using Eclipselink 1.1 in Eclipse
Hibernate: Error getting property 'lastItem'
problem in hibernate code
JPA's context injection with Hibernate as engine
MyEclipse, The Clear Choice