Mercurial > hg > monetdb-java
comparison 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 |
comparison
equal
deleted
inserted
replaced
263:8fbed4aeff0e | 264:d31b99f06b26 |
---|---|
4176 @Override | 4176 @Override |
4177 public boolean generatedKeyAlwaysReturned() throws SQLException { | 4177 public boolean generatedKeyAlwaysReturned() throws SQLException { |
4178 return true; | 4178 return true; |
4179 } | 4179 } |
4180 | 4180 |
4181 //== 1.8 methods (JDBC 4.2) | |
4182 | |
4183 /** | |
4184 * Retrieves the maximum number of bytes this database allows for the logical size for a LOB. | |
4185 * The default implementation will return 0 | |
4186 * @return the maximum number of bytes | |
4187 */ | |
4188 @Override | |
4189 public long getMaxLogicalLobSize() { | |
4190 return 0; | |
4191 } | |
4192 | |
4193 /** | |
4194 * Retrieves whether this database supports REF CURSOR. | |
4195 * The default implementation will return false | |
4196 * @return true if so, false otherwise | |
4197 */ | |
4198 @Override | |
4199 public boolean supportsRefCursors() { | |
4200 return false; | |
4201 } | |
4202 | |
4181 //== end methods interface DatabaseMetaData | 4203 //== end methods interface DatabaseMetaData |
4182 } | 4204 } |