Package org.eclnt.ccee.db
Interface IDBConnectionAvailableAtThread
public interface IDBConnectionAvailableAtThread
If running DOFW* functions inside some other DB framework then the database
connection might be passed by being attached to the current thread. In this
case two things will happen:
1. DOFW* takes over the connection before creating an own one.
2. DOFW* functions will never execute a commit to the connection. The responsibility for the commit of the connection is a the "other DB framework". - (Rollbacks will always be executed in case of an error.)
1. DOFW* takes over the connection before creating an own one.
2. DOFW* functions will never execute a commit to the connection. The responsibility for the commit of the connection is a the "other DB framework". - (Rollbacks will always be executed in case of an error.)
-
Method Summary
-
Method Details
-
getConnectionAtCurrentThread
- Parameters:
contextName
-- Returns:
- If null is returned then DOWF* functions will create the DB connection.
-