comparison src/main/java/org/monetdb/jdbc/MonetDriver.java.in @ 662:ee1f3b3ff5fd

Remove MCL_MAJOR and MCL_MINOR references now we no longer distribute monetdb-mcl-1.##.jre8.jar file. The references in files: version.sh and build.properties will be removed later after alignement with Sjoerd.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 13 Oct 2022 17:20:22 +0200 (2022-10-13)
parents 108123ca6889
children 5022a57f9d97
comparison
equal deleted inserted replaced
661:c8f7781a414e 662:ee1f3b3ff5fd
36 * where [:&lt;port&gt;] denotes that a port is optional. If not 36 * where [:&lt;port&gt;] denotes that a port is optional. If not
37 * given the default (@JDBC_DEF_PORT@) will be used. 37 * given the default (@JDBC_DEF_PORT@) will be used.
38 *</pre> 38 *</pre>
39 * 39 *
40 * @author Fabian Groffen 40 * @author Fabian Groffen
41 * @version @JDBC_MAJOR@.@JDBC_MINOR@ (@JDBC_VER_SUFFIX@) based on MCL v@MCL_MAJOR@.@MCL_MINOR@" 41 * @version @JDBC_MAJOR@.@JDBC_MINOR@ (@JDBC_VER_SUFFIX@)
42 */ 42 */
43 public class MonetDriver implements Driver { /* cannot (yet) be final as nl.cwi.monetdb.jdbc.MonetDriver extends this class */ 43 public class MonetDriver implements Driver { /* cannot (yet) be final as nl.cwi.monetdb.jdbc.MonetDriver extends this class */
44 // the url kind will be jdbc:monetdb://<host>[:<port>]/<database> 44 // the url kind will be jdbc:monetdb://<host>[:<port>]/<database>
45 // Chapter 9.2.1 from Sun JDBC 3.0 specification 45 // Chapter 9.2.1 from Sun JDBC 3.0 specification
46 /** The prefix of a MonetDB url */ 46 /** The prefix of a MonetDB url */
316 * Returns a touched up identifying version string of this driver. 316 * Returns a touched up identifying version string of this driver.
317 * It is made public as it is called from org/monetdb/client/JdbcClient.java 317 * It is made public as it is called from org/monetdb/client/JdbcClient.java
318 * @return the version string 318 * @return the version string
319 */ 319 */
320 public static final String getDriverVersion() { 320 public static final String getDriverVersion() {
321 return "@JDBC_MAJOR@.@JDBC_MINOR@ (@JDBC_VER_SUFFIX@ based on MCL v@MCL_MAJOR@.@MCL_MINOR@)"; 321 return "@JDBC_MAJOR@.@JDBC_MINOR@ (@JDBC_VER_SUFFIX@)";
322 } 322 }
323 323
324 /** A static Map containing the mapping between MonetDB types and Java SQL types */ 324 /** A static Map containing the mapping between MonetDB types and Java SQL types */
325 /* use SELECT sqlname, * FROM sys.types order by 1, id; to view all MonetDB types */ 325 /* use SELECT sqlname, * FROM sys.types order by 1, id; to view all MonetDB types */
326 /* see http://docs.oracle.com/javase/8/docs/api/java/sql/Types.html to view all supported java SQL types */ 326 /* see http://docs.oracle.com/javase/8/docs/api/java/sql/Types.html to view all supported java SQL types */