equal
deleted
inserted
replaced
175 public boolean test() throws SQLException { |
175 public boolean test() throws SQLException { |
176 connection.getAutoCommit(); |
176 connection.getAutoCommit(); |
177 return true; |
177 return true; |
178 } |
178 } |
179 |
179 |
|
180 public String getProductName() throws SQLException { |
|
181 return connection.getMetaData().getDatabaseProductName(); |
|
182 } |
|
183 |
|
184 public String getProductVersion() throws SQLException { |
|
185 return connection.getMetaData().getDatabaseProductVersion(); |
|
186 } |
|
187 |
180 @Override |
188 @Override |
181 public void close() throws SQLException { |
189 public void close() throws SQLException { |
182 connection.close(); |
190 connection.close(); |
183 } |
191 } |
184 } |
192 } |