Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 474:d414e5c4470c
Correct comment, we never released version 2.30. It was 3.0.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Tue, 01 Jun 2021 20:16:01 +0200 (2021-06-01) |
parents | 0e21097f438b |
children | 849af4b76b28 |
comparison
equal
deleted
inserted
replaced
473:6a6c86ac3232 | 474:d414e5c4470c |
---|---|
138 private static final int LANG_UNKNOWN = -1; | 138 private static final int LANG_UNKNOWN = -1; |
139 /** The language which is used */ | 139 /** The language which is used */ |
140 private final int lang; | 140 private final int lang; |
141 | 141 |
142 /** Whether or not BLOB is mapped to Types.VARBINARY instead of Types.BLOB within this connection */ | 142 /** Whether or not BLOB is mapped to Types.VARBINARY instead of Types.BLOB within this connection */ |
143 private boolean treatBlobAsVarBinary = true; // turned on by default for optimal performance (from JDBC Driver release 2.30 onwards) | 143 private boolean treatBlobAsVarBinary = true; // turned on by default for optimal performance (from JDBC Driver release 3.0 onwards) |
144 /** Whether or not CLOB is mapped to Types.VARCHAR instead of Types.CLOB within this connection */ | 144 /** Whether or not CLOB is mapped to Types.VARCHAR instead of Types.CLOB within this connection */ |
145 private boolean treatClobAsVarChar = true; // turned on by default for optimal performance (from JDBC Driver release 2.30 onwards) | 145 private boolean treatClobAsVarChar = true; // turned on by default for optimal performance (from JDBC Driver release 3.0 onwards) |
146 | 146 |
147 /** The last set query timeout on the server as used by Statement, PreparedStatement and CallableStatement */ | 147 /** The last set query timeout on the server as used by Statement, PreparedStatement and CallableStatement */ |
148 protected int lastSetQueryTimeout; // 0 means no timeout, which is the default on the server | 148 protected int lastSetQueryTimeout; // 0 means no timeout, which is the default on the server |
149 | 149 |
150 /** A cache to reduce the number of DatabaseMetaData objects created by getMetaData() to maximum 1 per connection */ | 150 /** A cache to reduce the number of DatabaseMetaData objects created by getMetaData() to maximum 1 per connection */ |