The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ota_bjt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ota_bkng_justifications_tl
set
booking_justification_id = p_rec.booking_justification_id
,justification_text = p_rec.justification_text
,source_lang = p_rec.source_lang
,language = p_rec.language
where booking_justification_id = p_rec.booking_justification_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ota_bjt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in ota_bjt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ota_bjt_rku.after_update
(p_booking_justification_id
=> p_rec.booking_justification_id
,p_justification_text
=> p_rec.justification_text
,p_source_lang
=> p_rec.source_lang
,p_language
=> p_rec.language
,p_justification_text_o
=> ota_bjt_shd.g_old_rec.justification_text
,p_source_lang_o
=> ota_bjt_shd.g_old_rec.source_lang
);
End post_update;
ota_bjt_bus.update_validate
(p_rec
);
ota_bjt_upd.pre_update(p_rec);
ota_bjt_upd.update_dml(p_rec);
ota_bjt_upd.post_update
(p_rec
);
select bjt.language
from ota_bkng_justifications_tl bjt
where bjt.booking_justification_id = p_booking_justification_id
and p_language_code in (bjt.language
,bjt.source_lang);