Hi
I m using glassfish v2 and persistence in a web application.
Well i want to ask:-
How to update using em.createQuery in JTA
in detail:-
I m calling persistence codes using a normal java class file inside a web Application
I can select easily using this code: -
I want to update using JTA as the persistence.xml file has
transaction-type="JTA"
When i try using update using this code i get a nullPointerException without any traces in the log
Any help
Thanks
Pradyut>
I m using glassfish v2 and persistence in a web application.
Well i want to ask:-
How to update using em.createQuery in JTA
in detail:-
I m calling persistence codes using a normal java class file inside a web Application
I can select easily using this code: -
I want to update using JTA as the persistence.xml file has
transaction-type="JTA"
When i try using update using this code i get a nullPointerException without any traces in the log
Any help
Thanks
Pradyut>