| java.lang.Object simpleorm.core.SDriver simpleorm.core.SDriverSapDB
SDriverSapDB | public class SDriverSapDB extends SDriver (Code) | | Alix Jermyn
Sorry Anthony, the Driver class is
com.sap.dbtech.jdbc.DriverSapDB
And db urls look like
jdbc:sapdb:///>databasename>
To add a further twist, SAPDB can be put into 4 distinct Sql modes:
INTERNAL, ANSI, DB2, or ORACLE
Internal is the default, which seems to be the most commonly used. If you
can update Sdriver appropriately, and give me a starting sub class of
Sdriver for sapdb, I can do some testing with it when working on the Key
Generator. I haven't used simpleorm with sapdb yet, but my impression of
Sapdb after one month's use is that is pretty ANSI 92 compliant, and the
generic driver would work for most if not all standard sql commands.
|
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)
|
|
|