Interface powersoft.jcm.db.JDBCDriver
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface powersoft.jcm.db.JDBCDriver

public interface JDBCDriver
extends Object
A JDBCDriver abstracts a JDBC driver that is to be used with a transaction object. A class must implement this interface in order for a JDBC driver to be used.

The constructor of a derived class must do the necessary initialization such as instantiating a copy of the real JDBC driver using Class.forName.

See Also:
Transaction, JDBCTransaction

Method Index

 o getURL()
When a connection is made by JDBCTransaction#connect, a URL is supplied to the low-level java.sql.DriverManager.getConnection method.

The URL is obtained by the JDBCTransaction object by appending the value of its DataSource property to the returned value of this method.

Methods

 o getURL
  public abstract String getURL()
When a connection is made by JDBCTransaction#connect, a URL is supplied to the low-level java.sql.DriverManager.getConnection method.

The URL is obtained by the JDBCTransaction object by appending the value of its DataSource property to the returned value of this method.

Returns:
the URL prefix to be used in all connection

All Packages  Class Hierarchy  This Package  Previous  Next  Index