Changeset: 43ea6c50483e for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=43ea6c50483e
Modified Files:
src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
Branch: default
Log Message:
Correct return value for supportsIntegrityEnhancementFacility()
Added explanation why we should return false.
diffs (27 lines):
diff --git a/src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
b/src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
+++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
@@ -965,13 +965,21 @@ public class MonetDatabaseMetaData exten
/**
* Is the SQL Integrity Enhancement Facility supported?
- * Our best guess is that this means support for constraints
+ *
+ * The SQL Integrity Enhancement facility offers additional tools for
referential integrity,
+ * CHECK constraint clauses, and DEFAULT clauses. Referential integrity
allows specification of
+ * primary and foreign keys with the requirement that no foreign key
row may be inserted or
+ * updated unless a matching primary key row exists. Check clauses
allow specification of
+ * inter-column constraints to be maintained by the database system.
+ * Default clauses provide optional default values for missing data.
+ *
+ * We currently do not supprt CHECK constraints (see bug 3568) nor
deferrable FK constraints.
*
* @return true if so
*/
@Override
public boolean supportsIntegrityEnhancementFacility() {
- return true;
+ return false;
}
/**
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list