Open main menu

CDOT Wiki β

Changes

Nexjexpress/PostgreSQL Adapter/process

1,115 bytes added, 10:48, 12 November 2010
no edit summary
==SQLAdapter.java==
: Questions:: protected interface BindFactory: protected interface Bind
==PostgreSQLAdapter.java==
: public abstract String appendStringLengthPrefix(StringBuffer buf, FunctionOperator op);
: public abstract String appendSubstringPrefix(StringBuffer buf, FunctionOperator op);
: public abstract boolean isLiteral(Primitive type, Object value);;
: public abstract void appendLiteral(StringBuffer buf, Primitive type, Object value);
: public abstract void appendTypeConversion(StringBuffer buf, Object op,Primitive fromType, Primitive type, SQLGenerator gen);
: public abstract void bindIdentity(PreparedStatement stmt, SQLInsert work) throws SQLException;
: public abstract Object getIdentityValue(PreparedStatement stmt, Column column, SQLInsert work) throws SQLException;
: public abstract boolean appendNoRowsBlock(StringBuffer buf);
: public abstract void appendNoRowsStart(StringBuffer buf);
: public abstract void appendNoRowsEnd(StringBuffer buf);
: public abstract boolean isBatchSupported();
: public abstract boolean isBatchUpdateCountSupported();
: public abstract boolean isBatchable(SQLWork work);
: protected abstract boolean isDateRangeException(SQLException e);
: protected abstract boolean isQueryTimeoutException(SQLException e);
: protected abstract boolean isDuplicateKeyException(SQLException e);
: protected abstract String getDuplicateKeyName(SQLException e);
: protected abstract boolean indexNameMatches(Index index, String sPhysicalName);
: protected abstract boolean isDeadlockException(SQLException e);
: protected abstract boolean isLockTimeoutException(SQLException e);
: public abstract SQLSchemaManager createSchemaManager();
*Protected methods
: protected boolean isLikeReservedChar(char ch)
: protected void appendLiteral(StringBuffer buf, String sValue)
: public abstract void appendLiteralprotected int roundUpListSize(StringBuffer bufint nSize, Primitive typeint nBindCount): protected int roundUpMaxCount(int nMaxCount): protected boolean indexNameMatches(String sMetadataName, int nMetaStart, String sPhysicalName, String sPrefix, Object valueboolean bCaseInsensitive);
:
 
==MySQLAdapter.java==
1
edit