Package com.nuodb.jdbc
Class Driver
- java.lang.Object
-
- com.nuodb.jdbc.Driver
-
-
Field Summary
Fields Modifier and Type Field Description static StringDIRECT_PROPERTYstatic StringISOLATION_PROPERTYstatic StringPASSWORD_PROPERTYstatic StringSCHEMA_PROPERTYstatic StringSQLENGINE_PROPERTYstatic StringTIMEZONE_PROPERTYstatic StringURLDELIMITER_PROPERTYstatic StringUSER_PROPERTY
-
Constructor Summary
Constructors Constructor Description Driver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsURL(String url)Connectionconnect(String url, Properties properties)intgetMajorVersion()intgetMinorVersion()LoggergetParentLogger()Return the parent Logger of all the Loggers used by this driver.DriverPropertyInfo[]getPropertyInfo(String url, Properties info)booleanjdbcCompliant()
-
-
-
Field Detail
-
USER_PROPERTY
public static final String USER_PROPERTY
- See Also:
- Constant Field Values
-
PASSWORD_PROPERTY
public static final String PASSWORD_PROPERTY
- See Also:
- Constant Field Values
-
SCHEMA_PROPERTY
public static final String SCHEMA_PROPERTY
- See Also:
- Constant Field Values
-
DIRECT_PROPERTY
public static final String DIRECT_PROPERTY
- See Also:
- Constant Field Values
-
ISOLATION_PROPERTY
public static final String ISOLATION_PROPERTY
- See Also:
- Constant Field Values
-
TIMEZONE_PROPERTY
public static final String TIMEZONE_PROPERTY
- See Also:
- Constant Field Values
-
SQLENGINE_PROPERTY
public static final String SQLENGINE_PROPERTY
- See Also:
- Constant Field Values
-
URLDELIMITER_PROPERTY
public static final String URLDELIMITER_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptsURL
public boolean acceptsURL(String url)
- Specified by:
acceptsURLin interfaceDriver
-
connect
public Connection connect(String url, Properties properties) throws SQLException
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfaceDriver
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
Return the parent Logger of all the Loggers used by this driver. Enables compiling on java 1.7.- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
-