|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.util.sql.sqlReconnect.ConnectionHelper
public class ConnectionHelper
This class is just a hack so that I can get the driver manager to connect to a sql database with a driver that was loaded using a different class loader. This class needs to be loaded by the same class loader that registered the sql driver(s).
Constructor Summary | |
---|---|
ConnectionHelper()
|
Method Summary | |
---|---|
java.sql.Connection |
getConnection(java.lang.String url,
java.util.Properties properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionHelper()
Method Detail |
---|
public java.sql.Connection getConnection(java.lang.String url, java.util.Properties properties) throws java.sql.SQLException
getConnection
in interface ConnectionHelperIF
java.sql.SQLException
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |