Changeset: d31b99f06b26 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=d31b99f06b26
Modified Files:
src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
Branch: default
Log Message:
Implemented two new 1.8 methods (JDBC 4.2)
diffs (31 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
@@ -4178,5 +4178,27 @@ public class MonetDatabaseMetaData exten
return true;
}
+ //== 1.8 methods (JDBC 4.2)
+
+ /**
+ * Retrieves the maximum number of bytes this database allows for the
logical size for a LOB.
+ * The default implementation will return 0
+ * @return the maximum number of bytes
+ */
+ @Override
+ public long getMaxLogicalLobSize() {
+ return 0;
+ }
+
+ /**
+ * Retrieves whether this database supports REF CURSOR.
+ * The default implementation will return false
+ * @return true if so, false otherwise
+ */
+ @Override
+ public boolean supportsRefCursors() {
+ return false;
+ }
+
//== end methods interface DatabaseMetaData
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list