|
||||||||||
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 EJBQLTranslatorFactory |
createEJBQLTranslatorFactory()
Creates and returns an EJBQLTranslatorFactory used to generate visitors for
EJBQL to SQL translations. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
String |
getBatchTerminator()
Returns word "go". |
void |
initIdentifiersQuotes()
|
MergerFactory |
mergerFactory()
|
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 void initIdentifiersQuotes()
initIdentifiersQuotes
in class JdbcAdapter
protected EJBQLTranslatorFactory createEJBQLTranslatorFactory()
JdbcAdapter
EJBQLTranslatorFactory
used to generate visitors for
EJBQL to SQL translations. This method should be overriden by subclasses that need
to customize EJBQL generation.
createEJBQLTranslatorFactory
in class JdbcAdapter
public String getBatchTerminator()
getBatchTerminator
in interface DbAdapter
getBatchTerminator
in class JdbcAdapter
protected void configureExtendedTypes(ExtendedTypeMap map)
configureExtendedTypes
in class JdbcAdapter
protected 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 DbAdapter
bindParameter
in class JdbcAdapter
SQLException
Exception
public MergerFactory mergerFactory()
mergerFactory
in interface DbAdapter
mergerFactory
in class JdbcAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |