I have a plsql
-Script. When I run it on sqldeveloper
it works fine.
But when I run it in spring boot jdbctemplate
:
jdbcTemplate.execute(Sql);
It doesn't update in db.
plsql sample
BEGIN
UPDATE cust_txcutover_uda
SET TX_CUTOVER_COMMENTS =
SUBSTR ('aa/bb', 1, INSTR ('aa/bb', '/') - 1)
WHERE CUST_TXCUTOVER_UDA_ID = '1373';
COMMIT;
END;
I can't find the reason for that, how can I run plsql
with jdbctemplate
?