diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-23 21:25:31 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-23 21:25:31 +0000 |
commit | 8192f9af3da0da5fad5f4db1550913527de00837 (patch) | |
tree | e8ee6fe0a004d5f82e6d52f9a5f2f13263e5572e /java/sca/samples/customer-dojo/src/main | |
parent | f70779f22413d65ac296f05b57704c2e97a3fb34 (diff) |
Generating sql database on a different folder to avoid conflicting errors during eclipse project file generation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@698358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/customer-dojo/src/main')
-rw-r--r-- | java/sca/samples/customer-dojo/src/main/java/launch/Launch.java | 3 | ||||
-rw-r--r-- | java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java b/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java index d7f88b8dd4..a51ab605bc 100644 --- a/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java +++ b/java/sca/samples/customer-dojo/src/main/java/launch/Launch.java @@ -25,7 +25,8 @@ public class Launch { public static void main(String[] args) throws Exception { System.out.println("Starting ..."); SCADomain scaDomain = SCADomain.newInstance("customer.composite"); - System.out.println("store.composite ready for big business !!!"); + System.out.println("customer.composite ready for big business !!!"); + System.out.println("url : http://localhost:8080/customer.html"); System.in.read(); System.out.println("Stopping ..."); scaDomain.close(); diff --git a/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml b/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml index 7073c8daf7..5add897279 100644 --- a/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml +++ b/java/sca/samples/customer-dojo/src/main/resources/META-INF/persistence.xml @@ -29,7 +29,7 @@ <properties> <property name="openjpa.ConnectionDriverName" value="org.apache.derby.jdbc.EmbeddedDriver"/> - <property name="openjpa.ConnectionURL" value="jdbc:derby:target/classes/customer"/> + <property name="openjpa.ConnectionURL" value="jdbc:derby:target/classes/customer-db"/> <property name="openjpa.ConnectionUserName" value=""/> <property name="openjpa.ConnectionPassword" value=""/> |