dev@glassfish.java.net

Re: PU with TX Type JTA

From: Lance J. Andersen <Lance.Andersen_at_Sun.COM>
Date: Mon, 18 Jun 2007 10:17:23 -0400

Ed Mooney wrote:
>
> 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.
On XP, when you try and edit the persistence.xml using NB 5.x, you
cannot always update the fields in the form (why I do not know) so I
just use the XML view.

Yes, i agree it would be nice to always use the form, but my experience
is that it does not want to play nice on my PC.
>
>>>
>>> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>