Fixed jdbc to correctly report that constraints are supported
authorBarry Lind
Wed, 17 Sep 2003 06:42:47 +0000 (06:42 +0000)
committerBarry Lind
Wed, 17 Sep 2003 06:42:47 +0000 (06:42 +0000)
 Modified Files:
  jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java

src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java

index 93b3938db9ad822eae603e67a39693b95cc9e5cb..7dbcad2e4d55f0333b5808ab985e2a6235521570 100644 (file)
@@ -858,7 +858,7 @@ public abstract class AbstractJdbc1DatabaseMetaData
 
    /*
     * Is the SQL Integrity Enhancement Facility supported?
-    * I haven't seen this mentioned anywhere, so I guess not
+    * Our best guess is that this means support for constraints
     *
     * @return true if so
     * @exception SQLException if a database access error occurs
@@ -866,8 +866,8 @@ public abstract class AbstractJdbc1DatabaseMetaData
    public boolean supportsIntegrityEnhancementFacility() throws SQLException
    {
        if (Driver.logDebug)
-           Driver.debug("supportsIntegrityEnhancementFacility false ");
-       return false;
+           Driver.debug("supportsIntegrityEnhancementFacility true ");
+       return true;
    }
 
    /*