mungkin pada query insert ataupun update terjadi error
ORA-xxxx, sehingga tdk sampai pada line commit;
saran,, coba tambahkan exeception pada masing2 DML-nya (insert dan update)
caranya tambahkan:
begin
{INSERT};
exception
when others then
return ....;
end;
begin
{UPDATE};
exception
when others then
return ....;
end;
commit;
CMIIW
Pada tanggal 04/06/07, Johannes Christian <[EMAIL PROTECTED]>
menulis:
>
> AFAIK, sebelum di commit pun, data di db anda sudah berubah, tapi belom
> permanen.harusnya anda reload form nya (* baca ulang data di table *)
>
> --jo--
> abe ashfi wrote:
> >
> > dear all,
> >
> > nanya lagi dunk...
> >
> > gw bingung nih.. knp ya?
> >
> > gw kan pake stored function, yg isinya ada proses
> > insert atau update.
> > terus abis proses itu gw tambahain commit;
> >
> > knp ya pas abis transaksi di form gw yg pake store
> > function tsb, ko gak ada perubahan di table yg di
> > pake..
> >
> > bukan nya pas kita commit itu kita jg melakukan commit
> > terhadap database?
> >
> > atau gimana caranya supaya bisa gw jg melakukan commit
> > di stored function?
> >
> > thank's 4 all.
> >
> > abe
> > IT'ers Bandung
> >
> > __________________________________________________________
> > Shape Yahoo! in your own image. Join our Network Research Panel today!
> > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
> > <http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7>
> >
> >
>
>
>
--
Firman HM
PT. Xsis Mitra Utama
Graha BIP 7th Floor Jl. Jend. Gatot Subroto Kav.23 Jakarta 12930 -
Indonesia
Tel : +62-21-5210565 Hotline : +62-21-5210564 Fax : +62-21-5229777
[Non-text portions of this message have been removed]