comparison src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 389:3c224b31bd29

return the correct value for getJDBCMinorVersion() now we implemented JDBC 4.2 methods
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 29 Oct 2020 19:48:10 +0100 (2020-10-29)
parents bf521f343172
children
comparison
equal deleted inserted replaced
388:e79718252ce6 389:3c224b31bd29
3592 * 3592 *
3593 * @return JDBC version major number 3593 * @return JDBC version major number
3594 */ 3594 */
3595 @Override 3595 @Override
3596 public int getJDBCMajorVersion() { 3596 public int getJDBCMajorVersion() {
3597 return 4; // This class implements JDBC 4.1 (at least we try to) 3597 return 4; // This class implements JDBC 4.2 (at least we try to)
3598 } 3598 }
3599 3599
3600 /** 3600 /**
3601 * Retrieves the minor JDBC version number for this driver. 3601 * Retrieves the minor JDBC version number for this driver.
3602 * 3602 *
3603 * @return JDBC version minor number 3603 * @return JDBC version minor number
3604 */ 3604 */
3605 @Override 3605 @Override
3606 public int getJDBCMinorVersion() { 3606 public int getJDBCMinorVersion() {
3607 return 1; // This class implements JDBC 4.1 (at least we try to) 3607 return 2; // This class implements JDBC 4.2 (at least we try to)
3608 } 3608 }
3609 3609
3610 /** 3610 /**
3611 * Indicates whether the SQLSTATEs returned by <code>SQLException.getSQLState</code> 3611 * Indicates whether the SQLSTATEs returned by <code>SQLException.getSQLState</code>
3612 * is X/Open (now known as Open Group) SQL CLI or SQL:2003. 3612 * is X/Open (now known as Open Group) SQL CLI or SQL:2003.