|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.dict.HSQLDictionary
Dictionary for Hypersonic SQL database.
| Field Summary |
| Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
CENTI, DECI, MICRO, MILLI, NANO, SEC |
| Constructor Summary | |
HSQLDictionary()
|
|
| Method Summary | |
java.lang.String[] |
getAddColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column column)
Return a series of SQL statements to add the given column to its table. |
java.lang.String[] |
getAddPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
Return a series of SQL statements to add the given primary key to its table. |
java.lang.Object |
getBlobObject(java.sql.ResultSet rs,
int column)
Convert the specified column of the SQL ResultSet to the proper java type. |
java.lang.String[] |
getDropPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
Return a series of SQL statements to drop the given primary key from its table. |
java.lang.String |
getPlatform()
Return the database platform for this dictionary. |
int |
getPreferredType(int type)
Return the preferred Types type for the given one. |
boolean |
isSystemIndex(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
This method is used to filter system indexes from database metadata. |
boolean |
supportsDeferredConstraints()
Return true if the database supports deferred constraints. |
boolean |
supportsForeignKeyDeleteAction(int action)
Return true if the database supports the given foreign key delete action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HSQLDictionary()
| Method Detail |
public java.lang.String getPlatform()
DBDictionary
getPlatform in class DBDictionarypublic boolean supportsForeignKeyDeleteAction(int action)
DBDictionaryForeignKey.ACTION_NONE by default.
supportsForeignKeyDeleteAction in class DBDictionarypublic boolean supportsDeferredConstraints()
DBDictionary
supportsDeferredConstraints in class DBDictionary
public java.lang.Object getBlobObject(java.sql.ResultSet rs,
int column)
throws java.sql.SQLException
DBDictionary
getBlobObject in class DBDictionaryjava.sql.SQLExceptionpublic int getPreferredType(int type)
DBDictionaryTypes type for the given one. Returns
the given type by default.
getPreferredType in class DBDictionarypublic java.lang.String[] getAddPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
DBDictionaryALTER TABLE <table name> ADD
<pk cons sql > by default.
getAddPrimaryKeySQL in class DBDictionarypublic java.lang.String[] getDropPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
DBDictionaryALTER TABLE <table name> DROP CONSTRAINT
<pk name> by default.
getDropPrimaryKeySQL in class DBDictionarypublic java.lang.String[] getAddColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column column)
DBDictionaryDBMetaData is checked for support automatically. Returns
ALTER TABLE <table name> ADD (<col dec>)
by default.
getAddColumnSQL in class DBDictionary
public boolean isSystemIndex(java.lang.String name,
com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
DBDictionary
isSystemIndex in class DBDictionaryname - the index nametable - the index table
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||