comparison src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 267:43ea6c50483e

Correct return value for supportsIntegrityEnhancementFacility() Added explanation why we should return false.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 07 Mar 2019 17:46:34 +0100 (2019-03-07)
parents 177f3d1a791d
children ee4c826e3933
comparison
equal deleted inserted replaced
266:eefa7f625673 267:43ea6c50483e
963 return false; 963 return false;
964 } 964 }
965 965
966 /** 966 /**
967 * Is the SQL Integrity Enhancement Facility supported? 967 * Is the SQL Integrity Enhancement Facility supported?
968 * Our best guess is that this means support for constraints 968 *
969 * The SQL Integrity Enhancement facility offers additional tools for referential integrity,
970 * CHECK constraint clauses, and DEFAULT clauses. Referential integrity allows specification of
971 * primary and foreign keys with the requirement that no foreign key row may be inserted or
972 * updated unless a matching primary key row exists. Check clauses allow specification of
973 * inter-column constraints to be maintained by the database system.
974 * Default clauses provide optional default values for missing data.
975 *
976 * We currently do not supprt CHECK constraints (see bug 3568) nor deferrable FK constraints.
969 * 977 *
970 * @return true if so 978 * @return true if so
971 */ 979 */
972 @Override 980 @Override
973 public boolean supportsIntegrityEnhancementFacility() { 981 public boolean supportsIntegrityEnhancementFacility() {
974 return true; 982 return false;
975 } 983 }
976 984
977 /** 985 /**
978 * Is some form of outer join supported? 986 * Is some form of outer join supported?
979 * 987 *