Author: tfischer
Date: Fri Aug 11 13:52:42 2006
New Revision: 430892
URL: http://svn.apache.org/viewvc?rev=430892&view=rev
Log:
Test profile for MS SQL Server 2000.
Thanks to Greg Monroe for the patch.
Resolves TORQUE-17
Added:
db/torque/test/trunk/profile/mssql/
db/torque/test/trunk/profile/mssql/Torque.properties
db/torque/test/trunk/profile/mssql/project.properties
db/torque/test/trunk/profile/mssql/project.xml
Added: db/torque/test/trunk/profile/mssql/Torque.properties
URL:
http://svn.apache.org/viewvc/db/torque/test/trunk/profile/mssql/Torque.properties?rev=430892&view=auto
==============================================================================
--- db/torque/test/trunk/profile/mssql/Torque.properties (added)
+++ db/torque/test/trunk/profile/mssql/Torque.properties Fri Aug 11 13:52:42
2006
@@ -0,0 +1,31 @@
+# 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 mssql 2000+ test profile
+#
+# $Id: Torque.properties 279964 2005-09-10 07:07:23Z tfischer $
+#
+
+torque.database.default = bookstore
+torque.database.bookstore.adapter = mssql
+
+#Using commons-dbcp
+torque.dsfactory.bookstore.factory =
org.apache.torque.dsfactory.SharedPoolDataSourceFactory
+torque.dsfactory.bookstore.connection.driver = net.sourceforge.jtds.jdbc.Driver
+torque.dsfactory.bookstore.connection.url =
jdbc:jtds:sqlserver://fastnet.dukece.com:1433/bookstore
+torque.dsfactory.bookstore.connection.user = sa
+torque.dsfactory.bookstore.connection.password =
+
+torque.dsfactory.bookstore.pool.validationQuery = SELECT 1
\ No newline at end of file
Added: db/torque/test/trunk/profile/mssql/project.properties
URL:
http://svn.apache.org/viewvc/db/torque/test/trunk/profile/mssql/project.properties?rev=430892&view=auto
==============================================================================
--- db/torque/test/trunk/profile/mssql/project.properties (added)
+++ db/torque/test/trunk/profile/mssql/project.properties Fri Aug 11 13:52:42
2006
@@ -0,0 +1,35 @@
+# 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 mssql 2000+ test profile
+#
+# $Id: project.properties 359291 2005-12-27 21:45:04Z tfischer $
+#
+
+#build settings for replacing tokens in the schema files
+torque.test.base.idMethod = idbroker
+
+#settings for the generator
+torque.generateBeans = true
+
+torque.database = mssql
+torque.database.createUrl = jdbc:jtds:sqlserver://localhost:1433/master
+torque.database.buildUrl = jdbc:jtds:sqlserver://localhost:1433/bookstore
+torque.database.driver = net.sourceforge.jtds.jdbc.Driver
+torque.database.user = sa
+torque.database.password =
+
+#settings for the datadump and jdbc task
+torque.database.url = jdbc:jtds:sqlserver://localhost:1433/bookstore
\ No newline at end of file
Added: db/torque/test/trunk/profile/mssql/project.xml
URL:
http://svn.apache.org/viewvc/db/torque/test/trunk/profile/mssql/project.xml?rev=430892&view=auto
==============================================================================
--- db/torque/test/trunk/profile/mssql/project.xml (added)
+++ db/torque/test/trunk/profile/mssql/project.xml Fri Aug 11 13:52:42 2006
@@ -0,0 +1,36 @@
+<?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 mssql 2000+ test profile
+ $Id: project.xml 359291 2005-12-27 21:45:04Z tfischer $
+
+-->
+
+<project>
+ <extend>../../../runtime/project.xml</extend>
+ <artifactId>torque-mssql-test</artifactId>
+ <name>Torque-mssql-test</name>
+ <dependencies>
+ <dependency>
+ <artifactId>jtds</artifactId>
+ <groupId>net.sourceforge.jtds</groupId>
+ <version>1.1</version>
+ <url>http://jtds.sourceforge.net/</url>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]