Mercurial > hg > monetdb-java
diff src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 376:ffdc7b0e102d
Updated JDBC driver to comply with JDBC 4.2 interface now we compile for Java 8. This includes:
- adding 8 methods to MonetCallableStatement
- adding 2 methods to MonetDatabaseMetaData
- adding 3 methods to MonetPreparedStatement
- adding 4 methods to MonetResultSet
- adding 8 methods to MonetStatement
Some methods needs some more work, for instance getLargeUpdateCount(). This will be done in a separate checkin.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 23 Sep 2020 18:55:33 +0200 (2020-09-23) |
parents | a229ac4e275c |
children | d7661075ebf7 |
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 @@ -22,7 +22,7 @@ import java.sql.Types; * * @author Fabian Groffen * @author Martin van Dinther - * @version 0.9 + * @version 1.0 */ public class MonetDatabaseMetaData extends MonetWrapper @@ -4023,12 +4023,12 @@ public class MonetDatabaseMetaData return true; } - //== 1.8 methods (JDBC 4.2) + //== Java 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 + * @return the maximum number of bytes allowed; a result of zero means that there is no limit or the limit is not known */ @Override public long getMaxLogicalLobSize() { @@ -4038,7 +4038,7 @@ public class MonetDatabaseMetaData /** * Retrieves whether this database supports REF CURSOR. * The default implementation will return false - * @return true if so, false otherwise + * @return true if this database supports REF CURSOR; false otherwise */ @Override public boolean supportsRefCursors() {