| java.lang.Object simpleorm.core.SDriver simpleorm.core.SDriverSybase
SDriverSybase | public class SDriverSybase extends SDriver (Code) | | This contains Sybase Adaptive Server specific code.
|
columnTypeSQL | protected String columnTypeSQL(SFieldMeta field)(Code) | | Sybase only understands DATETIME (and SMALLDATETIME) and timestamp (must be lc!)
|
forUpdateSQL | protected String forUpdateSQL(boolean forUpdate)(Code) | | |
postFromSQL | protected String postFromSQL(boolean forUpdate)(Code) | | MSSQL and Sybase do not support FOR UPDATE. But the docs say to use WITH
(XLOCK). But Jorge says that it is unnecessary and makes
SimpleORM fail. Very odd.
|
Methods inherited from simpleorm.core.SDriver | protected void aReferenceSQL(SFieldReference topRef, SFieldReference fldRef, StringBuffer sbFkey, StringBuffer sbRefed)(Code)(Java Doc) protected void addNull(StringBuffer sql, SFieldMeta fld)(Code)(Java Doc) public String alterTableAddColumnSQL(SFieldMeta field)(Code)(Java Doc) public String alterTableDropColumnSQL(SFieldMeta field)(Code)(Java Doc) protected boolean canResultSetAbsolute()(Code)(Java Doc) protected String clauseSeparator(String indent)(Code)(Java Doc) protected String columnTypeSQL(SFieldMeta field)(Code)(Java Doc) protected String createSequenceDDL(String name)(Code)(Java Doc) public String createTableSQL(SRecordMeta meta)(Code)(Java Doc) protected String deleteSQL(SRecordMeta from, SArrayList where, SRecordInstance instance, Object[] keyMetaValues)(Code)(Java Doc) protected String driverName()(Code)(Java Doc) protected String dropSequenceDDL(String name)(Code)(Java Doc) public void dropTableNoError(String table)(Code)(Java Doc) protected String forUpdateSQL(boolean forUpdate)(Code)(Java Doc) protected String foreignKeysSQL(SRecordMeta meta)(Code)(Java Doc) protected String fromSQL(SRecordMeta from, SRecordMeta[] joinTables)(Code)(Java Doc) protected long generateKeySelectMax(SRecordMeta rec, SFieldMeta keyFld)(Code)(Java Doc) protected long generateKeySequence(SRecordMeta rec, SFieldMeta keyFld)(Code)(Java Doc) protected String indexKeySQL(SRecordMeta meta)(Code)(Java Doc) protected void initResultSet(SResultSet srs)(Code)(Java Doc) protected String insertSQL(SArrayList updates, SRecordMeta from)(Code)(Java Doc) protected void makeForeignKeyIndexSQL(SRecordMeta meta, int fx, SFieldReference fldRef, StringBuffer sbFkey, StringBuffer sbRefed, StringBuffer fkey)(Code)(Java Doc) protected String mapForeignKeys(SRecordMeta meta, boolean foreignKey)(Code)(Java Doc) public int maxIdentNameLength()(Code)(Java Doc) static SDriver newSDriver(java.sql.Connection con, String driverName)(Code)(Java Doc) protected String postColumnSQL(SFieldMeta field)(Code)(Java Doc) protected String postFromSQL(boolean forUpdate, boolean unrepeatableRead)(Code)(Java Doc) protected String postTablePostParenSQL(SRecordMeta meta)(Code)(Java Doc) protected String postTablePreParenSQL(SRecordMeta meta)(Code)(Java Doc) protected String primaryKeySQL(SRecordMeta meta)(Code)(Java Doc) public String quoteColumn(String ident)(Code)(Java Doc) public String quoteConstraint(String ident)(Code)(Java Doc) public String quoteIdentifier(String ident)(Code)(Java Doc) public String quoteTable(String ident)(Code)(Java Doc) public void registerDriver()(Code)(Java Doc) protected String selectSQL(SFieldMeta[] select, SRecordMeta from, SFieldMeta[] where, String orderBy, boolean forUpdate, boolean unrepeatableRead, SPreparedStatement sps)(Code)(Java Doc) protected String selectSQL(SFieldMeta[] select, SRecordMeta from, String where, String orderBy, boolean forUpdate, boolean unrepeatableRead, SPreparedStatement sps)(Code)(Java Doc) public boolean supportsKeySequences()(Code)(Java Doc) public boolean supportsLocking()(Code)(Java Doc) protected String updateSQL(SArrayList updates, SRecordMeta from, SArrayList where, SRecordInstance instance, Object[] keyMetaValues)(Code)(Java Doc) protected void whereSQL(StringBuffer ret, SArrayList where, SRecordInstance instance, Object[] keyMetaValues)(Code)(Java Doc) protected String wholeColumnSQL(SFieldMeta fld)(Code)(Java Doc)
|
|
|