|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.util.JdbcDriverUtils
public class JdbcDriverUtils
This class tries to automatically load the right JDBC driver for a given database URL.
Method Summary | |
---|---|
static java.lang.String |
getDriver(java.lang.String url)
Get the driver class name for the given URL, or null if the URL is unknown. |
static void |
load(java.lang.String url)
Load the driver class for the given URL, if the database URL is known. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getDriver(java.lang.String url)
url
- the database URL
public static void load(java.lang.String url) throws java.sql.SQLException
url
- the database URL
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |