-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from nablarch/feature-1
DatabaseRecordReaderでSELECT前に任意の処理を挟めるようにする
- Loading branch information
Showing
4 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
group = 'com.nablarch.framework' | ||
version = '1.1.2' | ||
version = '1.2.0' | ||
description = 'バッチ処理方式を実現する' | ||
|
||
buildscript { | ||
|
18 changes: 18 additions & 0 deletions
18
src/main/java/nablarch/fw/reader/DatabaseRecordListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package nablarch.fw.reader; | ||
|
||
import nablarch.core.util.annotation.Published; | ||
|
||
/** | ||
* {@link DatabaseRecordReader}で処理対象レコードをキャッシュするためのデータベースアクセス前に | ||
* コールバックされるメソッドを定義するインタフェース。 | ||
* | ||
* @author Naoki Yamamoto | ||
*/ | ||
@Published | ||
public interface DatabaseRecordListener { | ||
|
||
/** | ||
* 処理対象レコードをキャッシュするためのデータベースアクセス前に呼び出される。 | ||
*/ | ||
void beforeReadRecords(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters