1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java Sun Sep 13 20:10:13 2015 +0200
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java Wed Nov 09 00:18:01 2016 +0100
1.3 @@ -177,6 +177,14 @@
1.4 return true;
1.5 }
1.6
1.7 + public String getProductName() throws SQLException {
1.8 + return connection.getMetaData().getDatabaseProductName();
1.9 + }
1.10 +
1.11 + public String getProductVersion() throws SQLException {
1.12 + return connection.getMetaData().getDatabaseProductVersion();
1.13 + }
1.14 +
1.15 @Override
1.16 public void close() throws SQLException {
1.17 connection.close();