|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICustomQuery
| Method Summary | ||
|---|---|---|
|
find(IResultSetReader<T> rse)
Execute the query reading the ResultSet with a IResultSetReader. |
|
BigDecimal |
findBigDecimal()
Execute the query and read the result as a BigDecimal value |
|
boolean |
findBoolean()
Execute the query and read the result as a boolean value |
|
double |
findDouble()
Execute the query and read the result as a double value |
|
float |
findFloat()
Execute the query and read the result as a float value |
|
int |
findInt()
Execute the query and read the result as an int value |
|
List<Object[]> |
findList()
Execute the query and read the result creating a List of all the ordered arrays with the extracted column values for every row. |
|
long |
findLong()
Execute the query and read the result as an long value |
|
String |
findString()
Execute the wuery and read the result as a String value |
|
Object[] |
findUnique()
Execute the query and read the result creating an ordered array with the extracted column values or null (if no matching bean is found). |
|
| Method Detail |
|---|
<T> T find(IResultSetReader<T> rse)
throws OrmException
rse - object that will extract all rows of results
OrmException
List<Object[]> findList()
throws OrmException
OrmException
Object[] findUnique()
throws OrmNotUniqueResultException
OrmNotUniqueResultException - if more than one row is returned from the query
int findInt()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
long findLong()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
double findDouble()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
float findFloat()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
String findString()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
boolean findBoolean()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
BigDecimal findBigDecimal()
throws OrmException
sql - SQL query to executeargs - arguments to bind to the query
OrmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||