Mercurial > hg > monetdb-java
comparison src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java @ 825:23f84ff380c2
Now we have a MonetVersion class use it from MonetDatabaseMetaData also.
The 2 static utility methods in MonetDriver (which were only called by MonetDatabaseMetaData)only are not needed anymore.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 20 Dec 2023 17:14:56 +0100 (16 months ago) |
parents | ad4491372c2c |
children | b2cbe866d020 |
comparison
equal
deleted
inserted
replaced
824:9b4c7faaa860 | 825:23f84ff380c2 |
---|---|
179 * | 179 * |
180 * @return the JDBC driver version string | 180 * @return the JDBC driver version string |
181 */ | 181 */ |
182 @Override | 182 @Override |
183 public String getDriverVersion() { | 183 public String getDriverVersion() { |
184 return MonetDriver.getDriverVersion(); | 184 return MonetVersion.driverVersion; |
185 } | 185 } |
186 | 186 |
187 /** | 187 /** |
188 * What is this JDBC driver's major version number? | 188 * What is this JDBC driver's major version number? |
189 * | 189 * |
190 * @return the JDBC driver major version number | 190 * @return the JDBC driver major version number |
191 */ | 191 */ |
192 @Override | 192 @Override |
193 public int getDriverMajorVersion() { | 193 public int getDriverMajorVersion() { |
194 return MonetDriver.getDriverMajorVersion(); | 194 return MonetVersion.majorVersion; |
195 } | 195 } |
196 | 196 |
197 /** | 197 /** |
198 * What is this JDBC driver's minor version number? | 198 * What is this JDBC driver's minor version number? |
199 * | 199 * |
200 * @return the JDBC driver minor version number | 200 * @return the JDBC driver minor version number |
201 */ | 201 */ |
202 @Override | 202 @Override |
203 public int getDriverMinorVersion() { | 203 public int getDriverMinorVersion() { |
204 return MonetDriver.getDriverMinorVersion(); | 204 return MonetVersion.minorVersion; |
205 } | 205 } |
206 | 206 |
207 /** | 207 /** |
208 * Does the database store tables in a local file? | 208 * Does the database store tables in a local file? |
209 * No, it stores them in files on the server. | 209 * No, it stores them in files on the server. |