Package tigase.db.converter
Class QueryExecutor
- java.lang.Object
-
- tigase.db.converter.QueryExecutor
-
public class QueryExecutor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
QueryExecutor.QueryFunction<T,R>
-
Constructor Summary
Constructors Constructor Description QueryExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> X
executeQuery(java.lang.String preparedStatementId, QueryExecutor.QueryFunction<java.sql.PreparedStatement,X> fun)
-
-
-
Method Detail
-
executeQuery
public <X> X executeQuery(java.lang.String preparedStatementId, QueryExecutor.QueryFunction<java.sql.PreparedStatement,X> fun) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-