インタフェースの使用
org.nkjmlab.sorm4j.basic.FunctionHandler
-
FunctionHandlerを使用しているパッケージ パッケージ 説明 org.nkjmlab.sorm4j Provides the main API for Sorm4j.org.nkjmlab.sorm4j.basic Package for SqlExecutor. -
-
org.nkjmlab.sorm4jでのFunctionHandlerの使用
FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 <R> RSorm. apply(FunctionHandler<OrmConnection,R> handler)Applies aOrmConnectionhandler for a task with object-relation mapping and gets the result.<R> RSorm. applyJdbcConnectionHandler(FunctionHandler<Connection,R> handler)Applies aConnectionhandler for a task with object-relation mapping and gets the result.<R> RSorm. applyTransactionHandler(FunctionHandler<OrmTransaction,R> handler)Applies aOrmTransactionhandler for a task with object-relation mapping and gets the result.<R> RSorm. applyWithLogging(FunctionHandler<OrmConnection,R> handler) -
org.nkjmlab.sorm4j.basicでのFunctionHandlerの使用
FunctionHandler型のパラメータを持つorg.nkjmlab.sorm4j.basicのメソッド 修飾子とタイプ メソッド 説明 <T> TSqlExecutor. executeQuery(FunctionHandler<Connection,PreparedStatement> statementSupplier, ResultSetTraverser<T> traverser)Executes the query with the given PreparedStatement and applies the given RowMapper.<T> List<T>SqlExecutor. executeQuery(FunctionHandler<Connection,PreparedStatement> statementSupplier, RowMapper<T> rowMapper)Executes the query with the given PreparedStatement and applies the given RowMapper.
-