Source code Changes To

src / training / trunk / Lab03-JPA / src / main / resources / META-INF / persistence.xml

From revision 495 to 496:

--- persistence.xml	(revision 495)
+++ persistence.xml	(revision 496)
@@ -8,13 +8,13 @@
         <class>org.beginningee6.training.Book</class>
         <properties>
             <!-- Embedded mode -->
-            <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
-            <property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:lab03DB;create=true"/>
+            <!--<property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>-->
+            <!--<property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:lab03DB;create=true"/>-->
             <!-- Client Server mode -->
-            <!--<property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>-->
-            <!--<property name="javax.persistence.jdbc.url" value="jdbc:derby://localhost:1527/lab03DB;create=true"/>-->
-            <!--<property name="javax.persistence.jdbc.user" value="APP"/>-->
-            <!--<property name="javax.persistence.jdbc.password" value="APP"/>-->
+            <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
+            <property name="javax.persistence.jdbc.url" value="jdbc:derby://localhost:1527/lab03DB;create=true"/>
+            <property name="javax.persistence.jdbc.user" value="APP"/>
+            <property name="javax.persistence.jdbc.password" value="APP"/>
 
             <property name="eclipselink.logging.level" value="INFO"/>
             <property name="eclipselink.target-database" value="DERBY"/>
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2014, Oracle Corporation and/or its affiliates
(revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close