Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatabaseIO.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatabaseIO.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatabaseIO.java 
(original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatabaseIO.java Tue 
Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.io;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -33,6 +33,9 @@
 

 /**

  * Tests the database reading/writing via the [EMAIL PROTECTED] 
org.apache.ddlutils.io.DatabaseIO} class.

+ * 

+ * @author Thomas Dudziak

+ * @version $Revision: 289996 $

  */

 public class TestDatabaseIO extends TestCase

 {

@@ -934,6 +937,9 @@
             writeModel(model));

     }

 

+    /**

+     * Tests that an exception is generated when an index references an 
undefined column.

+     */

     public void testUndefinedIndexColumn()

     {

         try

@@ -958,6 +964,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when the database element has no 
name attribute.

+     */

     public void testDatabaseWithoutName()

     {

         try

@@ -978,6 +987,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when the table element has no name 
attribute.

+     */

     public void testTableWithoutName()

     {

         try

@@ -998,6 +1010,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when two table elements have the 
same value in their name attributes.

+     */

     public void testTwoTablesWithTheSameName()

     {

         try

@@ -1024,6 +1039,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when the column element has no 
name attribute.

+     */

     public void testColumnWithoutName()

     {

         try

@@ -1043,6 +1061,10 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when two column elements within 
the same table

+     * element have the same value in their name attributes.

+     */

     public void testTwoColumnsWithTheSameName()

     {

         try

@@ -1065,6 +1087,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when the column element has no 
type attribute.

+     */

     public void testColumnWithoutType()

     {

         try

@@ -1084,6 +1109,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when the a unique index references 
an undefined column.

+     */

     public void testUndefinedUniqueColumn()

     {

         try

@@ -1107,6 +1135,9 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when two indices have the same 
value in their name attributes.

+     */

     public void testTwoIndicesWithTheSameName()

     {

         try

@@ -1139,6 +1170,10 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when two unique indices have the

+     * same value in their name attributes.

+     */

     public void testTwoUniqueIndicesWithTheSameName()

     {

         try

@@ -1171,6 +1206,10 @@
         {}

     }

 

+    /**

+     * Tests that an exception is generated when a unique and a normal index

+     * have the same value in their name attributes.

+     */

     public void testUniqueAndNormalIndexWithTheSameName()

     {

         try


Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/package.html
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/package.html (added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/package.html Tue Sep 27 
13:55:42 2005
@@ -0,0 +1,26 @@
+<html>

+<head>

+<!-- 

+ Copyright 1999-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.

+ -->

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="Author" content="Thomas Dudziak">

+</head>

+<body bgcolor="white">

+  <p>

+       This package contains the tests for the reading and writing of schemas 
and data files.

+  </p>

+</body>

+</html>


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/model/TestArrayAccessAtTable.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/model/TestArrayAccessAtTable.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/model/TestArrayAccessAtTable.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/model/TestArrayAccessAtTable.java
 Tue Sep 27 13:55:42 2005
@@ -1,22 +1,44 @@
 package org.apache.ddlutils.model;

 

+/*

+ * Copyright 1999-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.

+ */

+

 import junit.framework.TestCase;

 

 /**

- * Test case for DDLUTILS-6

+ * Test case for DDLUTILS-6.

  * 

  * @author Christoffer Hammarström

+ * @version $Revision: 289996 $

  */

 public class TestArrayAccessAtTable extends TestCase

 {

+    /** The tested table. */

     private Table          _testedTable;

+    /** The first tested column. */

     private Column         _column1;

+    /** The second tested column. */

     private Column         _column2;

+    /** The tested unique index. */

     private UniqueIndex    _uniqueIndex;

+    /** The tested non-unique index. */

     private NonUniqueIndex _nonUniqueIndex;

 

-    /* (non-Javadoc)

-     * @see junit.framework.TestCase#setUp()

+    /**

+     * [EMAIL PROTECTED]

      */

     public void setUp()

     {

@@ -39,6 +61,9 @@
         _testedTable.addIndex(_nonUniqueIndex);

     }

 

+    /**

+     * Tests that the primary key columns are correctly extracted.

+     */

     public void testGetPrimaryKeyColumns()

     {

         Column[] primaryKeyColumns = _testedTable.getPrimaryKeyColumns();

@@ -49,6 +74,9 @@
                    primaryKeyColumns[0]);

     }

 

+    /**

+     * Tests that the columns are correctly extracted.

+     */

     public void testGetColumns()

     {

         Column[] columns = _testedTable.getColumns();

@@ -61,6 +89,9 @@
                    columns[1]);

     }

 

+    /**

+     * Tests that the non-unique indices are correctly extracted.

+     */

     public void testGetNonUniqueIndices()

     {

         Index[] nonUniqueIndices = _testedTable.getNonUniqueIndices();

@@ -71,6 +102,9 @@
                    nonUniqueIndices[0]);

     }

 

+    /**

+     * Tests that the unique indices are correctly extracted.

+     */

     public void testGetUniqueIndices()

     {

         Index[] uniqueIndices = _testedTable.getUniqueIndices();

@@ -80,5 +114,4 @@
         assertSame(_uniqueIndex,

                    uniqueIndices[0]);

     }

-

 }


Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/model/package.html
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/model/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/model/package.html (added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/model/package.html Tue Sep 
27 13:55:42 2005
@@ -0,0 +1,26 @@
+<html>

+<head>

+<!-- 

+ Copyright 1999-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.

+ -->

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="Author" content="Thomas Dudziak">

+</head>

+<body bgcolor="white">

+  <p>

+       This package contains the tests for the model handling.

+  </p>

+</body>

+</html>


Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/package.html
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/package.html (added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/package.html Tue Sep 27 
13:55:42 2005
@@ -0,0 +1,26 @@
+<html>

+<head>

+<!-- 

+ Copyright 1999-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.

+ -->

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="Author" content="Thomas Dudziak">

+</head>

+<body bgcolor="white">

+  <p>

+       This package contains the base and the runner classes for the tests.

+  </p>

+</body>

+</html>


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestAxionPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestAxionPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestAxionPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestAxionPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -20,15 +20,15 @@
 import org.apache.ddlutils.platform.AxionPlatform;

 

 /**

- * Tests the Axion builder.

+ * Tests the Axion platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestAxionPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Cloudscape platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

-  * @version $Revision: 231110 $

-*/

+ * @author Thomas Dudziak

+ * @version $Revision: 231110 $

+ */

 public class TestCloudscapePlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDB2Platform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDB2Platform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDB2Platform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDB2Platform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the DB2 platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestDB2Platform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Derby platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestDerbyPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestFirebirdPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestFirebirdPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestFirebirdPlatform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestFirebirdPlatform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Firebird platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestFirebirdPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestHsqlDbPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestHsqlDbPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestHsqlDbPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestHsqlDbPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -23,14 +23,13 @@
  * Tests the Hsqldb platform.

  * 

  * @author David Carlson

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestHsqlDbPlatform extends TestPlatformBase

 {

-    /*

-     * (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestInterbasePlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestInterbasePlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestInterbasePlatform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestInterbasePlatform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Interbase platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestInterbasePlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Microsoft SQL Server platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestMSSqlPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {

@@ -160,9 +160,11 @@
     {

         assertEqualsIgnoringWhitespaces(

             "SET quoted_identifier on;\n"+

-            "ALTER TABLE \"table3\" DROP CONSTRAINT \"testfk\";\n"+

+            "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'RI' AND name = 
\"testfk\")\n"+

+            "     ALTER TABLE \"table3\" DROP CONSTRAINT \"testfk\";\n"+

             "SET quoted_identifier on;\n"+

-            "ALTER TABLE \"table2\" DROP CONSTRAINT 
\"table2_FK_COL_FK_1_COL_FK_2_table1\";\n"+

+            "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'RI' AND name = 
\"table2_FK_COL_FK_1_COL_FK_2_table1\")\n"+

+            "     ALTER TABLE \"table2\" DROP CONSTRAINT 
\"table2_FK_COL_FK_1_COL_FK_2_table1\";\n"+

             "SET quoted_identifier on;\n"+

             "SET quoted_identifier on;\n"+

             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 
\"table3\")\n"+


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMaxDbPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMaxDbPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMaxDbPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMaxDbPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the MaxDB platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestMaxDbPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMcKoiPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMcKoiPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMcKoiPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMcKoiPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -20,15 +20,15 @@
 import org.apache.ddlutils.platform.MckoiPlatform;

 

 /**

- * Tests the McKoi builder.

+ * Tests the McKoi platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestMcKoiPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMySqlPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMySqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMySqlPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMySqlPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the MySQL platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestMySqlPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle8Platform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle8Platform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle8Platform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle8Platform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -20,15 +20,15 @@
 import org.apache.ddlutils.platform.Oracle8Platform;

 

 /**

- * Tests the Oracle platform.

+ * Tests the Oracle 8 platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestOracle8Platform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestBuilderBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle9Platform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle9Platform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle9Platform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestOracle9Platform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Oracle 9 platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestOracle9Platform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestBuilderBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPlatformUtils.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPlatformUtils.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPlatformUtils.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPlatformUtils.java 
Tue Sep 27 13:55:42 2005
@@ -1,44 +1,64 @@
 package org.apache.ddlutils.platform;

 

+/*

+ * Copyright 1999-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.

+ */

+

 import org.apache.ddlutils.PlatformUtils;

 

 import junit.framework.TestCase;

 

 /**

- * Tests the [EMAIL PROTECTED] 
org.apache.ddlutils.PlatformUtils#determineDatabaseType(String, String)} method.

+ * Tests the [EMAIL PROTECTED] org.apache.ddlutils.PlatformUtils} class.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 279421 $

  */

 public class TestPlatformUtils extends TestCase

 {

-    /** The tested platform utils object */

+    /** The tested platform utils object. */

     private PlatformUtils _platformUtils;

 

-    /* (non-Javadoc)

-     * @see junit.framework.TestCase#setUp()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected void setUp() throws Exception

     {

         _platformUtils = new PlatformUtils();

     }

 

-    /* (non-Javadoc)

-     * @see junit.framework.TestCase#tearDown()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected void tearDown() throws Exception

     {

         _platformUtils = null;

     }

 

-    // TODO: test urls for each database

-

+    /**

+     * Tests the determination of the Axion platform via its JDBC driver.

+     */

     public void testAxionDriver()

     {

         assertEquals(AxionPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("org.axiondb.jdbc.AxionDriver", null));

     }

 

+    /**

+     * Tests the determination of the Axion platform via JDBC connection urls.

+     */

     public void testAxionUrl()

     {

         assertEquals(AxionPlatform.DATABASENAME,

@@ -47,6 +67,9 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:axiondb:testdb:/tmp/testdbdir"));

     }

 

+    /**

+     * Tests the determination of the Db2 platform via its JDBC drivers.

+     */

     public void testDb2Driver()

     {

         assertEquals(Db2Platform.DATABASENAME,

@@ -63,6 +86,9 @@
                      
_platformUtils.determineDatabaseType("com.inet.drda.DRDADriver", null));

     }

 

+    /**

+     * Tests the determination of the Db2 platform via JDBC connection urls.

+     */

     public void testDb2Url()

     {

         assertEquals(Db2Platform.DATABASENAME,

@@ -79,6 +105,9 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:inetdb2://server1:50000"));

     }

 

+    /**

+     * Tests the determination of the Cloudscape platform via JDBC connection 
urls.

+     */

     public void testCloudscapeUrl()

     {

         assertEquals(CloudscapePlatform.DATABASENAME,

@@ -87,6 +116,9 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:cloudscape:net:database"));

     }

 

+    /**

+     * Tests the determination of the Derby platform via its JDBC drivers.

+     */

     public void testDerbyDriver()

     {

         assertEquals(DerbyPlatform.DATABASENAME,

@@ -95,18 +127,27 @@
                      
_platformUtils.determineDatabaseType("org.apache.derby.jdbc.EmbeddedDriver", 
null));

     }

 

+    /**

+     * Tests the determination of the Derby platform via JDBC connection urls.

+     */

     public void testDerbyUrl()

     {

         assertEquals(DerbyPlatform.DATABASENAME,

                      _platformUtils.determineDatabaseType(null, 
"jdbc:derby:sample"));

     }

 

+    /**

+     * Tests the determination of the Firebird platform via its JDBC driver.

+     */

     public void testFirebirdDriver()

     {

         assertEquals(FirebirdPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("org.firebirdsql.jdbc.FBDriver", null));

     }

 

+    /**

+     * Tests the determination of the Firebird platform via JDBC connection 
urls.

+     */

     public void testFirebirdUrl()

     {

         assertEquals(FirebirdPlatform.DATABASENAME,

@@ -119,36 +160,54 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:firebirdsql:embedded:localhost/8080:/path/to/db.fdb"));

     }

 

+    /**

+     * Tests the determination of the HsqlDb platform via its JDBC driver.

+     */

     public void testHsqldbDriver()

     {

         assertEquals(HsqlDbPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("org.hsqldb.jdbcDriver", null));

     }

 

+    /**

+     * Tests the determination of the HsqlDb platform via JDBC connection urls.

+     */

     public void testHsqldbUrl()

     {

         assertEquals(HsqlDbPlatform.DATABASENAME,

                      _platformUtils.determineDatabaseType(null, 
"jdbc:hsqldb:/opt/db/testdb"));

     }

 

+    /**

+     * Tests the determination of the Interbase platform via its JDBC driver.

+     */

     public void testInterbaseDriver()

     {

         assertEquals(InterbasePlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("interbase.interclient.Driver", null));

     }

 

+    /**

+     * Tests the determination of the Interbase platform via JDBC connection 
urls.

+     */

     public void testInterbaseUrl()

     {

         assertEquals(InterbasePlatform.DATABASENAME,

                      _platformUtils.determineDatabaseType(null, 
"jdbc:interbase://localhost/e:/testbed/database/employee.gdb"));

     }

 

+    /**

+     * Tests the determination of the McKoi platform via its JDBC driver.

+     */

     public void testMckoiDriver()

     {

         assertEquals(MckoiPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("com.mckoi.JDBCDriver", null));

     }

 

+    /**

+     * Tests the determination of the McKoi platform via JDBC connection urls.

+     */

     public void testMckoiUrl()

     {

         assertEquals(MckoiPlatform.DATABASENAME,

@@ -157,6 +216,9 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:mckoi://db.myhost.org/"));

     }

 

+    /**

+     * Tests the determination of the Microsoft Sql Server platform via its 
JDBC drivers.

+     */

     public void testMsSqlDriver()

     {

         assertEquals(MSSqlPlatform.DATABASENAME,

@@ -172,6 +234,9 @@
                      
_platformUtils.determineDatabaseType("com.inet.tds.TdsDriver", null));

     }

 

+    /**

+     * Tests the determination of the Microsoft Sql Server platform via JDBC 
connection urls.

+     */

     public void testMsSqlUrl()

     {

         assertEquals(MSSqlPlatform.DATABASENAME,

@@ -212,6 +277,9 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:jtds:sqlserver://localhost:8080/test"));

     }

 

+    /**

+     * Tests the determination of the MySql platform via its JDBC drivers.

+     */

     public void testMySqlDriver()

     {

         assertEquals(MySqlPlatform.DATABASENAME,

@@ -220,12 +288,18 @@
                      
_platformUtils.determineDatabaseType("org.gjt.mm.mysql.Driver", null));

     }

 

+    /**

+     * Tests the determination of the MySql platform via JDBC connection urls.

+     */

     public void testMySqlUrl()

     {

         assertEquals(MySqlPlatform.DATABASENAME,

                      _platformUtils.determineDatabaseType(null, 
"jdbc:mysql://localhost:1234/test"));

     }

 

+    /**

+     * Tests the determination of the Oracle 8 platform via its JDBC drivers.

+     */

     public void testOracleDriver()

     {

         assertEquals(Oracle8Platform.DATABASENAME,

@@ -240,6 +314,9 @@
                      
_platformUtils.determineDatabaseType("com.inet.ora.OraDriver", null));

     }

 

+    /**

+     * Tests the determination of the Oracle 8 platform via JDBC connection 
urls.

+     */

     public void testOracleUrl()

     {

         assertEquals(Oracle8Platform.DATABASENAME,

@@ -258,12 +335,18 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:inetora:www.inetsoftware.de:1521:orcl?traceLevel=2"));

     }

 

+    /**

+     * Tests the determination of the PostgreSql platform via its JDBC driver.

+     */

     public void testPostgreSqlDriver()

     {

         assertEquals(PostgreSqlPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("org.postgresql.Driver", null));

     }

 

+    /**

+     * Tests the determination of the PostgreSql platform via JDBC connection 
urls.

+     */

     public void testPostgreSqlUrl()

     {

         assertEquals(PostgreSqlPlatform.DATABASENAME,

@@ -272,18 +355,27 @@
                      _platformUtils.determineDatabaseType(null, 
"jdbc:postgresql://[::1]:5740/accounting"));

     }

 

+    /**

+     * Tests the determination of the MaxDb platform via its JDBC driver.

+     */

     public void testMaxDbDriver()

     {

         assertEquals(MaxDbPlatform.DATABASENAME,

                      
_platformUtils.determineDatabaseType("com.sap.dbtech.jdbc.DriverSapDB", null));

     }

 

+    /**

+     * Tests the determination of the MaxDb platform via JDBC connection urls.

+     */

     public void testMaxDbUrl()

     {

         assertEquals(MaxDbPlatform.DATABASENAME,

                      _platformUtils.determineDatabaseType(null, 
"jdbc:sapdb://servermachine:9876/TST"));

     }

 

+    /**

+     * Tests the determination of the Sybase platform via its JDBC drivers.

+     */

     public void testSybaseDriver()

     {

         assertEquals(SybasePlatform.DATABASENAME,

@@ -298,6 +390,9 @@
                      
_platformUtils.determineDatabaseType("com.inet.syb.SybDriver", null));

     }

 

+    /**

+     * Tests the determination of the Sybase platform via JDBC connection urls.

+     */

     public void testSybaseUrl()

     {

         assertEquals(SybasePlatform.DATABASENAME,


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPostgresqlPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPostgresqlPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPostgresqlPlatform.java
 (original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestPostgresqlPlatform.java
 Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the PostgreSQL platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestPostgresqlPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSapDbPlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSapDbPlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSapDbPlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSapDbPlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the SapDB platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestSapDbPlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {


Modified: 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSybasePlatform.java
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSybasePlatform.java?rev=292045&r1=292044&r2=292045&view=diff
==============================================================================
--- 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSybasePlatform.java 
(original)
+++ 
db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestSybasePlatform.java 
Tue Sep 27 13:55:42 2005
@@ -1,7 +1,7 @@
 package org.apache.ddlutils.platform;

 

 /*

- * Copyright 1999-2004 The Apache Software Foundation.

+ * Copyright 1999-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.

@@ -22,13 +22,13 @@
 /**

  * Tests the Sybase platform.

  * 

- * @author <a href="mailto:[EMAIL PROTECTED]">Thomas Dudziak</a>

+ * @author Thomas Dudziak

  * @version $Revision: 231110 $

  */

 public class TestSybasePlatform extends TestPlatformBase

 {

-    /* (non-Javadoc)

-     * @see org.apache.ddlutils.builder.TestPlatformBase#getDatabaseName()

+    /**

+     * [EMAIL PROTECTED]

      */

     protected String getDatabaseName()

     {

@@ -119,9 +119,11 @@
     {

         assertEqualsIgnoringWhitespaces(

             "SET quoted_identifier on;\n"+

-            "ALTER TABLE \"table3\" DROP CONSTRAINT \"testfk\";\n"+

+            "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'RI' AND name = 
\"testfk\")\n"+

+            "    ALTER TABLE \"table3\" DROP CONSTRAINT \"testfk\";\n"+

             "SET quoted_identifier on;\n"+

-            "ALTER TABLE \"table2\" DROP CONSTRAINT 
\"table2_FK_COL_F_OL_FK_2_table1\";\n"+

+            "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'RI' AND name = 
\"table2_FK_COL_F_OL_FK_2_table1\")\n"+

+            "    ALTER TABLE \"table2\" DROP CONSTRAINT 
\"table2_FK_COL_F_OL_FK_2_table1\";\n"+

             "SET quoted_identifier on;\n"+

             "SET quoted_identifier on;\n"+

             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 
\"table3\")\n"+


Added: db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/package.html
URL: 
http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/package.html?rev=292045&view=auto
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/package.html (added)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/package.html Tue 
Sep 27 13:55:42 2005
@@ -0,0 +1,26 @@
+<html>

+<head>

+<!-- 

+ Copyright 1999-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.

+ -->

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="Author" content="Thomas Dudziak">

+</head>

+<body bgcolor="white">

+  <p>

+       This package contains platform specific tests.

+  </p>

+</body>

+</html>



Reply via email to