borland Packages  Class Hierarchy  javax.sql Package 

JdbcDataSource component

java.lang.Object
   +----com.borland.javax.sql.DataSourceProperties
           +----com.borland.javax.sql.JdbcDataSource

About the JdbcDataSource component

Constructors  Properties  Methods  

Implements Designable, Serializable, Referenceable

Note: This is a feature of JBuilder Professional and Enterprise.

JdbcDataSource is a basic implementation of the JDBC 2.0 javax.sql.DataSource interface. It provides a single connection to a data source via a JDBC driver. JdbcDataSource can be registered with a JNDI naming service.


JdbcDataSource constructors

JdbcDataSource properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.javax.sql.DataSourceProperties

Properties implemented in java.lang.Object

JdbcDataSource methods

Methods implemented in this class

Methods implemented in com.borland.javax.sql.DataSourceProperties

Methods implemented in java.lang.Object


JdbcDataSource constructors

JdbcDataSource()

  public JdbcDataSource()

JdbcDataSource properties

connection

 public final Connection getConnection()
A connection to a JDBC data source.

reference

 public javax.naming.Reference getReference()
This property is needed to persist the JdbcDataSource in some JNDI implementations. You usually do not need to use this property.

JdbcDataSource methods

getConnection(java.lang.String, java.lang.String)

  public final synchronized Connection getConnection(String user, String password)
Get a connection to the JDBC data source.