changes to use sequence table for generated sequence columns to make JPA entities more database agnostic