diff src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 264:d31b99f06b26

Implemented two new 1.8 methods (JDBC 4.2)
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 07 Feb 2019 18:51:11 +0100 (2019-02-07)
parents 8fbed4aeff0e
children 177f3d1a791d
line wrap: on
line diff
--- 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
 }