| java.lang.Object org.openharmonise.commons.dsi.AbstractDataStoreInterface org.openharmonise.commons.dsi.impl.DataStoreInterfaceOracle
DataStoreInterfaceOracle | public class DataStoreInterfaceOracle extends AbstractDataStoreInterface (Code) | | Class providing interface to an Oracle database.
author: Michael Bell See Also: java.sql |
Method Summary | |
protected String | addEscapeChars(String sOldString) | public void | createTable(TableDefinition tblDef) | public String | getBooleanDataType() | public String | getCLOBDataType() | public String | getClob(String sTable, String sColumn, String sCondition) | protected String | getDateAsSQL(String date) | public String | getDateDataType() | protected String | getFunction(Function func) | public String | getJoinCondition(ColumnRef ref1, ColumnRef ref2, boolean bIsOuter) | public List | getSequenceList() | public int | getSequenceNextValue(String sSeqName) | public List | getTableList() | public void | insertClob(String sTable, String sColumn, String sClob, String sCondition) | public void | updateClob(String sTable, String sColumn, String sClob, String sCondition) |
DataStoreInterfaceOracle | public DataStoreInterfaceOracle()(Code) | | Constructs a Oracle data store interface with no DB settings
|
DataStoreInterfaceOracle | public DataStoreInterfaceOracle(int nConnectionType) throws DataStoreException(Code) | | Constructs a Oracle data store interface with the given connection
type
Parameters: nConnectionType - the connection type throws: DataStoreException - if any errors occur |
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)
|
|
|