public interface TopiaSqlSupport
| Modifier and Type | Method and Description |
|---|---|
void |
doSqlWork(TopiaSqlWork sqlWork)
Runs the given SQL work on the current context
|
void |
executeSql(String sqlScript)
Execute a given SQL code inside this transaction.
|
<O> List<O> |
findMultipleResult(TopiaSqlQuery<O> query)
Runs the given SQL query and return all his result if there is some.
|
<O> O |
findSingleResult(TopiaSqlQuery<O> query)
Runs the given SQL query and return its first result if there is some.
|
void executeSql(String sqlScript)
sqlScript - the sql script to executevoid doSqlWork(TopiaSqlWork sqlWork)
sqlWork - the SQL work instance to execute<O> O findSingleResult(TopiaSqlQuery<O> query) throws TopiaException
query - query to playnull if none found.TopiaException - for any pb<O> List<O> findMultipleResult(TopiaSqlQuery<O> query) throws TopiaException
query - query to playTopiaException - for any pbCopyright © 2004–2015 CodeLutin. All rights reserved.