public class NoneAdapter extends AbstractAdapter
ADAPTER_KEY, AUTODETECT_ADAPTER, DRIVER_KEY| Modifier | Constructor and Description |
|---|---|
protected |
NoneAdapter()
Empty protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIDMethodSQL(Object obj)
Returns SQL used to get the most recently inserted primary key.
|
IDMethod |
getIDMethodType()
Returns the constant from the
IDMethod interface denoting which
type of primary key generation method this type of RDBMS uses. |
String |
ignoreCase(String in)
This method is used to ignore case.
|
void |
lockTable(Connection con,
String table)
Locks the specified table.
|
boolean |
supportsNativeLimit()
Returns whether the database can natively limit the size of the ResultSet
of a query.
|
boolean |
supportsNativeOffset()
Returns whether the database natively supports returning results
starting at an offset position other than 0.
|
String |
toUpperCase(String in)
This method is used to ignore case.
|
void |
unlockTable(Connection con,
String table)
Unlocks the specified table.
|
escapeText, generateLimits, getStringDelimiter, getUpdateLockClause, ignoreCaseInOrderBy, setCapabilities, useEscapeClauseForLike, useGetGeneratedKeys, useIlike, useMinusForExceptpublic String toUpperCase(String in)
toUpperCase in interface AdaptertoUpperCase in class AbstractAdapterin - The string to transform to upper case.public String ignoreCase(String in)
ignoreCase in interface AdapterignoreCase in class AbstractAdapterin - The string whose case to ignore.public IDMethod getIDMethodType()
AbstractAdapterIDMethod interface denoting which
type of primary key generation method this type of RDBMS uses.getIDMethodType in interface AdaptergetIDMethodType in class AbstractAdapterAdapter.getIDMethodType()public String getIDMethodSQL(Object obj)
AbstractAdapternull.getIDMethodSQL in interface AdaptergetIDMethodSQL in class AbstractAdapterobj - Information used for key generation.Adapter.getIDMethodSQL(Object obj)public void lockTable(Connection con, String table) throws SQLException
lockTable in interface AdapterlockTable in class AbstractAdaptercon - The JDBC connection to use.table - The name of the table to lock.SQLException - No Statement could be created or executed.public void unlockTable(Connection con, String table) throws SQLException
unlockTable in interface AdapterunlockTable in class AbstractAdaptercon - The JDBC connection to use.table - The name of the table to unlock.SQLException - No Statement could be created or executed.public boolean supportsNativeLimit()
supportsNativeLimit in interface AdaptersupportsNativeLimit in class AbstractAdapterpublic boolean supportsNativeOffset()
supportsNativeOffset in interface AdaptersupportsNativeOffset in class AbstractAdapterCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.