db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r279829 - in /db/torque/test/trunk/profile/derby: Torque.properties project.properties project.xml
Date Fri, 09 Sep 2005 17:35:09 GMT
Author: tfischer
Date: Fri Sep  9 10:35:03 2005
New Revision: 279829

URL: http://svn.apache.org/viewcvs?rev=279829&view=rev
Log:
added derby profile

Added:
    db/torque/test/trunk/profile/derby/Torque.properties
      - copied, changed from r279524, db/torque/test/trunk/profile/mysql/Torque.properties
    db/torque/test/trunk/profile/derby/project.properties
      - copied, changed from r279524, db/torque/test/trunk/profile/mysql/project.properties
    db/torque/test/trunk/profile/derby/project.xml
      - copied, changed from r279524, db/torque/test/trunk/profile/mysql/project.xml

Copied: db/torque/test/trunk/profile/derby/Torque.properties (from r279524, db/torque/test/trunk/profile/mysql/Torque.properties)
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/derby/Torque.properties?p2=db/torque/test/trunk/profile/derby/Torque.properties&p1=db/torque/test/trunk/profile/mysql/Torque.properties&r1=279524&r2=279829&rev=279829&view=diff
==============================================================================
--- db/torque/test/trunk/profile/mysql/Torque.properties (original)
+++ db/torque/test/trunk/profile/derby/Torque.properties Fri Sep  9 10:35:03 2005
@@ -1,9 +1,10 @@
 torque.database.default = bookstore
-torque.database.bookstore.adapter = mysql
+torque.database.bookstore.adapter = derby
 
 #Using commons-dbcp
 torque.dsfactory.bookstore.factory = org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-torque.dsfactory.bookstore.connection.driver = org.gjt.mm.mysql.Driver
-torque.dsfactory.bookstore.connection.url = jdbc:mysql://localhost:3306/bookstore
-torque.dsfactory.bookstore.connection.user = root
-torque.dsfactory.bookstore.connection.password = 
+torque.dsfactory.bookstore.connection.driver = com.ibm.db2.jcc.DB2Driver
+torque.dsfactory.bookstore.connection.url = jdbc:derby:net://localhost/test
+torque.dsfactory.bookstore.connection.user = test
+torque.dsfactory.bookstore.connection.password = test
+torque.database.validationQuery = values(1)

Copied: db/torque/test/trunk/profile/derby/project.properties (from r279524, db/torque/test/trunk/profile/mysql/project.properties)
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/derby/project.properties?p2=db/torque/test/trunk/profile/derby/project.properties&p1=db/torque/test/trunk/profile/mysql/project.properties&r1=279524&r2=279829&rev=279829&view=diff
==============================================================================
--- db/torque/test/trunk/profile/mysql/project.properties (original)
+++ db/torque/test/trunk/profile/derby/project.properties Fri Sep  9 10:35:03 2005
@@ -2,16 +2,16 @@
 torque.test.base.idMethod = idbroker
 
 #settings that will go straight through to the generator
-torque.database.createUrl = jdbc:mysql://localhost:3306/mysql
-torque.database.buildUrl = jdbc:mysql://localhost:3306/bookstore
+torque.database.createUrl = jdbc:derby:net://localhost/test
+torque.database.buildUrl = jjdbc:derby:net://localhost/test
 torque.generateBeans = true
 
 #settings for both generator and runtime
-torque.database = mysql
-torque.database.driver = org.gjt.mm.mysql.Driver
-torque.database.user = root
-torque.database.password =
+torque.database = derby
+torque.database.driver = com.ibm.db2.jcc.DB2Driver
+torque.database.user = test
+torque.database.password = test
 
 #settings for runtime
-torque.database.url = jdbc:mysql://localhost:3306/bookstore
-torque.database.validationQuery = SELECT 1
+torque.database.url = jdbc:derby:net://localhost/test
+torque.database.validationQuery = values(1)

Copied: db/torque/test/trunk/profile/derby/project.xml (from r279524, db/torque/test/trunk/profile/mysql/project.xml)
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/derby/project.xml?p2=db/torque/test/trunk/profile/derby/project.xml&p1=db/torque/test/trunk/profile/mysql/project.xml&r1=279524&r2=279829&rev=279829&view=diff
==============================================================================
--- db/torque/test/trunk/profile/mysql/project.xml (original)
+++ db/torque/test/trunk/profile/derby/project.xml Fri Sep  9 10:35:03 2005
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
   <extend>../base/project.xml</extend>
-  <artifactId>torque-mysql-test</artifactId> 
-  <name>Torque-mysql-test</name>
+  <artifactId>torque-derby-test</artifactId> 
+  <name>Torque-derby-test</name>
   <dependencies>
     <dependency>
-      <artifactId>mysql-connector-java</artifactId>
-      <groupId>mysql</groupId>
-      <version>3.1.6-bin</version>
+      <artifactId>db2jcc-licensed</artifactId>
+      <groupId>derby</groupId>
+      <version>10.0.2.1</version>
     </dependency> 
   </dependencies>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message