Fixes #786 - Use the low value of the Hibernate sequence generator table when getting new IDs for entities