SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.schema.dict
Class SybaseDictionary

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary
        |
        +--com.solarmetric.rd.kodo.impl.jdbc.schema.dict.SybaseDictionary

public class SybaseDictionary
extends DBDictionary

Dictionary for Sybase.


Field Summary
 
Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary
CENTI, DECI, MICRO, MILLI, NANO, SEC
 
Constructor Summary
SybaseDictionary()
           
 
Method Summary
protected  java.lang.String getDeclareColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col, boolean alter)
          Return the declaration SQL for the given column.
 java.lang.String[] getDropIndexSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Index idx)
          Return a series of SQL statements to drop the given index.
 java.lang.String getPlatform()
          Return the database platform for this dictionary.
 boolean supportsSelectForUpdate()
          Whether locking on queries is supported; returns the metadata's reported value by default.
 
Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary
addSystemSchema, addSystemTable, generateForeignKeys, generateIndexes, generatePrimaryKeys, generateTables, getAddColumnSQL, getAddForeignKeySQL, getAddPrimaryKeySQL, getArray, getAsciiStream, getBigDecimal, getBigInteger, getBinaryStream, getBlob, getBlobObject, getBoolean, getByte, getBytes, getChar, getCharacterStream, getClob, getClobString, getConfiguration, getCreateIndexSQL, getCreateTableSQL, getDate, getDate, getDatePrecision, getDBMetaData, getDouble, getDropColumnSQL, getDropForeignKeySQL, getDropPrimaryKeySQL, getDropTableSQL, getFloat, getForeignKeyActionName, getForeignKeyConstraintSQL, getInt, getJDBCType, getJDBCType, getLocale, getLong, getObject, getPreferredType, getPrimaryKeyConstraintSQL, getRef, getShort, getSimulateLocking, getStoreCharsAsNumbers, getStoreLargeNumbersAsStrings, getString, getSystemSchemas, getSystemTables, getTime, getTimestamp, getTypeName, getValidColumnName, getValidForeignKeyName, getValidIndexName, getValidPrimaryKeyName, getValidTableName, isSystemIndex, isSystemTable, makeNameValid, replaceMapping, replaceMappingFactory, replaceSchemaFactory, setArray, setAsciiStream, setBigDecimal, setBigInteger, setBinaryStream, setBlob, setBlobObject, setBoolean, setByte, setBytes, setChar, setCharacterStream, setClob, setClobString, setConfiguration, setDate, setDate, setDBMetaData, setDouble, setFloat, setInt, setLocale, setLong, setNull, setObject, setRef, setShort, setSimulateLocking, setStoreCharsAsNumbers, setStoreLargeNumbersAsStrings, setString, setSystemSchemas, setSystemTables, setTime, setTimestamp, supportsDeferredConstraints, supportsForeignKeyDeleteAction, supportsUpdateCountsForBatch, toSelect, wrapConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SybaseDictionary

public SybaseDictionary()
Method Detail

getPlatform

public java.lang.String getPlatform()
Description copied from class: DBDictionary
Return the database platform for this dictionary.

Overrides:
getPlatform in class DBDictionary

supportsSelectForUpdate

public boolean supportsSelectForUpdate()
Description copied from class: DBDictionary
Whether locking on queries is supported; returns the metadata's reported value by default.

Overrides:
supportsSelectForUpdate in class DBDictionary

getDropIndexSQL

public java.lang.String[] getDropIndexSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Index idx)
Description copied from class: DBDictionary
Return a series of SQL statements to drop the given index. Returns DROP INDEX <index name> by default.

Overrides:
getDropIndexSQL in class DBDictionary

getDeclareColumnSQL

protected java.lang.String getDeclareColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col,
                                               boolean alter)
Description copied from class: DBDictionary
Return the declaration SQL for the given column. This method is used for each column from within DBDictionary.getCreateTableSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Table) and DBDictionary.getAddColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column).

Overrides:
getDeclareColumnSQL in class DBDictionary

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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