|
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.PostgresDictionary
Dictionary for Postgres.
| Field Summary |
| Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
CENTI, DECI, MICRO, MILLI, NANO, SEC |
| Constructor Summary | |
PostgresDictionary()
|
|
| Method Summary | |
java.util.Date |
getDate(java.sql.ResultSet rs,
int column)
Convert the specified column of the SQL ResultSet to the proper java type. |
protected int |
getDatePrecision()
Set to the precision of timestamps in the data store. |
java.lang.String |
getPlatform()
Return the database platform for this dictionary. |
void |
setClobString(java.sql.PreparedStatement stmnt,
int idx,
java.lang.String val)
Set the given value as a parameter to the statement. |
void |
setString(java.sql.PreparedStatement stmnt,
int idx,
java.lang.String val)
Set the given value as a parameter to the statement. |
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. |
java.sql.Connection |
wrapConnection(java.sql.Connection conn)
Wrap the given connection if needed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PostgresDictionary()
| Method Detail |
public java.lang.String getPlatform()
DBDictionary
getPlatform in class DBDictionary
public void setString(java.sql.PreparedStatement stmnt,
int idx,
java.lang.String val)
throws java.sql.SQLException
DBDictionary
setString in class DBDictionaryjava.sql.SQLException
public void setClobString(java.sql.PreparedStatement stmnt,
int idx,
java.lang.String val)
throws java.sql.SQLException
DBDictionary
setClobString in class DBDictionaryjava.sql.SQLException
public java.util.Date getDate(java.sql.ResultSet rs,
int column)
throws java.sql.SQLException
DBDictionaryTimestamp by default.
getDate in class DBDictionaryjava.sql.SQLExceptionprotected int getDatePrecision()
DBDictionaryDBDictionary.NANO, DBDictionary.MICRO, DBDictionary.MILLI, DBDictionary.CENTI,
DBDictionary.DECI, DBDictionary.SEC. Returns DBDictionary.MILLI by default.
getDatePrecision 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.sql.Connection wrapConnection(java.sql.Connection conn)
DBDictionarysuper.wrapConnection
rather than the original connection argument. By default, the
connection is wrapped in a special connection type that always uses
scrollable result sets (but only if the database supports it and
the configuration's DefaultFetchThreshold is not -1).
wrapConnection 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 | |||||||||