I got it!
It turned out this had nothing to do with my config file.
I just hope this will help others, as I spent so much time on this issue....
So apparently Oracle needs explicit transaction commit() method call.
I used to have this:
Code:
session.save(some_record);
session.flas();
This will work fine with MySQL (I didn't test it with other databases out there)
However with Oracle we need:
Code:
Transaction t = session.beginTransaction();
session.save(r); //this actually writes to a DB
session.flush();
t.commit();
I guess MySQl has auto-commit feature and Oracle doesn't or the one I'm using doesn't have this feature turned on.
(I don't know that much about Oracle DB)
In any case, this was the issue......
G'day to all