|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.jorm.mapper.rdb.adapter.BasicRdbAdapter
org.objectweb.jorm.mapper.rdb.adapter.FirebirdAdapter
This class is a sql adapter for the Firebird relational database.
| Field Summary |
| Fields inherited from class org.objectweb.jorm.mapper.rdb.adapter.BasicRdbAdapter |
logger, name |
| Fields inherited from interface org.objectweb.jorm.mapper.rdb.adapter.api.RdbAdapter |
NOSIZE, RANGEATEND, RANGEATSTART, RANGEUNSUPPORTED |
| Fields inherited from interface org.objectweb.jorm.mapper.rdb.adapter.api.TypeAdapter |
TYPE_NAMES, TYPECODE_ARRAY, TYPECODE_BIGDECIMAL, TYPECODE_BIGINTEGER, TYPECODE_BOOLEAN, TYPECODE_BYTE, TYPECODE_BYTEARRAY, TYPECODE_CHAR, TYPECODE_CHARARRAY, TYPECODE_DATE, TYPECODE_DOUBLE, TYPECODE_FLOAT, TYPECODE_INT, TYPECODE_LONG, TYPECODE_OBJBOOLEAN, TYPECODE_OBJBYTE, TYPECODE_OBJCHAR, TYPECODE_OBJDOUBLE, TYPECODE_OBJFLOAT, TYPECODE_OBJINT, TYPECODE_OBJLONG, TYPECODE_OBJSHORT, TYPECODE_SERIALIZED, TYPECODE_SHORT, TYPECODE_STRING |
| Constructor Summary | |
FirebirdAdapter()
|
|
| Method Summary | |
boolean |
getBoolean(java.sql.ResultSet rs,
int idx,
boolean nullValue)
Get a boolean value from a ResultSet. |
java.lang.Boolean |
getOboolean(java.sql.ResultSet rs,
int idx,
java.lang.Boolean nullValue)
Get a Boolean value from a ResultSet. |
java.lang.String |
getSqlType(int typeCode,
boolean usedInPK,
int size,
int scale)
This method returns the SQL type linked to the java type |
void |
setBoolean(java.sql.PreparedStatement ps,
int idx,
boolean o)
Assignes a boolean value into a PreparedStatement |
void |
setOboolean(java.sql.PreparedStatement ps,
int idx,
java.lang.Boolean o)
Assignes a Boolean value into a PreparedStatement |
void |
setOchar(java.sql.PreparedStatement ps,
int idx,
java.lang.Character o)
Assignes a Character value into a PreparedStatement |
boolean |
supportBatchPreparedStatement()
Indicates if the driver supports the batch of PreparedStatement |
void |
writeTableAlias(java.lang.String alias,
java.lang.StringBuffer sb)
Append a table alias to an SQL expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FirebirdAdapter()
| Method Detail |
public java.lang.String getSqlType(int typeCode,
boolean usedInPK,
int size,
int scale)
throws RdbAdapterException
TypeAdapter
getSqlType in interface TypeAdaptergetSqlType in class BasicRdbAdapterRdbAdapterException
public boolean getBoolean(java.sql.ResultSet rs,
int idx,
boolean nullValue)
throws java.sql.SQLException
ResultsetAdapter
getBoolean in interface ResultsetAdaptergetBoolean in class BasicRdbAdapterjava.sql.SQLException
public java.lang.Boolean getOboolean(java.sql.ResultSet rs,
int idx,
java.lang.Boolean nullValue)
throws java.sql.SQLException
ResultsetAdapter
getOboolean in interface ResultsetAdaptergetOboolean in class BasicRdbAdapterjava.sql.SQLException
public void setBoolean(java.sql.PreparedStatement ps,
int idx,
boolean o)
throws java.sql.SQLException
PreparedStatementAdapter
setBoolean in interface PreparedStatementAdaptersetBoolean in class BasicRdbAdapterjava.sql.SQLException
public void setOboolean(java.sql.PreparedStatement ps,
int idx,
java.lang.Boolean o)
throws java.sql.SQLException
PreparedStatementAdapter
setOboolean in interface PreparedStatementAdaptersetOboolean in class BasicRdbAdapterjava.sql.SQLException
public void setOchar(java.sql.PreparedStatement ps,
int idx,
java.lang.Character o)
throws java.sql.SQLException
PreparedStatementAdapter
setOchar in interface PreparedStatementAdaptersetOchar in class BasicRdbAdapterjava.sql.SQLException
public void writeTableAlias(java.lang.String alias,
java.lang.StringBuffer sb)
RdbAdapter
writeTableAlias in interface RdbAdapterwriteTableAlias in class BasicRdbAdapterpublic boolean supportBatchPreparedStatement()
RdbAdapter
supportBatchPreparedStatement in interface RdbAdaptersupportBatchPreparedStatement in class BasicRdbAdapter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||