# HG changeset patch
# User Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
# Date 1549561871 -3600
# Node ID d31b99f06b261a991c02dd65348d42dc574b45aa
# Parent  8fbed4aeff0ea2613ec41ad04411396d6bc94f81
Implemented two new 1.8 methods (JDBC 4.2)

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
 }