roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r916898 - /roller/trunk/weblogger-business/src/main/resources/sql/macros.vm
Date Sat, 27 Feb 2010 03:00:43 GMT
Author: snoopdave
Date: Sat Feb 27 03:00:43 2010
New Revision: 916898

URL: http://svn.apache.org/viewvc?rev=916898&view=rev
Log:
Fixes Automatic table creation fails on HSQLDB 
https://issues.apache.org/jira/browse/ROL-1855


Modified:
    roller/trunk/weblogger-business/src/main/resources/sql/macros.vm

Modified: roller/trunk/weblogger-business/src/main/resources/sql/macros.vm
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-business/src/main/resources/sql/macros.vm?rev=916898&r1=916897&r2=916898&view=diff
==============================================================================
--- roller/trunk/weblogger-business/src/main/resources/sql/macros.vm (original)
+++ roller/trunk/weblogger-business/src/main/resources/sql/macros.vm Sat Feb 27 03:00:43 2010
@@ -75,7 +75,7 @@
 Define non-null column with default value
 **#
 #macro(columnNotNullWithDefault $columnName $columnType $defaultValue)
-#if($db.DBTYPE == "ORACLE")
+#if($db.DBTYPE == "ORACLE" || $db.DBTYPE == "HSQLDB")
    $columnName      $columnType default '$defaultValue' not null
 #else 
    $columnName      $columnType not null default '$defaultValue'



Mime
View raw message