This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 213747
Collapse All | Expand All

(-)a/websvc.rest.samples/CustomerDBSpring/src/conf/persistence.xml (-5 / +5 lines)
Lines 42-54 Link Here
42
 Version 2 license, then the option applies only if the new code is
42
 Version 2 license, then the option applies only if the new code is
43
 made subject to such option by the copyright holder.
43
 made subject to such option by the copyright holder.
44
-->
44
-->
45
<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">
45
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
46
  <persistence-unit name="CustomerDBSpringPU" transaction-type="JTA">
46
  <persistence-unit name="CustomerDBSpringPU" transaction-type="JTA">
47
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
47
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
48
    <jta-data-source>jdbc/sample</jta-data-source>
48
    <jta-data-source>jdbc/sample</jta-data-source>
49
    <class>customerdb.Customer</class>
49
    <class>customerdb.Customer</class>
50
<class>customerdb.DiscountCode</class>
50
    <class>customerdb.DiscountCode</class>
51
<exclude-unlisted-classes>false</exclude-unlisted-classes>
51
    <exclude-unlisted-classes>false</exclude-unlisted-classes>
52
<properties/>
52
    <properties/>
53
  </persistence-unit>
53
  </persistence-unit>
54
</persistence>
54
</persistence>

Return to bug 213747