[jboss-user] [EJB 3.0] - Re: Problem in deployment of ejb 3 in JBoss Server using Ora

sankarreddy123 do-not-reply at jboss.com
Mon Jul 23 10:57:09 EDT 2007


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



More information about the jboss-user mailing list