Class Executor
- java.lang.Object
-
- technology.openpool.ldap.adapter.sql.impl.Executor
-
public class Executor extends Object
The SQL specific database executor.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNATIVE_SQL_INDICATOR
-
Constructor Summary
Constructors Constructor Description Executor(org.slf4j.Logger logger, Connection connection, String resourcePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Result>
Texecute(String clause, Map<String,Object> parameters, Class<T> clazz)<T extends Result>
TexecuteById(String clauseId, Map<String,Object> parameters, Class<T> clazz)ConnectiongetConnection()QueryDefFactorynewQueryDefFactory()
-
-
-
Field Detail
-
NATIVE_SQL_INDICATOR
public static final String NATIVE_SQL_INDICATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Executor
public Executor(org.slf4j.Logger logger, Connection connection, String resourcePath)
-
-
Method Detail
-
executeById
public <T extends Result> T executeById(String clauseId, Map<String,Object> parameters, Class<T> clazz) throws SQLException
- Throws:
SQLException
-
execute
public <T extends Result> T execute(String clause, Map<String,Object> parameters, Class<T> clazz) throws SQLException
- Throws:
SQLException
-
newQueryDefFactory
public QueryDefFactory newQueryDefFactory()
-
getConnection
public Connection getConnection()
-
-