com.solarmetric.kodo.impl.jdbc.schema.dict
Class PointbaseDictionary
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.schema.dict.AbstractDictionary
|
+--com.solarmetric.kodo.impl.jdbc.schema.dict.PointbaseDictionary
- All Implemented Interfaces:
- DBDictionary
- public class PointbaseDictionary
- extends AbstractDictionary
Implementation of the DBDictionary interface for Pointbase Embedded.
| Methods inherited from class com.solarmetric.kodo.impl.jdbc.schema.dict.AbstractDictionary |
addForUpdateClause, bigDecimalFromSQL, bigDecimalToPreparedParameter, bigDecimalToSQL, bigIntegerFromSQL, bigIntegerToPreparedParameter, bigIntegerToSQL, blobToPreparedParameter, blobToSQL, booleanFromSQL, booleanToPreparedParameter, booleanToSQL, byteFromSQL, byteToPreparedParameter, byteToSQL, characterToPreparedParameter, charFromSQL, charToSQL, clobToPreparedParameter, clobToSQL, colsToString, dateFromSQL, dateToPreparedParameter, dateToSQL, dateToTimestamp, doubleFromSQL, doubleToPreparedParameter, doubleToSQL, floatFromSQL, floatToPreparedParameter, floatToSQL, fromSQL, getAddColumnSQL, getClassMappingCandidateClasses, getColumnDeclaration, getColumns, getCreateIndexSQL, getCreateTableSQL, getDatePrecision, getDBMetaData, getDropColumnSQL, getDropTableSQL, getFieldMappingCandidateClasses, getMaxColumnNameLength, getMaxIndexNameLength, getMaxTableNameLength, getNameTruncationVersion, getQuoteNumbers, getSchemaName, getSimulateLocking, getSQLTypeMap, getStoreCharsAsStrings, getStoreLargeNumbersAsStrings, getTables, getValidateConnections, getValidateConnectionSQL, getValidColumnName, getValidIndexName, getValidTableName, initTypeMap, intFromSQL, intToPreparedParameter, intToSQL, isClosed, localeFromSQL, localeToPreparedParameter, localeToSQL, longFromSQL, longToPreparedParameter, longToSQL, objectFromSQL, objectToPreparedParameter, objectToSQL, prepareLargeNumberAsString, setColumnNameGenerator, setCursorName, setDBMetaData, setIndexNameGenerator, setMaxColumnNameLength, setMaxIndexNameLength, setMaxTableNameLength, setNameTruncationVersion, setNullParameter, setQuoteNumbers, setSchemaName, setSimulateLocking, setStoreCharsAsStrings, setStoreLargeNumbersAsStrings, setTableNameGenerator, setTransactionIsolation, setValidateConnections, setValidateConnectionSQL, shortFromSQL, shortToPreparedParameter, shortToSQL, stringFromSQL, stringToPreparedParameter, stringToSQL, supportsUpdateCountsForBatch, tablesToString, toPreparedParameter, toSelect, toSelect, toSelect, toSQL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointbaseDictionary
public PointbaseDictionary()
getPlatform
public String getPlatform()
- Description copied from class:
AbstractDictionary
- Return the title of this database platform, used for display only.
- Overrides:
getPlatform in class AbstractDictionary
supportsLocking
public boolean supportsLocking()
- Pointbase does not understand FOR UPDATE.
- Overrides:
supportsLocking in class AbstractDictionary
setupSQLTypeMap
protected void setupSQLTypeMap(SQLTypeMap map)
- This limits the upper size on BLOB and CLOB to 1 megabyte.
- Overrides:
setupSQLTypeMap in class AbstractDictionary
blobFromSQL
public Object blobFromSQL(ResultSet rs,
int column)
throws SQLException
- Pointbase does not return a byte[] when
ResultSet.getObject()
is invoked. This code uses getBytes() instead.
- Overrides:
blobFromSQL in class AbstractDictionary
getDropIndexSQL
protected SQLBuffer getDropIndexSQL(Index index)
- Description copied from class:
AbstractDictionary
- Return the SQL to drop an index. Defaults to:
DROP INDEX <index-name>
- Overrides:
getDropIndexSQL in class AbstractDictionary
clobFromSQL
public String clobFromSQL(ResultSet rs,
int column)
throws SQLException
- Overrides:
clobFromSQL in class AbstractDictionary
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.