|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RowProcessor | |
---|---|
biz.hammurapi.sql |
Uses of RowProcessor in biz.hammurapi.sql |
---|
Subinterfaces of RowProcessor in biz.hammurapi.sql | |
---|---|
interface |
MetadataAwareRowProcessor
|
interface |
RowProcessorEx
Contains handler of empty ResultSet |
Classes in biz.hammurapi.sql that implement RowProcessor | |
---|---|
class |
RowsetConfigurableContainer
Container, which reads component definitions from rowset. |
Methods in biz.hammurapi.sql with parameters of type RowProcessor | |
---|---|
void |
SQLProcessor.processResourceSelect(java.lang.String resourceName,
Parameterizer parameterizer,
RowProcessor rowProcessor)
Processes SELECT statement read from resource file. |
void |
SQLProcessor.processSelect(java.lang.String sql,
Parameterizer parameterizer,
RowProcessor rowProcessor)
Processes SQL SELECT statement in the following way: Obtains connection If parameterizer==null creates Statement, creates PreparedStatement otherwise Invokes parameterizer.parameterize() if parameterizer is not null Iterates through result set and invokes rowProcessor.process() on each row If there was no rows and rowProcess is instance of RowProcessorEx then rowProcessor.onEmptyResultSet() is invoked
ResultSet, Statement and connection are properly released
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |