com.scooterframework.orm.sqldataexpress.connection
Class JdbcConnection

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.connection.UserDatabaseConnectionImpl
      extended by com.scooterframework.orm.sqldataexpress.connection.JdbcConnection
All Implemented Interfaces:
UserDatabaseConnection

public class JdbcConnection
extends UserDatabaseConnectionImpl

JdbcConnection class has information about database connection created by DriverManager.


Field Summary
 
Fields inherited from interface com.scooterframework.orm.sqldataexpress.connection.UserDatabaseConnection
DATASOURCE_CONNECTION, JDBC_CONNECTION
 
Constructor Summary
JdbcConnection(JdbcConnectionContext dcc)
           
JdbcConnection(java.lang.String connectionName, JdbcConnectionContext dcc)
           
 
Method Summary
protected  java.sql.Connection createConnection()
          Create a connection based on specific database connection context.
 java.lang.String getConnectionType()
          Return the connection type.
 
Methods inherited from class com.scooterframework.orm.sqldataexpress.connection.UserDatabaseConnectionImpl
connectionIsOpen, getAutoCommit, getConnection, getConnectionName, getDatabaseConnectionContext, setAutoCommit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcConnection

public JdbcConnection(JdbcConnectionContext dcc)

JdbcConnection

public JdbcConnection(java.lang.String connectionName,
                      JdbcConnectionContext dcc)
Method Detail

getConnectionType

public java.lang.String getConnectionType()
Return the connection type.


createConnection

protected java.sql.Connection createConnection()
Create a connection based on specific database connection context.

Specified by:
createConnection in class UserDatabaseConnectionImpl
Returns:
Connection