Package simpleorm.drivers
Class SDriverSapDB
- java.lang.Object
-
- simpleorm.sessionjdbc.SDriver
-
- simpleorm.drivers.SDriverSapDB
-
public class SDriverSapDB extends SDriver
Alix JermynSorry Anthony, the Driver class is com.sap.dbtech.jdbc.DriverSapDB
And db urls look like jdbc:sapdb://<Host_Machine>/<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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class simpleorm.sessionjdbc.SDriver
SDriver.OffsetStrategy
-
-
Constructor Summary
Constructors Constructor Description SDriverSapDB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
driverName()
The driver name to be compared to getMetaData().getDriverName()-
Methods inherited from class simpleorm.sessionjdbc.SDriver
addNull, alterTableAddColumnSQL, alterTableDropColumnSQL, appendColumnName, appendQuotedIdentifier, appendQuotedIdentifier, appendTableName, clauseSeparator, columnTypeSQL, createSequenceDDL, createTableSQL, deleteSQL, dropSequenceDDL, dropTableNoError, foreignKeysSQL, forUpdateSQL, fromSQL, generateKeySelectMax, generateKeySequence, getLogger, getOffsetStrategy, getSession, indexKeySQL, insertSQL, joinSQL, limitSQL, makeForeignKeyIndexSQL, mapForeignKeys, maxIdentNameLength, postColumnSQL, postFromSQL, postTablePostParenSQL, postTablePreParenSQL, primaryKeySQL, queryExecuteFactory, registerDriver, selectSQL, selectSQL, supportsKeySequences, supportsLocking, updateSQL, whereSQL, wholeColumnSQL
-
-
-
-
Method Detail
-
driverName
protected java.lang.String driverName()
Description copied from class:SDriver
The driver name to be compared to getMetaData().getDriverName()- Overrides:
driverName
in classSDriver
-
-