| java.lang.Object org.openharmonise.commons.dsi.AbstractDataStoreInterface org.openharmonise.commons.dsi.impl.DataStoreInterfaceSQLServer
DataStoreInterfaceSQLServer | public class DataStoreInterfaceSQLServer extends AbstractDataStoreInterface (Code) | | Class providing interface to a MS SQLServer 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) |
SQLSERVER_CONVERSION_DATE_LIMIT | public static Date SQLSERVER_CONVERSION_DATE_LIMIT(Code) | | |
DataStoreInterfaceSQLServer | public DataStoreInterfaceSQLServer()(Code) | | Constructs a SQLServer data store interface with no DB settings.
|
DataStoreInterfaceSQLServer | public DataStoreInterfaceSQLServer(int nConnectionType) throws Exception(Code) | | Constructs a SQLServer 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)
|
|
|