|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.app.AppOraListBuilder
public class AppOraListBuilder
Oracle ListBuilder implementation that applies Oracle type conversions.
Constructor Summary | |
---|---|
AppOraListBuilder()
Default constructor |
Method Summary | |
---|---|
java.util.List |
buildList(java.sql.ResultSet rs)
Construct a list from the given ResultSet and perform Oracle database type conversions where required. |
java.util.List |
buildList(java.sql.ResultSet rs,
java.lang.Class returnType)
Construct a list from the given ResultSet and perform Oracle database type conversions where required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppOraListBuilder()
Method Detail |
---|
public java.util.List buildList(java.sql.ResultSet rs, java.lang.Class returnType) throws java.sql.SQLException, DaoException
In addition result entries are wrapped as instances of the specified return type. This implementation requires that the provided class be an implementation of the toolbox.app.AppBean interface.
buildList
in interface ListBuilder
rs
- ResultSet to use.returnType
- Class denoting the return type. Must be an
implementation of the toolbox.app.AppBean interface.
java.sql.SQLException
- if the ResultSet cannot be accessed.
DaoException
- if the results cannot be wrapped as the specified
return type.public java.util.List buildList(java.sql.ResultSet rs) throws java.sql.SQLException
buildList
in interface ListBuilder
rs
- ResultSet to use.
java.sql.SQLException
- if the ResultSet cannot be accessed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |