|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.objectweb.jorm.runtime.mapper.rdb.adapter.lib.BasicRdbAdapter
|
+--org.objectweb.jorm.runtime.mapper.rdb.adapter.lib.SapdbAdapter
This class is a sql adapter for the SapDB relational database. SapDB 7.4 beta result of the jdbc driver test: =============================== FAIL: BIT: create table: [-3002] (at 31): Invalid datatype FAIL: TINYINT: create table: [-4006] (at 28): Unknown domain name:TINYINT FAIL: SMALLINT: select value 0 with getObject FAIL: SMALLINT: select value 1 with getObject FAIL: SMALLINT: select value 254 with getObject FAIL: INTEGER: select value 0 with getObject FAIL: INTEGER: select value 1 with getObject FAIL: INTEGER: select value 254 with getObject FAIL: BIGINT: create table: [-4006] (at 28): Unknown domain name:BIGINT FAIL: REAL: select value 0.0 with getObject FAIL: REAL: select value 1.0 with getObject FAIL: REAL: select value 254.0 with getObject FAIL: DOUBLE: create table: [-3002] (at 30): Invalid datatype
| Constructor Summary | |
SapdbAdapter()
|
|
| Method Summary | |
java.lang.String |
getSqlGetterName(PType pt,
java.lang.String resultSet,
int idx)
This method returns the sql getter method associated to the PType specified in parameter. |
java.lang.String |
getSqlType(PType pt,
boolean usedInPK)
This method returns the SQL type linked to the PType specified in parameter. |
| Methods inherited from class org.objectweb.jorm.runtime.mapper.rdb.adapter.lib.BasicRdbAdapter |
fetchResultSetSize, getBigDecimal, getBoolean, getByte, getByteArray, getChar, getCharArray, getDate, getDouble, getFloat, getInt, getLong, getObject, getOboolean, getObyte, getOchar, getOdouble, getOfloat, getOint, getOlong, getOshort, getShort, getSqlSetterName, getSqlTypeCode, getString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString, getValueAsSQLString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SapdbAdapter()
| Method Detail |
public java.lang.String getSqlType(PType pt,
boolean usedInPK)
throws PExceptionProtocol
RdbAdpatergetSqlType in class BasicRdbAdapter
public java.lang.String getSqlGetterName(PType pt,
java.lang.String resultSet,
int idx)
throws PExceptionProtocol
RdbAdpatergetSqlGetterName in class BasicRdbAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||