|
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.SQLServerDictionary
Dictionary for MS SQLServer.
| Field Summary |
| Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
CENTI, DECI, MICRO, MILLI, NANO, SEC |
| Constructor Summary | |
SQLServerDictionary()
|
|
| Method Summary | |
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. |
int |
getPreferredType(int type)
Return the preferred Types type for the given one. |
protected java.lang.String |
getTypeName(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Return the preferred database type for the given column's type from Types. |
void |
setNull(java.sql.PreparedStatement stmnt,
int idx,
int colType)
Set the given value as a parameters to the statement. |
boolean |
supportsDeferredConstraints()
Return true if the database supports deferred constraints. |
com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer |
toSelect(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer select,
java.lang.String tables,
com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer where,
com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer order,
boolean distinct,
boolean forUpdate)
Create a SELECT statement for this database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLServerDictionary()
| Method Detail |
public java.lang.String getPlatform()
DBDictionary
getPlatform in class DBDictionarypublic boolean supportsDeferredConstraints()
DBDictionary
supportsDeferredConstraints in class DBDictionary
public void setNull(java.sql.PreparedStatement stmnt,
int idx,
int colType)
throws java.sql.SQLException
DBDictionaryTypes.
setNull in class DBDictionaryjava.sql.SQLExceptionpublic int getPreferredType(int type)
DBDictionaryTypes type for the given one. Returns
the given type by default.
getPreferredType in class DBDictionaryprotected java.lang.String getTypeName(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
DBDictionaryTypes. Defaults to using the DBMetaData.
getTypeName in class DBDictionary
public com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer toSelect(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer select,
java.lang.String tables,
com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer where,
com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer order,
boolean distinct,
boolean forUpdate)
DBDictionary
toSelect in class DBDictionarypublic java.lang.String[] getDropIndexSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Index idx)
DBDictionaryDROP INDEX <index name> by default.
getDropIndexSQL in class DBDictionary
|
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 | |||||||||