Generate JPA controller class

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Generate JPA controller class
Doing my first steps in JPA, but running into some issues. Can't get the code injection to work for my transaction manager, so wanted to move away from using JTA. But looks like the controller classes you generate from Netbeans are always assuming you use JTA, even when unflagging the option in persistence.xml.

Is there a way to work around that, or does it mean I have to manually write my controller classes?