|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.platforms.PlatformDefaultImpl
org.apache.ojb.broker.platforms.PlatformDerbyImpl
public class PlatformDerbyImpl
This class defines specific behavior for the Derby platform.
| Field Summary |
|---|
| Fields inherited from interface org.apache.ojb.broker.accesslayer.JoinSyntaxTypes |
|---|
ORACLE_JOIN_SYNTAX, SQL92_JOIN_SYNTAX, SQL92_NOPAREN_JOIN_SYNTAX, SYBASE_JOIN_SYNTAX |
| Constructor Summary | |
|---|---|
PlatformDerbyImpl()
|
|
| Method Summary | |
|---|---|
byte |
getJoinSyntaxType()
Get join syntax type for this RDBMS - one on of the constants from JoinSyntaxType interface |
java.lang.String |
getLastInsertIdentityQuery(java.lang.String tableName)
If database supports native key generation via identity column, this method should return the sql-query to obtain the last generated id. |
void |
setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int jdbcType)
Called to let the Platform implementation perform any JDBC type-specific operations needed by the driver when binding positional parameters for a PreparedStatement. |
boolean |
supportsMultiColumnCountDistinct()
Whether the platform supports a COUNT DISTINCT across multiple columns. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformDerbyImpl()
| Method Detail |
|---|
public byte getJoinSyntaxType()
getJoinSyntaxType in interface PlatformgetJoinSyntaxType in class PlatformDefaultImplPlatform.getJoinSyntaxType()public boolean supportsMultiColumnCountDistinct()
supportsMultiColumnCountDistinct in interface PlatformsupportsMultiColumnCountDistinct in class PlatformDefaultImpltrue if it is supported
public void setObjectForStatement(java.sql.PreparedStatement ps,
int index,
java.lang.Object value,
int jdbcType)
throws java.sql.SQLException
setObjectForStatement in interface PlatformsetObjectForStatement in class PlatformDefaultImpljava.sql.SQLExceptionpublic java.lang.String getLastInsertIdentityQuery(java.lang.String tableName)
getLastInsertIdentityQuery in interface PlatformgetLastInsertIdentityQuery in class PlatformDefaultImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||