[hg] main-silver: #223735: Problem was with foreign key used on ...

  • From: Martin Kozeny < >
  • To:
  • Subject: [hg] main-silver: #223735: Problem was with foreign key used on ...
  • Date: Tue, 08 Jan 2013 09:58:40 -0800

changeset 43149eaa41dd in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/43149eaa41dd
description:
        #223735: Problem was with foreign key used on customer's zip code. 
Bug was fixed by replacing of setting hard-coded zip code with selected zip 
code from database.

diffstat:

 
apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/eclipselink.xml
 |  1 +
 
apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/toplink.xml
     |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff --git 
a/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/eclipselink.xml
 
b/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/eclipselink.xml
--- 
a/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/eclipselink.xml
+++ 
b/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/eclipselink.xml
@@ -4,6 +4,7 @@
     <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
     <class>demo.Customer</class>
     <class>demo.DiscountCode</class>
+    <class>demo.MicroMarket</class>
     <properties>
       <property name="javax.persistence.jdbc.url" 
value="jdbc:derby://localhost:1527/sample"/>
       <property name="javax.persistence.jdbc.password" value="app"/>
diff --git 
a/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/toplink.xml
 
b/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/toplink.xml
--- 
a/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/toplink.xml
+++ 
b/apisupport.crudsample/crud-sample-application/CustomerDBAccess/src/META-INF/toplink.xml
@@ -4,6 +4,7 @@
     <provider>oracle.toplink.essentials.PersistenceProvider</provider>
     <class>demo.DiscountCode</class>
     <class>demo.Customer</class>
+    <class>demo.MicroMarket</class>
     <properties>
       <property name="toplink.jdbc.user" value="app"/>
       <property name="toplink.jdbc.password" value="app"/>

[hg] main-silver: #223735: Problem was with foreign key used on ...

Martin Kozeny 01/08/2013

<Possible follow-up(s)>

[hg] main-silver: #223735: Problem was with foreign key used on ...

Martin Kozeny 01/08/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 54 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close