aspose file tools*
The moose likes Object Relational Mapping and the fly likes Persistence IllegalArgumentException in EntityManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Persistence IllegalArgumentException in EntityManager" Watch "Persistence IllegalArgumentException in EntityManager" New topic
Author

Persistence IllegalArgumentException in EntityManager

Pradyut Bhattacharya
Ranch Hand

Joined: Aug 12, 2004
Posts: 63
i m trying to retrieve a table using persistence framework

the code i have written is in simple java class file in webapplication

the code in the java class



But on running this i m getting a IllegalArgumentException
the full exception being



I think the entity classes are not initialized or they have not connected with the database
Thats why the IllegalArgumentException

Please any help

Thanks
Pradyut>


Pradyut
http://pradyut.tk/
Pradyut Bhattacharya
Ranch Hand

Joined: Aug 12, 2004
Posts: 63
I could correct it with some changes in code...



Thanks
Pradyut>
 
Don't get me started about those stupid light bulbs.
 
subject: Persistence IllegalArgumentException in EntityManager