|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.sybase.SybaseAdapter
public class SybaseAdapter
DbAdapter implementation for Sybase RDBMS.
| Field Summary |
|---|
| Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
|---|
ejbqlTranslatorFactory, extendedTypes, identifiersEndQuote, identifiersStartQuote, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
| Constructor Summary | |
|---|---|
SybaseAdapter()
|
|
| Method Summary | |
|---|---|
void |
bindParameter(PreparedStatement statement,
Object object,
int pos,
int sqlType,
int precision)
Binds an object value to PreparedStatement's numbered parameter. |
protected void |
configureExtendedTypes(ExtendedTypeMap map)
Installs appropriate ExtendedTypes as converters for passing values between JDBC and Java layers. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
String |
getBatchTerminator()
Returns word "go". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SybaseAdapter()
| Method Detail |
|---|
public String getBatchTerminator()
getBatchTerminator in interface DbAdaptergetBatchTerminator in class JdbcAdapterprotected void configureExtendedTypes(ExtendedTypeMap map)
configureExtendedTypes in class JdbcAdapterprotected PkGenerator createPkGenerator()
createPkGenerator in class JdbcAdapter
public void bindParameter(PreparedStatement statement,
Object object,
int pos,
int sqlType,
int precision)
throws SQLException,
Exception
DbAdapter
bindParameter in interface DbAdapterbindParameter in class JdbcAdapterSQLException
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||