net.sf.saffron.jdbc
Class SaffronJdbcDriver
java.lang.Object
|
+--net.sf.saffron.jdbc.SaffronJdbcDriver
- All Implemented Interfaces:
- Driver
- public class SaffronJdbcDriver
- extends Object
- implements Driver
A SaffronJdbcDriver
is a JDBC Driver
for a Saffron
database.
- Since:
- Mar 19, 2003
- Version:
- $Id: //open/saffron/src/net/sf/saffron/jdbc/SaffronJdbcDriver.java#2 $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyInfo
private static final DriverPropertyInfo[] propertyInfo
SaffronJdbcDriver
public SaffronJdbcDriver()
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface Driver
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
- Specified by:
getPropertyInfo
in interface Driver
SQLException
acceptsURL
public boolean acceptsURL(String url)
throws SQLException
- Specified by:
acceptsURL
in interface Driver
SQLException
connect
public Connection connect(String url,
Properties info)
throws SQLException
- Specified by:
connect
in interface Driver
SQLException
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interface Driver
getConnectionClassName
protected String getConnectionClassName()
getUrlPrefix
protected String getUrlPrefix()
register
protected void register()
- Implicitly registers this driver when class is loaded (for example, if
someone executes 'Class.forName("saffron.jdbc.SaffronJdbcDriver")')
getUrlPrefixStatic
static String getUrlPrefixStatic()