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 tf...@apache.org on 2005/09/09 19:37:44 UTC

svn commit: r279831 - in /db/torque/test/trunk/profile/henning: Torque.properties project.properties

Author: tfischer
Date: Fri Sep  9 10:37:39 2005
New Revision: 279831

URL: http://svn.apache.org/viewcvs?rev=279831&view=rev
Log:
Copied the setting of Henning's profile
Henning, I am afraid the postgresql driver needs to be in the maven repository. Please check the version. 
Also, I have taken over all the generator settings from your old profile, even if they are the default settings. Hope that is ok.

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

Copied: db/torque/test/trunk/profile/henning/Torque.properties (from r279524, db/torque/test/trunk/profile/mysql/Torque.properties)
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/henning/Torque.properties?p2=db/torque/test/trunk/profile/henning/Torque.properties&p1=db/torque/test/trunk/profile/mysql/Torque.properties&r1=279524&r2=279831&rev=279831&view=diff
==============================================================================
--- db/torque/test/trunk/profile/mysql/Torque.properties (original)
+++ db/torque/test/trunk/profile/henning/Torque.properties Fri Sep  9 10:37:39 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.driver = org.postgresql.Driver
+torque.dsfactory.bookstore.connection.url = jdbc:postgresql://127.0.0.1:5432/bookstore
+torque.dsfactory.bookstore.connection.user = postgres
 torque.dsfactory.bookstore.connection.password = 

Copied: db/torque/test/trunk/profile/henning/project.properties (from r279524, db/torque/test/trunk/profile/mysql/project.properties)
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/profile/henning/project.properties?p2=db/torque/test/trunk/profile/henning/project.properties&p1=db/torque/test/trunk/profile/mysql/project.properties&r1=279524&r2=279831&rev=279831&view=diff
==============================================================================
--- db/torque/test/trunk/profile/mysql/project.properties (original)
+++ db/torque/test/trunk/profile/henning/project.properties Fri Sep  9 10:37:39 2005
@@ -2,16 +2,29 @@
 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.generateBeans = true
+torque.database.createUrl = jdbc:postgresql://127.0.0.1:5432/template1
+torque.database.buildUrl = jdbc:postgresql://127.0.0.1:5432/bookstore
+torque.basePrefix=Base
+torque.addSaveMethod=true
+torque.addGetByNameMethod=true
+torque.complexObjectModel=true
+torque.addTimeStamp=true
+torque.addIntakeRetrievable=false
+torque.useManagers=true
+torque.generateBeans=true
+torque.silentDbFetch=true
 
 #settings for both generator and runtime
-torque.database = mysql
-torque.database.driver = org.gjt.mm.mysql.Driver
-torque.database.user = root
+torque.database = postgresql
+torque.database.driver = org.postgresql.Driver
+torque.database.user = postgres
 torque.database.password =
 
 #settings for runtime
-torque.database.url = jdbc:mysql://localhost:3306/bookstore
+torque.database.url = jdbc:postgresql://127.0.0.1:5432/bookstore
 torque.database.validationQuery = SELECT 1
+
+# Tells JDBC task that javaName attribute for the tables and columns
+# should be made same as SQL name.
+torque.sameJavaName=false
+



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