|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--kodo.jdbc.sql.DBDictionary
|
+--kodo.jdbc.sql.DB2Dictionary
Dictionary for IBM DB2 database.
| Constructor Summary | |
DB2Dictionary()
|
|
| Method Summary | |
protected void |
appendSelectPostRange(SQLBuffer buf,
long start,
long end)
If this dictionary places range limits on select statements at the end, just before the FOR UPDATE clause, use this method to append the range SQL. |
Connection |
decorate(Connection conn)
Decorate the given connection if needed. |
void |
indexOf(SQLBuffer buf,
FilterValue str,
FilterValue find,
FilterValue start)
Invoke this database's indexOf function. |
void |
substring(SQLBuffer buf,
FilterValue str,
FilterValue start,
FilterValue end)
Invoke this database's substring function. |
boolean |
supportsRandomAccessResultSet(Select sel,
boolean forUpdate)
Return false if the given select requires a forward-only result set. |
SQLBuffer |
toSQL92Join(Join join,
boolean forUpdate,
boolean first)
Use the given join instance to create SQL joining its tables in the SQL92 style. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DB2Dictionary()
| Method Detail |
public boolean supportsRandomAccessResultSet(Select sel,
boolean forUpdate)
DBDictionarysupportsRandomAccessResultSet in class DBDictionary
public SQLBuffer toSQL92Join(Join join,
boolean forUpdate,
boolean first)
DBDictionarytoSQL92Join in class DBDictionary
protected void appendSelectPostRange(SQLBuffer buf,
long start,
long end)
DBDictionaryappendSelectPostRange in class DBDictionary
public void indexOf(SQLBuffer buf,
FilterValue str,
FilterValue find,
FilterValue start)
DBDictionaryindexOf in class DBDictionarykodo.jdbc.sql.DBDictionarybuf - the SQL buffer to write the indexOf invocation tostr - a query value representing the target stringsearch - a query value representing the search stringstart - a query value representing the start index, or null
to start at the beginning
public void substring(SQLBuffer buf,
FilterValue str,
FilterValue start,
FilterValue end)
DBDictionarysubstring in class DBDictionarykodo.jdbc.sql.DBDictionarybuf - the SQL buffer to write the substring invocation tostr - a query value representing the target stringstart - a query value representing the start indexend - a query value representing the end index, or null
for none
public Connection decorate(Connection conn)
throws SQLException
DBDictionaryDBDictionary.initializationSQL that has been set for the dictionary but
does not decoreate the connection.decorate in class DBDictionary
|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||