Ticket #6235

バッチ更新した際、更新に失敗したデータの有無を判定したい
Eröffnet am: 2005-06-29 02:13 Letztes Update: 2005-06-29 02:13

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
3
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

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

public Class BEAN = Entity.class;

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


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

Ticket-Verlauf (0/0 Historien)

Dateianhangliste

Keine Anhänge

Bearbeiten

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