Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistence IllegalArgumentException in EntityManager

 
Pradyut Bhattacharya
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Bhattacharya
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could correct it with some changes in code...



Thanks
Pradyut>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic