You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by se...@apache.org on 2005/09/09 09:39:09 UTC

svn commit: r279725 - in /db/torque/test/trunk/profile/postgresql: ./ Torque.properties project.properties project.xml

Author: seade
Date: Fri Sep  9 00:39:04 2005
New Revision: 279725

URL: http://svn.apache.org/viewcvs?rev=279725&view=rev
Log:
Test profile for PostgreSQL.

Added:
    db/torque/test/trunk/profile/postgresql/
      - copied from r279689, db/torque/test/trunk/profile/mysql/
Modified:
    db/torque/test/trunk/profile/postgresql/Torque.properties
    db/torque/test/trunk/profile/postgresql/project.properties
    db/torque/test/trunk/profile/postgresql/project.xml

Modified: db/torque/test/trunk/profile/postgresql/Torque.properties
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/postgresql/Torque.properties?rev=279725&r1=279689&r2=279725&view=diff
==============================================================================
--- db/torque/test/trunk/profile/postgresql/Torque.properties (original)
+++ db/torque/test/trunk/profile/postgresql/Torque.properties Fri Sep  9 00:39:04 2005
@@ -1,9 +1,9 @@
 torque.database.default = bookstore
-torque.database.bookstore.adapter = mysql
+torque.database.bookstore.adapter = postgresql
 
 #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 = org.postgresql.Driver
+torque.dsfactory.bookstore.connection.url = jdbc:postgresql://localhost:5432/bookstore
+torque.dsfactory.bookstore.connection.user = torque
+torque.dsfactory.bookstore.connection.password = torque

Modified: db/torque/test/trunk/profile/postgresql/project.properties
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/postgresql/project.properties?rev=279725&r1=279689&r2=279725&view=diff
==============================================================================
--- db/torque/test/trunk/profile/postgresql/project.properties (original)
+++ db/torque/test/trunk/profile/postgresql/project.properties Fri Sep  9 00:39:04 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:postgresql://localhost:5432/template1
+torque.database.buildUrl = jdbc:postgresql://localhost:5432/bookstore
 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 = postgresql
+torque.database.driver = org.postgresql.Driver
+torque.database.user = torque
+torque.database.password = torque
 
 #settings for runtime
-torque.database.url = jdbc:mysql://localhost:3306/bookstore
+torque.database.url = jdbc:postgresql://localhost:5432/bookstore
 torque.database.validationQuery = SELECT 1

Modified: db/torque/test/trunk/profile/postgresql/project.xml
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/postgresql/project.xml?rev=279725&r1=279689&r2=279725&view=diff
==============================================================================
--- db/torque/test/trunk/profile/postgresql/project.xml (original)
+++ db/torque/test/trunk/profile/postgresql/project.xml Fri Sep  9 00:39:04 2005
@@ -1,14 +1,16 @@
 <?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-postgresql-test</artifactId> 
+  <name>Torque-postgresql-test</name>
   <dependencies>
     <dependency>
-      <artifactId>mysql-connector-java</artifactId>
-      <groupId>mysql</groupId>
-      <version>3.1.6-bin</version>
-    </dependency> 
+      <groupId>postgresql</groupId>
+      <artifactId>postgresql</artifactId>
+      <version>7.4-jdbc3</version>
+      <jar>pg74.215.jdbc3.jar</jar>
+      <url>http://www.postgresql.org/</url>
+    </dependency>
   </dependencies>
 </project>
 



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