persistence@glassfish.java.net

Re: No Persistence provider for EntityManager

From: Amorous <dupati1_at_gmail.com>
Date: Fri, 16 Jan 2009 10:03:26 -0800 (PST)

Thanks for your reply...here is what I have in persistence.xml file

<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/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">
  <persistence-unit name="myapp-ejbPU" transaction-type="JTA">
    <jta-data-source>mydatasource</jta-data-source>
    <properties/>
  </persistence-unit>
</persistence>

-- 
View this message in context: http://www.nabble.com/No-Persistence-provider-for-EntityManager-tp21504825p21505070.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.