diff options
author | smallsql <smallsql> | 2009-01-25 12:03:24 +0300 |
---|---|---|
committer | smallsql <smallsql> | 2009-01-25 12:03:24 +0300 |
commit | 3a129bd71d3c66dd755840a709c9647c299df72d (patch) | |
tree | dd3fe352e96ecd20ce6a1c029068af30bde4ae13 /openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java | |
parent | a5d7e8fb37b7d334dffe79f7cced646306669c10 (diff) |
250 TODO in JDBC-ODBC-Bridge fixt
Diffstat (limited to 'openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java')
-rw-r--r-- | openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java b/openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java index 3870030d..ed769505 100644 --- a/openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java +++ b/openjdk/sun/jdbc/odbc/JdbcOdbcConnection.java @@ -351,7 +351,11 @@ public class JdbcOdbcConnection implements Connection{ public void setCatalog(String catalog) throws SQLException{ - netConn.ChangeDatabase(catalog); + try{ + netConn.ChangeDatabase(catalog); + }catch(Throwable th){ + throw JdbcOdbcUtils.createSQLException(th); + } } |