|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4DBConnection_Intf
Interface for database access.
E4DBConnectionDefault | A single statement transaction (SST) connection which is recommended to be used for common and almost reading tasks, created early after application startup and valid until end of the application. Only one entity per database. |
E4DBConnectionTransactional | Recommended to be used whenever transactions (commit/rollback) are required. Multiple instances, may force database or JDBC license to run out of connections in some cases. |
| Method Summary | |
|---|---|
void |
close()
|
boolean |
connectionIsPooled()
|
java.lang.String |
getCatalog()
Get the catalog. |
java.sql.DatabaseMetaData |
getDatabaseMetaData()
Get the database meta data. |
int |
getDatabaseType()
|
java.lang.String |
getID()
|
java.util.Vector |
getIndexes(E4DBTableName tablename)
Retrieve all index names out of the current database connection for the specified table. |
E4DBStatement |
getStatement()
Create a new JDBC/SQL Statement. |
java.util.Vector |
getTables()
Retrieve all tables out of the current database connection. |
boolean |
istabledefined(E4DBTableName check_tablename)
Check for existance of a table |
| Method Detail |
|---|
E4DBStatement getStatement()
throws E4DBException
E4DBException
java.sql.DatabaseMetaData getDatabaseMetaData()
throws E4DBException
E4DBException
java.util.Vector getIndexes(E4DBTableName tablename)
throws E4DBException
tablename - the table to lookup
E4DBException
java.util.Vector getTables()
throws E4DBException
e4s.db.dict
E4DBExceptionE4DBTableName,
#istabledefined(TableName)
boolean istabledefined(E4DBTableName check_tablename)
throws E4DBException
check_tablename - the table who's existance to be prooven
E4DBExceptionE4DBTableName,
getTables()boolean connectionIsPooled()
void close()
throws E4DBException
E4DBException
java.lang.String getCatalog()
throws E4DBException
E4DBExceptionint getDatabaseType()
java.lang.String getID()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||