users@glassfish.java.net

persistence.xml file

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Jul 2007 02:42:21 PDT

hi
I am developing simple EJB application.
Application Server;Sun Java application server
Database:MS SQL Server2000 i am using.

following is the code snippet for persistence.xml,

<?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="EJBCustomerPU" transaction-type="JTA">
    <jta-data-source>cust</jta-data-source>
    <properties>
    </properties>
  </persistence-unit>
</persistence>

at the time of deploying i am getting error,

i want to know is there any changes i need to do in persistence.xml file

what <provider></provider> shld be used for MS SQL Server database

please help me in this
[Message sent by forum member 'shruthifcg' (shruthifcg)]

http://forums.java.net/jive/thread.jspa?messageID=226733