Driver Class
DEPRECATED
- public class Driver
extends Object
implements Driver
A JDBC driver that maps onto DocumentProviders.
This driver only supports CallableStatements and a very limited set of
statements calls (i.e. no SQL).
This driver responds to url of the form "jdbc:beasys:docmgmt". The
document provider implementation class name is expected either in the
configuration properties at "documentProvider" or after the url, as in
"jdbc:beasys:docmgmt:ProviderClass". The configuration properties passed
into the connection method will be forwarded onto the DocumentProvider's
init() method.
-
Hierarchy
-
Object
Driver
-
All Implemented Interfaces
-
Driver
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL_PREFIX
public static final String
URL_PREFIX
Driver
public Driver()
acceptsURL(String) Method
public boolean acceptsURL(String
url)
Tell if this driver accepts the specific JDBC url.
This driver only accepts urls beginning with "jdbc:beasys:docmgmt".
Parameters
-
url
- the url to check.
Returns
- true if the url is valid, false if not.
connect(String, Properties) Method
public Connection
connect(String
url,
Properties
info)
throws SQLException
Open a connection to the document management system.
Parameters
-
url
- the JDBC url.
-
info
- the configuration properties.
Returns
- a Connection on success, null on bad url.
Exceptions
-
SQLException
- thrown on an error.
getMajorVersion() Method
public int getMajorVersion()
Get the driver major version.
getMinorVersion() Method
public int getMinorVersion()
Get the driver minor version.
getPropertyInfo(String, Properties) Method
public DriverPropertyInfo
[] getPropertyInfo(String
url,
Properties
info)
Return driver property info based upon the specified configuration.
Parameters
-
url
- the JDBC url.
-
info
- the configuration properties so far.
Returns
- null.
jdbcCompliant() Method
public boolean jdbcCompliant()
Tell if this driver is JDBC compliant.
Returns
- false.
setClassLoader(ClassLoader) Method
public void setClassLoader(ClassLoader
classLoader)
Set the ClassLoader this should use.