Database event logger: fix Oracle qa (switch to using sequence instead of trigger)