This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static Connection getConnectionFromURL(String url) | |
throws SQLCoreException | |
{ | |
Connection conn; | |
Debugger.outW("\n getting connection for:" + url); | |
DataSource ds = DataSourceFactoryImpl.getInstance().getDataSource(url); | |
conn = ds.getConnection(); | |
if(conn == null) | |
throw new SQLCoreException("\n Couldn't get connection (null) for:" + url); | |
if(conn.isClosed()) |