| java.lang.Object org.apache.ojb.broker.platforms.PlatformDefaultImpl org.apache.ojb.broker.platforms.PlatformSybaseImpl org.apache.ojb.broker.platforms.PlatformSybaseASAImpl
Method Summary | |
public void | initializeJdbcConnection(JdbcConnectionDescriptor jcd, Connection conn) Sybase Adaptive Server Enterprise (ASE) support timestamp to a precision of 1/300th of second.
Adaptive Server Anywhere (ASA) support timestamp to a precision of 1/1000000tho of second.
Sybase JDBC driver (JConnect) retrieving timestamp always rounds to 1/300th sec., causing rounding
problems with ASA when retrieving Timestamp fields.
This work around was suggested by Sybase Support. |
initializeJdbcConnection | public void initializeJdbcConnection(JdbcConnectionDescriptor jcd, Connection conn) throws PlatformException(Code) | | Sybase Adaptive Server Enterprise (ASE) support timestamp to a precision of 1/300th of second.
Adaptive Server Anywhere (ASA) support timestamp to a precision of 1/1000000tho of second.
Sybase JDBC driver (JConnect) retrieving timestamp always rounds to 1/300th sec., causing rounding
problems with ASA when retrieving Timestamp fields.
This work around was suggested by Sybase Support. Unfortunately it works only with ASA.
author Lorenzo Nicora
|
Methods inherited from org.apache.ojb.broker.platforms.PlatformSybaseImpl | public byte getJoinSyntaxType()(Code)(Java Doc)
|
Methods inherited from org.apache.ojb.broker.platforms.PlatformDefaultImpl | public void addBatch(PreparedStatement stmt) throws PlatformException(Code)(Java Doc) public void addPagingSql(StringBuffer anSqlString)(Code)(Java Doc) public void afterStatementClose(Statement stmt, ResultSet rs) throws PlatformException(Code)(Java Doc) public void afterStatementCreate(Statement stmt) throws PlatformException(Code)(Java Doc) public void beforeBatch(PreparedStatement stmt) throws PlatformException(Code)(Java Doc) public void beforeStatementClose(Statement stmt, ResultSet rs) throws PlatformException(Code)(Java Doc) public int bindPagingParameters(PreparedStatement ps, int index, int startAt, int endAt) throws SQLException(Code)(Java Doc) public boolean bindPagingParametersFirst()(Code)(Java Doc) public void changeAutoCommitState(JdbcConnectionDescriptor jcd, Connection con, boolean newState)(Code)(Java Doc) protected void checkForBatchSupport(Connection conn)(Code)(Java Doc) public String concatenate(String[] theColumns)(Code)(Java Doc) public String createSequenceQuery(String sequenceName, Properties prop)(Code)(Java Doc) public String createSequenceQuery(String sequenceName)(Code)(Java Doc) public String dropSequenceQuery(String sequenceName)(Code)(Java Doc) public int[] executeBatch(PreparedStatement stmt) throws PlatformException(Code)(Java Doc) protected String getConcatenationCharacter()(Code)(Java Doc) public String getEscapeClause(LikeCriteria aCriteria)(Code)(Java Doc) public byte getJoinSyntaxType()(Code)(Java Doc) public String getLastInsertIdentityQuery(String tableName)(Code)(Java Doc) public void initializeJdbcConnection(JdbcConnectionDescriptor jcd, Connection conn) throws PlatformException(Code)(Java Doc) public String nextSequenceQuery(String sequenceName)(Code)(Java Doc) public CallableStatement prepareNextValProcedureStatement(Connection con, String procedureName, String sequenceName) throws PlatformException(Code)(Java Doc) public void registerOutResultSet(CallableStatement stmt, int position) throws SQLException(Code)(Java Doc) public void setNullForStatement(PreparedStatement ps, int index, int sqlType) throws SQLException(Code)(Java Doc) public void setObjectForStatement(PreparedStatement ps, int index, Object value, int sqlType) throws SQLException(Code)(Java Doc) public boolean supportsBatchOperations()(Code)(Java Doc) public boolean supportsMultiColumnCountDistinct()(Code)(Java Doc) public boolean supportsPaging()(Code)(Java Doc) public boolean useCountForResultsetSize()(Code)(Java Doc)
|
|
|