db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1296811 - in /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl: derby/unique.vm hsqldb/unique.vm mssql/unique.vm oracle/unique.vm
Date Sun, 04 Mar 2012 14:14:31 GMT
Author: tfischer
Date: Sun Mar  4 14:14:30 2012
New Revision: 1296811

URL: http://svn.apache.org/viewvc?rev=1296811&view=rev
Log:
TORQUE-110 always use unique name if creating unique index

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/derby/unique.vm
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/hsqldb/unique.vm
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/mssql/unique.vm
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/oracle/unique.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/derby/unique.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/derby/unique.vm?rev=1296811&r1=1296810&r2=1296811&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/derby/unique.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/derby/unique.vm
Sun Mar  4 14:14:30 2012
@@ -15,5 +15,5 @@
 ## specific language governing permissions and limitations
 ## under the License.
 #if ($uniqueColumnNames != "")
-    UNIQUE($uniqueColumnNames),
+    CONSTRAINT ${name} UNIQUE($uniqueColumnNames),
 #end

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/hsqldb/unique.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/hsqldb/unique.vm?rev=1296811&r1=1296810&r2=1296811&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/hsqldb/unique.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/hsqldb/unique.vm
Sun Mar  4 14:14:30 2012
@@ -15,5 +15,5 @@
 ## specific language governing permissions and limitations
 ## under the License.
 #if ($uniqueColumnNames != "")
-    UNIQUE($uniqueColumnNames),
+    CONSTRAINT ${name} UNIQUE($uniqueColumnNames),
 #end

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/mssql/unique.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/mssql/unique.vm?rev=1296811&r1=1296810&r2=1296811&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/mssql/unique.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/mssql/unique.vm
Sun Mar  4 14:14:30 2012
@@ -15,5 +15,5 @@
 ## specific language governing permissions and limitations
 ## under the License.
 #if ($uniqueColumnNames != "")
-    UNIQUE($uniqueColumnNames),
+    CONSTRAINT ${name} UNIQUE($uniqueColumnNames),
 #end

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/oracle/unique.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/oracle/unique.vm?rev=1296811&r1=1296810&r2=1296811&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/oracle/unique.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/sql/templates/ddl/oracle/unique.vm
Sun Mar  4 14:14:30 2012
@@ -15,5 +15,5 @@
 ## specific language governing permissions and limitations
 ## under the License.
 #if ($uniqueColumnNames != "")
-    UNIQUE($uniqueColumnNames),
+    CONSTRAINT ${name} UNIQUE($uniqueColumnNames),
 #end



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