fixed bug in oracle trigger code

Change-Id: Iccacb0c6333b9a8678c0ca6aa24b5a7bc71a3564