Ticket #6235

バッチ更新した際、更新に失敗したデータの有無を判定したい
오픈 날짜: 2005-06-29 02:13 마지막 업데이트: 2005-06-29 02:13

Reporter:
소유자:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
3
Severity:
5 - Medium
Resolution:
None
File:
None

Details

[Seasar-user:2093]
------------------------------------------
public interface TestDao {

public Class BEAN = Entity.class;

public int updateList(List list);
}
------------------------------------------


上記コードのような、Timestampによる排他制御を使用した更
新処理を行っている場合、
ListにEntityを詰めてバッチ更新した際、更新に失敗した
データの有無を判定したいが
戻り値(int)は、成功・失敗にかかわらず、パラメータで渡し
たListの件数が返ってくる。

Ticket History (0/0 Histories)

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login