Make project work with Oracle database, fix error with NULL set in Oracle