users@glassfish.java.net

Persistence issue

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Tue, 5 Jun 2007 12:25:54 +0200

Hi, I am getting the following error on my glassfish V1 P1

 

com.datapro.account.type.AccountType_at_c2420b is not a known entity type.

 

I cannot find anything wrong with the persistence.xml file (seen below)

 

<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"

             version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">

  <persistence-unit name="pu1" transaction-type="RESOURCE_LOCAL">

    <provider>

      oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider

    </provider>

    <jta-data-source>

      DataPro_Master

    </jta-data-source>

    <class>

      com.datapro.account.type.AccountType

    </class>

  </persistence-unit>

</persistence>

 

Does anyone have any pointers?

 

Kenneth Clark
System Architect / Lead Developer

Rabid Dog Laboratories T
Putting the art back into development

tel: +27 11 475 7409
mobile: +27 82 500 5090
e-mail: kenneth_at_rabiddog.co.za
website: http://www.rabiddog.co.za/