This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Chances are it's a matter of catching the errors or augmenting a logging/debugging level. Make sure you read through the documentation. And, if I'm not mistaken this is really the JPA persistence mechanism that came with Java 6.
The above statemenst are in try catch block
the above two statements executes successfully but the third one didn't get me the results ( i checked during debugging)
anyways thanks for your suggestion and i will look into the docs for jpa