- All Known Implementing Classes:
DefaultSQLTemplate
public interface SQLTemplate
-
Method Summary
Modifier and Type Method Description <T> TdoInTransaction(Supplier<T> supplier)intexecute(DBStatement sql)voidexecute(DBStatement sql, SQLConsumer<ResultSet> rsConsumer)<T> Texecute(DBStatement sql, SQLFunction<ResultSet,T> mapper)ConnectiongetConnection()<T> Stream<T>stream(DBStatement sql, SQLFunction<ResultSet,T> row)
-
Method Details
-
execute
-
execute
-
getConnection
- Throws:
SQLException
-
execute
-
stream
-
doInTransaction
-