| java.lang.Object org.openharmonise.commons.dsi.AbstractDataStoreInterface org.openharmonise.commons.dsi.impl.DataStoreInterfaceFirebird
DataStoreInterfaceFirebird | public class DataStoreInterfaceFirebird extends AbstractDataStoreInterface (Code) | | Class providing interface to a Firebird database.
author: Fidel Viegas See Also: java.sql |
Method Summary | |
protected String | addEscapeChars(String sOldString) | public void | createTable(TableDefinition tblDef) | protected String | generateFromClause(AbstractDMLStatement DML, Vector saTables) Generate 'from' clause from the given DML statment. | protected String | generateOrderByClause(SelectStatement select) | protected String | generateWhereClause(SelectStatement select) | protected String | generateWhereClause(AbstractDMLStatement DML) | public String | getBooleanDataType() | public String | getCLOBDataType() | public String | getClob(String sTable, String sColumn, String sCondition) | protected String | getDateAsSQL(String date) | public String | getDateDataType() | public String | getDeleteStatement(DeleteStatement delete) | protected String | getFunction(Function func) | public String | getInnerJoinCondition(ColumnRef ref1, ColumnRef ref2) Returns the SQL inner join condition for the two given column references. | public String | getInsertStatement(InsertStatement insert) | public String | getJoinCondition(ColumnRef ref1, ColumnRef ref2, boolean bIsOuter) | protected String | getOrderByRef(ColumnRef ordercol) | public String | getOuterJoinCondition(ColumnRef ref1, ColumnRef ref2, AbstractDMLStatement DML) | public String | getSelectStatement(SelectStatement select) | public List | getSequenceList() | public int | getSequenceNextValue(String sSeqName) | public List | getTableList() | public String | getUpdateStatement(UpdateStatement update) | public void | insertClob(String sTable, String sColumn, String sClob, String sCondition) | public void | updateClob(String sTable, String sColumn, String sClob, String sCondition) |
DataStoreInterfaceFirebird | public DataStoreInterfaceFirebird()(Code) | | Constructs a firebird data store interface with no DB settings.
|
DataStoreInterfaceFirebird | public DataStoreInterfaceFirebird(String sJDBCDriver, String sDBurl, String sDBUsr, String sDBPwd)(Code) | | Constructs a firebird data store interface with the given
DB settings.
Parameters: sJDBCDriver - the JDBC driver class name Parameters: sDBurl - the database URI Parameters: sDBUsr - the database user name Parameters: sDBPwd - the database user password |
DataStoreInterfaceFirebird | public DataStoreInterfaceFirebird(int nConnectionType) throws DataStoreException(Code) | | Constructs a firebird data store interface with the given connection
type.
Parameters: nConnectionType - the connection type throws: DataStoreException - if an error occurs |
getInnerJoinCondition | public String getInnerJoinCondition(ColumnRef ref1, ColumnRef ref2)(Code) | | Returns the SQL inner join condition for the two given column references.
Parameters: ref1 - the first column reference Parameters: ref2 - the second column reference the SQL inner join condition |
Methods inherited from org.openharmonise.commons.dsi.AbstractDataStoreInterface | abstract protected String addEscapeChars(String sOldString)(Code)(Java Doc) public void closeConnection(Connection conn)(Code)(Java Doc) abstract public void createTable(TableDefinition tblDef) throws DataStoreException(Code)(Java Doc) public void disconnect() throws SQLException(Code)(Java Doc) public void execute(String sSql) throws DataStoreException(Code)(Java Doc) public ResultSet execute(SelectStatement query) throws DataStoreException(Code)(Java Doc) public int execute(UpdateStatement update) throws DataStoreException(Code)(Java Doc) public void execute(InsertStatement insert) throws DataStoreException(Code)(Java Doc) public void execute(DeleteStatement delete) throws DataStoreException(Code)(Java Doc) public void executeInsert(InsertStatement insert) throws DataStoreException(Code)(Java Doc) public ResultSet executeQuery(String sSql) throws DataStoreException(Code)(Java Doc) public ResultSet executeQuery(SelectStatement query) throws DataStoreException(Code)(Java Doc) public int executeUpdate(String sSql) throws DataStoreException(Code)(Java Doc) public int executeUpdate(UpdateStatement update) throws DataStoreException(Code)(Java Doc) protected String generateFromClause(SelectStatement select) throws DataStoreException(Code)(Java Doc) protected String generateOrderByClause(SelectStatement select)(Code)(Java Doc) protected String generateWhereClause(SelectStatement select) throws DataStoreException(Code)(Java Doc) protected String generateWhereClause(AbstractDMLStatement DML) throws DataStoreException(Code)(Java Doc) protected String generateWhereClause(WhereConditionGroup where) throws DataStoreException(Code)(Java Doc) abstract public String getBooleanDataType()(Code)(Java Doc) abstract public String getCLOBDataType()(Code)(Java Doc) abstract public String getClob(String sTable, String sColumn, String sCondition) throws DataStoreException(Code)(Java Doc) public Connection getConnection() throws DataStoreException(Code)(Java Doc) public String getDatabaseURL()(Code)(Java Doc) abstract protected String getDateAsSQL(String date)(Code)(Java Doc) abstract public String getDateDataType()(Code)(Java Doc) public String getDeleteStatement(DeleteStatement delete) throws DataStoreException(Code)(Java Doc) abstract protected String getFunction(Function func) throws DataStoreException(Code)(Java Doc) public String getInsertStatement(InsertStatement insert) throws DataStoreException(Code)(Java Doc) abstract public String getJoinCondition(ColumnRef ref1, ColumnRef ref2, boolean bIsOuter)(Code)(Java Doc) protected String getOrderByRef(ColumnRef ordercol)(Code)(Java Doc) public String getSelectStatement(SelectStatement select) throws DataStoreException(Code)(Java Doc) abstract public List getSequenceList() throws DataStoreException(Code)(Java Doc) abstract public int getSequenceNextValue(String sSeqName) throws DataStoreException, SQLException(Code)(Java Doc) abstract public List getTableList() throws DataStoreException(Code)(Java Doc) public String getUpdateStatement(UpdateStatement update) throws DataStoreException(Code)(Java Doc) public void initialise(int nConnectionType) throws Exception(Code)(Java Doc) abstract public void insertClob(String sTable, String sColumn, String sClob, String sCondition) throws DataStoreException(Code)(Java Doc) protected boolean isNationalCharacterSupported()(Code)(Java Doc) public boolean isPooledConnection()(Code)(Java Doc) public boolean isTableExist(String sTableName) throws DataStoreException(Code)(Java Doc) public static java.util.Date parseDate(String sDate) throws ParseException(Code)(Java Doc) public void setDataStoreDetails(String sJDBCDriver, String sDBurl, String sDBUsr, String sDBPwd)(Code)(Java Doc) protected void setNationalCharacterSupport(boolean bIsSupported)(Code)(Java Doc) abstract public void updateClob(String sTable, String sColumn, String sClob, String sCondition) throws DataStoreException(Code)(Java Doc)
|
|
|