hi there is mistake in u r persistence.xml file i correctd it and i am giving 
that at here. u should give provider class in the  tag only.......





<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0" 
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
<persistence-unit name="testApp"/>
oracle.toplink.essentials.PersistenceProvider
<jta-data-source>java:comp/env/jdbc/my-ejb-test</jta-data-source>
src.Employee

<!--Use the java2db feature -->

<!-- Generate the sql specific to database -->


</persistence-unit> 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066685#4066685

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066685
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to