Fallback, if lastInterId() doesn't work we need to perform a select to get the ID (seems to happen sometimes on Oracle)