Tested with Oracle which required some changes.