openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r671585 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
Date Wed, 25 Jun 2008 15:46:44 GMT
Author: mikedd
Date: Wed Jun 25 08:46:44 2008
New Revision: 671585

URL: http://svn.apache.org/viewvc?rev=671585&view=rev
Log:
OPENJPA-642 committing patch provided by Fay Wang

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java?rev=671585&r1=671584&r2=671585&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
Wed Jun 25 08:46:44 2008
@@ -131,6 +131,15 @@
             "TRAN", "TRIGGER", "TRUNCATE", "TSEQUAL", "UNPARTITION", "USE",
             "USER_OPTION", "WAITFOR", "WHILE", "WRITETEXT",
         }));
+
+        // Sybase does not support foreign key delete/update action NULL, DEFAULT,
+        // CASCADE
+        supportsNullDeleteAction = false;
+        supportsDefaultDeleteAction = false;
+        supportsCascadeDeleteAction = false;
+        supportsNullUpdateAction = false;
+        supportsDefaultUpdateAction = false;
+        supportsCascadeUpdateAction = false;
     }
 
     public int getJDBCType(int metaTypeCode, boolean lob) {



Mime
View raw message