db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmon...@apache.org
Subject svn commit: r610421 - in /db/torque/test/trunk/profile/derby: Torque.properties project.properties project.xml
Date Wed, 09 Jan 2008 15:41:41 GMT
Author: gmonroe
Date: Wed Jan  9 07:40:53 2008
New Revision: 610421

URL: http://svn.apache.org/viewvc?rev=610421&view=rev
Log:
Profile for testing with Derby's Network Server - includes a derby.properties file and some
notes.

Modified:
    db/torque/test/trunk/profile/derby/Torque.properties
    db/torque/test/trunk/profile/derby/project.properties
    db/torque/test/trunk/profile/derby/project.xml

Modified: db/torque/test/trunk/profile/derby/Torque.properties
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/profile/derby/Torque.properties?rev=610421&r1=610420&r2=610421&view=diff
==============================================================================
--- db/torque/test/trunk/profile/derby/Torque.properties (original)
+++ db/torque/test/trunk/profile/derby/Torque.properties Wed Jan  9 07:40:53 2008
@@ -1,34 +1,36 @@
-# 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.
-
-#
-# Runtime settings for the derby test profile
-#
-# $Id$
-#
-
-torque.database.default = bookstore
-torque.database.bookstore.adapter = derby
-
-# Using commons-dbcp
-torque.dsfactory.bookstore.factory = org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-torque.dsfactory.bookstore.connection.driver = org.apache.derby.jdbc.EmbeddedDriver
-torque.dsfactory.bookstore.connection.url = jdbc:derby:bookstore
-torque.dsfactory.bookstore.connection.user = test
-torque.dsfactory.bookstore.connection.password = test
-
-torque.dsfactory.bookstore.pool.validationQuery = values(1)
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+
+#
+# Runtime settings for the derby test profile
+#
+# $Id$
+#
+
+torque.database.default = bookstore
+torque.database.bookstore.adapter = derby
+
+#Using commons-dbcp
+torque.dsfactory.bookstore.factory = org.apache.torque.dsfactory.SharedPoolDataSourceFactory
+
+#torque.dsfactory.bookstore.connection.driver = org.apache.derby.jdbc.EmbeddedDriver
+#torque.dsfactory.bookstore.connection.url = jdbc:derby:d:/temp/derby2/bookstore
+
+torque.dsfactory.bookstore.connection.driver = org.apache.derby.jdbc.ClientDriver
+torque.dsfactory.bookstore.connection.url = jdbc:derby://localhost:1527/bookstore
+
+torque.dsfactory.bookstore.connection.user = test
+torque.dsfactory.bookstore.connection.password = test
+
+torque.dsfactory.bookstore.pool.validationQuery = values(1)
\ No newline at end of file

Modified: db/torque/test/trunk/profile/derby/project.properties
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/profile/derby/project.properties?rev=610421&r1=610420&r2=610421&view=diff
==============================================================================
--- db/torque/test/trunk/profile/derby/project.properties (original)
+++ db/torque/test/trunk/profile/derby/project.properties Wed Jan  9 07:40:53 2008
@@ -1,38 +1,49 @@
-# 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.
-
-#
-# Generator and build settings for the derby test profile
-#
-# $Id$
-#
-
-# build settings for replacing tokens in the schema files
-torque.test.base.idMethod = native
-
-# settings for the generator
-torque.generateBeans = true
-
-torque.database = derby
-torque.database.createUrl = jdbc:derby:bookstore;create=true
-torque.database.buildUrl = jdbc:derby:bookstore
-torque.database.driver = org.apache.derby.jdbc.EmbeddedDriver
-torque.database.user = test
-torque.database.password = test
-
-# settings for the datadump and jdbc task
-torque.database.url = jdbc:derby:bookstore
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+
+#
+# Generator and build settings for the derby test profile
+#
+# $Id$
+#
+
+# Test Case 1
+   torque.test.base.idMethod = idbroker
+   torque.generateBeans = true;
+   torque.useMangers = false;
+   torque.objectIsCaching = false;
+
+# Test Case 2
+#   torque.test.base.idMethod = native
+#   torque.generateBeans = false;
+#   torque.useMangers = true;
+#   torque.objectIsCaching = true;
+
+# torque.test.haltonfailure determines the following:
+# yes = Stop on first junit test failure (default if not set)
+# no = continue to run tests after failure
+torque.test.haltonfailure = yes
+
+torque.database = derby
+
+torque.database.createUrl = jdbc:derby://localhost:1527/bookstore;create=true;
+torque.database.buildUrl = jdbc:derby://localhost:1527/bookstore
+torque.database.driver = org.apache.derby.jdbc.ClientDriver
+torque.database.user = test
+torque.database.password = test
+
+#settings for the datadump and jdbc task
+torque.database.url = jdbc:derby://localhost:1527/bookstore
+
+torque.database.host = 127.0.0.1
\ No newline at end of file

Modified: db/torque/test/trunk/profile/derby/project.xml
URL: http://svn.apache.org/viewvc/db/torque/test/trunk/profile/derby/project.xml?rev=610421&r1=610420&r2=610421&view=diff
==============================================================================
--- db/torque/test/trunk/profile/derby/project.xml (original)
+++ db/torque/test/trunk/profile/derby/project.xml Wed Jan  9 07:40:53 2008
@@ -1,32 +1,40 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-
-<project>
-  <extend>../../../runtime/project.xml</extend>
-  <artifactId>torque-derby-test</artifactId> 
-  <name>Torque-derby-test</name>
-  <dependencies>
-    <dependency>
-      <artifactId>derby</artifactId>
-      <groupId>derby</groupId>
-      <version>10.1.1.0</version>
-    </dependency> 
-  </dependencies>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2001-2005 The Apache Software Foundation.
+
+ Licensed 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.
+
+ ===========================================================================
+
+ project descriptor for the derby test profile
+ $Id$
+
+-->
+
+<project>
+  <extend>../../../runtime/project.xml</extend>
+  <artifactId>torque-derby-test</artifactId>
+  <name>Torque-derby-test</name>
+  <dependencies>
+    <dependency>
+      <artifactId>derby</artifactId>
+      <groupId>org.apache.derby</groupId>
+      <version>10.3.2.1</version>
+    </dependency>
+    <dependency>
+      <artifactId>derbyclient</artifactId>
+      <groupId>org.apache.derby</groupId>
+      <version>10.3.2.1</version>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file



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