dev@glassfish.java.net

Re: PU with TX Type JTA

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Mon, 18 Jun 2007 10:08:53 -0400

Lance J. Andersen wrote:
>
>
> Ed Mooney wrote:
>> 1. Verify your app: right-click on the project and select "Verify
>> Project".
>>
>> 2. Avoid editing persistence.xml by hand. Editing @transaction-type
>> without changing the data source invites trouble.
> Actually, i find the NP plugin does not work well for me on XP, so i do
> find i need to edit the persistence.xml vs use the supplied tool.

What's the NP plugin? If you need to hand-edit the persistence.xml for a
"Hello World" app, something's amiss.

>>
>> 3. Download the tutorial and look at the order application[1].
>>
>> [1]
>> http://java.sun.com/javaee/5/docs/tutorial/doc/PersistenceEJB2.html#wp82561
>>
>>
>> -- Ed
>>
[ ... ]

   -- Ed