db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1405656 - in /db/torque/torque4/trunk/torque-test: ./ src/main/schema/ src/test/java/org/apache/torque/generated/peer/ src/test/profile/derby/ src/test/profile/derbyEmbedded/ src/test/profile/henning/ src/test/profile/hsqldb/ src/test/prof...
Date Sun, 04 Nov 2012 22:24:23 GMT
Author: tfischer
Date: Sun Nov  4 22:24:22 2012
New Revision: 1405656

URL: http://svn.apache.org/viewvc?rev=1405656&view=rev
Log:
TORQUE-241: add test for qualified name handling

Added:
    db/torque/torque4/trunk/torque-test/src/main/schema/qualified-table-name-schema.xml
    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/QualifiedTableNameTest.java
Modified:
    db/torque/torque4/trunk/torque-test/pom.xml
    db/torque/torque4/trunk/torque-test/profiles.xml
    db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/derbyEmbedded/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/henning/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/hsqldb/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/jmcnally/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/mssql/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/mysql/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/postgresql/Torque.properties
    db/torque/torque4/trunk/torque-test/src/test/profile/tv/Torque.properties

Modified: db/torque/torque4/trunk/torque-test/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/pom.xml?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/pom.xml (original)
+++ db/torque/torque4/trunk/torque-test/pom.xml Sun Nov  4 22:24:22 2012
@@ -124,7 +124,8 @@
                   <fileset dir="src/main/schema" />
                   <filterset>
                     <filter token="DATABASE_DEFAULT" value="bookstore" />
-                    <filter token="DATABASE_ID_METHOD" value="${torque.test.idmethod}"
/> 
+                    <filter token="DATABASE_ID_METHOD" value="${torque.test.idmethod}"
/>
+                    <filter token="DATABASE_SCHEMA" value="${torque.test.databaseSchema}"
/>
                   </filterset>
                 </copy>
                 <delete dir="target/torque/test/sql" />
@@ -476,7 +477,8 @@
     <profile>
       <!-- 
         derby profile with default settings. 
-        To be run from within the test project using "mvn -PderbyEmbedded test".
+        To be run from the root directory of the test project using 
+        "mvn -PderbyEmbedded test".
         -->
       <id>derbyEmbedded</id>
       <activation>
@@ -488,6 +490,7 @@
         <torque.test.driver.artifactId>derby</torque.test.driver.artifactId>
         <torque.test.driver.groupId>org.apache.derby</torque.test.driver.groupId>
         <torque.test.driver.version>10.8.2.2</torque.test.driver.version>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
         <torque.driver>org.apache.derby.jdbc.EmbeddedDriver</torque.driver>
         <torque.targetDatabase>derby</torque.targetDatabase>
         <torque.database.url>jdbc:derby:target/bookstore;create=true</torque.database.url>
@@ -514,6 +517,7 @@
         <torque.test.driver.artifactId>hsqldb</torque.test.driver.artifactId>
         <torque.test.driver.groupId>org.hsqldb</torque.test.driver.groupId>
         <torque.test.driver.version>2.2.8</torque.test.driver.version>
+        <torque.test.databaseSchema>torque_schema</torque.test.databaseSchema>
         <torque.driver>org.hsqldb.jdbcDriver</torque.driver>
         <torque.targetDatabase>hsqldb</torque.targetDatabase>
         <torque.database.url>jdbc:hsqldb:torque-test/target/sqltest;shutdown=true</torque.database.url>

Modified: db/torque/torque4/trunk/torque-test/profiles.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/profiles.xml?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/profiles.xml (original)
+++ db/torque/torque4/trunk/torque-test/profiles.xml Sun Nov  4 22:24:22 2012
@@ -30,6 +30,7 @@
         <torque.test.driver.artifactId>derbyclient</torque.test.driver.artifactId>
         <torque.test.driver.groupId>org.apache.derby</torque.test.driver.groupId>
         <torque.test.driver.version>10.5.3.0_1</torque.test.driver.version>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
         <torque.driver>org.apache.derby.jdbc.ClientDriver</torque.driver>
         <torque.targetDatabase>derby</torque.targetDatabase>
         <torque.database.url>jdbc:derby://localhost:1527/bookstore;create=true</torque.database.url>
@@ -51,6 +52,7 @@
         <torque.test.driver.artifactId>mysql-connector-java</torque.test.driver.artifactId>
         <torque.test.driver.groupId>mysql</torque.test.driver.groupId>
         <torque.test.driver.version>5.0.4</torque.test.driver.version>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
         <torque.driver>org.gjt.mm.mysql.Driver</torque.driver>
         <torque.targetDatabase>mysql</torque.targetDatabase>
         <torque.database.url>jdbc:mysql://localhost:3306/bookstore</torque.database.url>
@@ -72,6 +74,7 @@
         <torque.test.driver.artifactId>jtds</torque.test.driver.artifactId>
         <torque.test.driver.groupId>net.sourceforge.jtds</torque.test.driver.groupId>
         <torque.test.driver.version>1.2.4</torque.test.driver.version>
+        <torque.test.databaseSchema>torque_schema</torque.test.databaseSchema>
         <torque.driver>net.sourceforge.jtds.jdbc.Driver</torque.driver>
         <torque.targetDatabase>mssql</torque.targetDatabase>
         <torque.database.url>jdbc:jtds:sqlserver://localhost:1433/torque</torque.database.url>
@@ -93,6 +96,7 @@
         <torque.test.driver.artifactId>ojdbc14</torque.test.driver.artifactId>
         <torque.test.driver.groupId>com.oracle</torque.test.driver.groupId>
         <torque.test.driver.version>10.2.0.3.0</torque.test.driver.version>
+        <torque.test.databaseSchema>torque</torque.test.databaseSchema>
         <torque.driver>oracle.jdbc.driver.OracleDriver</torque.driver>
         <torque.targetDatabase>oracle</torque.targetDatabase>
         <torque.database.url>jdbc:oracle:thin:@localhost:1521:XE</torque.database.url>
@@ -113,7 +117,8 @@
         <torque.test.idmethod>idbroker</torque.test.idmethod>
         <torque.test.driver.artifactId>postgresql</torque.test.driver.artifactId>
         <torque.test.driver.groupId>postgresql</torque.test.driver.groupId>
-        <torque.test.driver.version>9.1-901.jdbc4</torque.test.driver.version>
+        <torque.test.driver.version>9.1-901.jdbc4</torque.test.driver.version>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
         <torque.driver>org.postgresql.Driver</torque.driver>
         <torque.targetDatabase>postgresql</torque.targetDatabase>
         <torque.database.url>jdbc:postgresql://localhost:5432/bookstore</torque.database.url>
@@ -135,6 +140,7 @@
         <torque.test.driver.artifactId>mysql-connector-java</torque.test.driver.artifactId>
         <torque.test.driver.groupId>mysql</torque.test.driver.groupId>
         <torque.test.driver.version>3.1.12</torque.test.driver.version>
+        <torque.test.databaseSchema>bookstore</torque.test.databaseSchema>
         <torque.driver>org.gjt.mm.mysql.Driver</torque.driver>
         <torque.targetDatabase>mysql</torque.targetDatabase>
         <torque.database.url>jdbc:mysql://gatekeeper.home.lan:3306/bookstore</torque.database.url>

Added: db/torque/torque4/trunk/torque-test/src/main/schema/qualified-table-name-schema.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/main/schema/qualified-table-name-schema.xml?rev=1405656&view=auto
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/main/schema/qualified-table-name-schema.xml (added)
+++ db/torque/torque4/trunk/torque-test/src/main/schema/qualified-table-name-schema.xml Sun
Nov  4 22:24:22 2012
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!-- This schema contains tables to test index creation. -->
+
+<database name="@DATABASE_DEFAULT@" 
+    defaultIdMethod="@DATABASE_ID_METHOD@"
+    package="org.apache.torque.test"
+    xmlns="http://db.apache.org/torque/4.0/templates/database"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://db.apache.org/torque/4.0/templates/database 
+        http://db.apache.org/torque/4.0/templates/database.xsd">
+
+  <table name="@DATABASE_SCHEMA@.qualified_name" >
+    <column name="id" type="INTEGER" primaryKey="true"/>
+    <column name="payload" type="VARCHAR" size="100"/>
+  </table>
+</database>
+
+  
\ No newline at end of file

Added: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/QualifiedTableNameTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/QualifiedTableNameTest.java?rev=1405656&view=auto
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/QualifiedTableNameTest.java
(added)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/generated/peer/QualifiedTableNameTest.java
Sun Nov  4 22:24:22 2012
@@ -0,0 +1,173 @@
+package org.apache.torque.generated.peer;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.util.List;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.torque.BaseDatabaseTestCase;
+import org.apache.torque.Torque;
+import org.apache.torque.criteria.Criteria;
+import org.apache.torque.test.dbobject.QualifiedName;
+import org.apache.torque.test.peer.QualifiedNamePeer;
+
+/**
+ * Tests that accessing the database also works if the table name is qualified
+ * by a schema name.
+ *
+ * @version $Id: DeleteTest.java 1395238 2012-10-07 07:30:25Z tfischer $
+ */
+public class QualifiedTableNameTest extends BaseDatabaseTestCase
+{
+    private static Log log = LogFactory.getLog(QualifiedTableNameTest.class);
+
+    QualifiedName qualifiedName1;
+    QualifiedName qualifiedName2;
+    QualifiedName qualifiedName3;
+
+    @Override
+    public void setUp() throws Exception
+    {
+        super.setUp();
+        QualifiedNamePeer.doDelete(new Criteria());
+        qualifiedName1 = new QualifiedName();
+        qualifiedName1.setPayload("qualifiedName1");
+        qualifiedName1.save();
+        qualifiedName2 = new QualifiedName();
+        qualifiedName2.setPayload("qualifiedName2");
+        qualifiedName2.save();
+        qualifiedName3 = new QualifiedName();
+        qualifiedName3.setPayload("qualifiedName3");
+        qualifiedName3.save();
+    }
+
+    /**
+     * Tests that reading an entry from a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testRead() throws Exception
+    {
+        // prepare
+        Criteria criteria = new Criteria();
+        criteria.where(QualifiedNamePeer.ID, qualifiedName1.getId());
+        criteria.and(QualifiedNamePeer.PAYLOAD, qualifiedName1.getPayload());
+
+        // execute
+        List<QualifiedName> qualifiedNames
+                = QualifiedNamePeer.doSelect(criteria);
+
+        // verify
+        assertEquals(1, qualifiedNames.size());
+        assertEquals(qualifiedName1.getId(), qualifiedNames.get(0).getId());
+    }
+
+    /**
+     * Tests that sorting entries from a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testReadWithSort() throws Exception
+    {
+        // prepare
+        Criteria criteria = new Criteria();
+        criteria.addDescendingOrderByColumn(QualifiedNamePeer.ID);
+
+        // execute
+        List<QualifiedName> qualifiedNames
+                = QualifiedNamePeer.doSelect(criteria);
+
+        // verify
+        assertEquals(3, qualifiedNames.size());
+        assertEquals(qualifiedName3.getId(), qualifiedNames.get(0).getId());
+        assertEquals(qualifiedName2.getId(), qualifiedNames.get(1).getId());
+        assertEquals(qualifiedName1.getId(), qualifiedNames.get(2).getId());
+    }
+
+    /**
+     * Tests that updating an entry in a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testUpdate() throws Exception
+    {
+        // prepare
+        qualifiedName2.setPayload("qualifiedName2a");
+
+        // execute
+        qualifiedName2.save();
+
+        // verify
+        Criteria criteria = new Criteria();
+        criteria.where(QualifiedNamePeer.ID, qualifiedName2.getId());
+        List<QualifiedName> qualifiedNames
+                = QualifiedNamePeer.doSelect(criteria);
+        assertEquals(1, qualifiedNames.size());
+        assertEquals(qualifiedName2.getId(), qualifiedNames.get(0).getId());
+        assertEquals(
+                qualifiedName2.getPayload(),
+                qualifiedNames.get(0).getPayload());
+    }
+
+    /**
+     * Tests that deleting an entry from a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testDelete() throws Exception
+    {
+        // execute
+        QualifiedNamePeer.doDelete(qualifiedName2);
+
+        // verify
+        Criteria criteria = new Criteria();
+        List<QualifiedName> qualifiedNames
+                = QualifiedNamePeer.doSelect(criteria);
+        assertEquals(2, qualifiedNames.size());
+        assertFalse(qualifiedNames.contains(qualifiedName2));
+    }
+
+    /**
+     * Tests that deleting an entry from a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testTableNameInPeer() throws Exception
+    {
+        // verify
+        assertEquals("qualified_name", QualifiedNamePeer.TABLE.getName());
+        assertEquals("qualified_name", QualifiedNamePeer.TABLE_NAME);
+    }
+    /**
+
+     * Tests that deleting an entry from a table with qualified table name works.
+     *
+     * @throws Exception if an error occurs
+     */
+    public void testSchemaNameInPeer() throws Exception
+    {
+        // prepare
+        String schemaName
+            = Torque.getConfiguration().getString("qualifiedNameTest.schema");
+        // verify
+        assertEquals(schemaName, QualifiedNamePeer.TABLE.getSchemaName());
+    }
+}

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/derby/Torque.properties Sun Nov 
4 22:24:22 2012
@@ -34,3 +34,6 @@ torque.dsfactory.bookstore.pool.validati
 
 # use Caching. This property is only used if managers are used by generators.
 torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/derbyEmbedded/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/derbyEmbedded/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/derbyEmbedded/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/derbyEmbedded/Torque.properties Sun
Nov  4 22:24:22 2012
@@ -32,3 +32,6 @@ torque.dsfactory.bookstore.pool.defaultA
 
 # use Caching. This property is only used if managers are used by generators.
 torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/henning/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/henning/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/henning/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/henning/Torque.properties Sun Nov
 4 22:24:22 2012
@@ -32,3 +32,6 @@ torque.dsfactory.bookstore.connection.us
 torque.dsfactory.bookstore.connection.password = 
 
 torque.dsfactory.bookstore.pool.validationQuery = SELECT 1
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/hsqldb/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/hsqldb/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/hsqldb/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/hsqldb/Torque.properties Sun Nov
 4 22:24:22 2012
@@ -35,3 +35,6 @@ torque.dsfactory.bookstore.pool.defaultA
 
 # use Caching. This property is only used if managers are used by generators.
 torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = torque_schema

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/jmcnally/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/jmcnally/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/jmcnally/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/jmcnally/Torque.properties Sun Nov
 4 22:24:22 2012
@@ -31,3 +31,6 @@ torque.dsfactory.bookstore.connection.us
 torque.dsfactory.bookstore.connection.password = 
 
 torque.dsfactory.bookstore.pool.validationQuery = SELECT 1
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/mssql/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/mssql/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/mssql/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/mssql/Torque.properties Sun Nov 
4 22:24:22 2012
@@ -32,3 +32,7 @@ torque.dsfactory.bookstore.connection.us
 torque.dsfactory.bookstore.connection.password =
 
 torque.dsfactory.bookstore.pool.validationQuery = SELECT 1
+torque.dsfactory.bookstore.pool.defaultAutoCommit = false
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = torque_schema

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/mysql/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/mysql/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/mysql/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/mysql/Torque.properties Sun Nov 
4 22:24:22 2012
@@ -32,6 +32,10 @@ torque.dsfactory.bookstore.connection.us
 torque.dsfactory.bookstore.connection.password = 
 
 torque.dsfactory.bookstore.pool.validationQuery = SELECT 1
+torque.dsfactory.bookstore.pool.defaultAutoCommit = false
 
 # use Caching. This property is only used if managers are used by generators.
-torque.manager.useCache = true
\ No newline at end of file
+torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties Sun Nov
 4 22:24:22 2012
@@ -36,4 +36,7 @@ torque.dsfactory.bookstore.pool.maxWait 
 torque.dsfactory.bookstore.pool.defaultAutoCommit = false
 
 # use Caching. This property is only used if managers are used by generators.
-torque.manager.useCache = true
\ No newline at end of file
+torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = torque

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/postgresql/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/postgresql/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/postgresql/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/postgresql/Torque.properties Sun
Nov  4 22:24:22 2012
@@ -34,4 +34,7 @@ torque.dsfactory.bookstore.pool.validati
 torque.dsfactory.bookstore.pool.defaultAutoCommit = false
 
 # use Caching. This property is only used if managers are used by generators.
-torque.manager.useCache = true
\ No newline at end of file
+torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore

Modified: db/torque/torque4/trunk/torque-test/src/test/profile/tv/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/tv/Torque.properties?rev=1405656&r1=1405655&r2=1405656&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/profile/tv/Torque.properties (original)
+++ db/torque/torque4/trunk/torque-test/src/test/profile/tv/Torque.properties Sun Nov  4 22:24:22
2012
@@ -45,3 +45,6 @@ torque.dsfactory.bookstore.pool.validati
 # And also whether the MethodResultCache will really cache results.
 
 torque.manager.useCache = true
+
+#Test configuration properties
+torque.qualifiedNameTest.schema = bookstore



---------------------------------------------------------------------
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