|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISqlDAO
Defines an interface for executing arbitrary SQL against a database. Used to assist in accessing raw data for arbitrary reports, or as a data source from which data can be pulled to be logged as a DataPoint for a "data in timeline" type report.
Method Summary | |
---|---|
java.util.List |
findBySqlQuery(java.lang.String query)
Executes an arbitrary SQL select statement against the configured connection, and returns the result as a List of Maps (via Commons DbUtils). |
int |
updateWithSQL(java.lang.String query)
Executes an arbitrary SQL UPDATE or INSERT statement against the configured connection. |
Method Detail |
---|
java.util.List findBySqlQuery(java.lang.String query)
query
- the SQL query to run
int updateWithSQL(java.lang.String query)
query
- the SQL query to run
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |