assion!
> Subject: [java ee programming] Re: JPA Controller Classes with Netbeans 6.5
> and Glassfish
>
> Hi,
>
> The persistence.xml seems fine.
>
> I can actually make the entity classes work by initializing them
> explicitly with the following code in the class constructor, o
ehalf Of
jps
Sent: Thursday, January 29, 2009 3:29 PM
To: Java EE (J2EE) Programming with Passion!
Subject: [java ee programming] Re: JPA Controller Classes with Netbeans 6.5
and Glassfish
Hi,
The persistence.xml seems fine.
I can actually make the entity classes work by initializing them
expli
Hi,
The persistence.xml seems fine.
I can actually make the entity classes work by initializing them
explicitly with the following code in the class constructor, or
elsewhere, before using the emf and utx:
...
if(emf==null)
{
emf = Persistence.createEntityManagerFact
This is just a guess but check your persistence.xml and make sure it is
correct. Specifically the jta-data-source.
-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
jps
Sent: Wednes