SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

com.solarmetric.kodo.impl.jdbc.schema.dict
Class PointbaseDictionary

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary
        |
        +--com.solarmetric.kodo.impl.jdbc.schema.dict.PointbaseDictionary
All Implemented Interfaces:
DBDictionary

public class PointbaseDictionary
extends GenericDictionary

Implementation of the DBDictionary interface for Pointbase Embedded.


Fields inherited from class com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary
CENTI, DECI, meta, MICRO, MILLI, NANO, NUMBER_FORMAT, SEC
 
Constructor Summary
PointbaseDictionary()
           
 
Method Summary
 Object blobFromSQL(ResultSet rs, int column)
          Pointbase does not return a byte[] when ResultSet.getObject() is invoked.
 String getPlatform()
          Return the title of this database platform, used for display only.
protected  void setupSQLTypeMap(SQLTypeMap map)
          This limits the upper size on BLOB and CLOB to 1 megabyte.
 String toSelect(String[] cols, String[] tables, String where, String order, boolean distinct, boolean update)
          Pointbase does not understand FOR UPDATE.
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary
bigDecimalFromSQL, bigDecimalToPreparedParameter, bigDecimalToSQL, bigIntegerFromSQL, bigIntegerToPreparedParameter, bigIntegerToSQL, blobToPreparedParameter, blobToSQL, booleanFromSQL, booleanToPreparedParameter, booleanToSQL, byteFromSQL, byteToPreparedParameter, byteToSQL, characterToPreparedParameter, charFromSQL, charToSQL, clobFromSQL, clobToPreparedParameter, clobToSQL, colsToString, dateFromSQL, dateToPreparedParameter, dateToSQL, dateToTimestamp, doubleFromSQL, doubleToPreparedParameter, doubleToSQL, floatFromSQL, floatToPreparedParameter, floatToSQL, fromSQL, getAddColumnSQL, getClassMappingCandidateClasses, getColumnDeclaration, getColumns, getCreateIndexSQL, getCreateTableSQL, getDatePrecision, getDBMetaData, getDropColumnSQL, getDropIndexSQL, getDropTableSQL, getFieldMappingCandidateClasses, getMaxColumnNameLength, getMaxIndexNameLength, getMaxTableNameLength, getNameTruncationVersion, getQuoteNumbers, getSchemaName, getSQLTypeMap, getTables, getValidColumnName, getValidIndexName, getValidTableName, intFromSQL, intToPreparedParameter, intToSQL, localeFromSQL, localeToPreparedParameter, localeToSQL, longFromSQL, longToPreparedParameter, longToSQL, objectFromSQL, objectToPreparedParameter, objectToSQL, setDBMetaData, setNameTruncationVersion, setQuoteNumbers, setSchemaName, shortFromSQL, shortToPreparedParameter, shortToSQL, stringFromSQL, stringToPreparedParameter, stringToSQL, tablesToString, toPreparedParameter, toSelect, toSQL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointbaseDictionary

public PointbaseDictionary()
Method Detail

getPlatform

public String getPlatform()
Description copied from class: GenericDictionary
Return the title of this database platform, used for display only.
Overrides:
getPlatform in class GenericDictionary

toSelect

public String toSelect(String[] cols,
                       String[] tables,
                       String where,
                       String order,
                       boolean distinct,
                       boolean update)
Pointbase does not understand FOR UPDATE.
Overrides:
toSelect in class GenericDictionary
Following copied from interface: com.solarmetric.kodo.impl.jdbc.schema.DBDictionary
Parameters:
cols - list of values the columns to select
tables - list of the tables to select from
where - the WHERE conditions; may be null if none
order - the ORDER BY conditions; may be null if none
distinct - if true, this should be a SELECT DISTINCT-equivalent query
update - if true this should be a SELECT FOR UPDATE-equivalent query

setupSQLTypeMap

protected void setupSQLTypeMap(SQLTypeMap map)
This limits the upper size on BLOB and CLOB to 1 megabyte.
Overrides:
setupSQLTypeMap in class GenericDictionary

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 GenericDictionary

SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.