/** * Utility method that returns the name of the sequence associated with <code>entity</code> * * @param entity the entity * @return the name of the sequence */ protected static String _sequenceNameForEntity(EOEntity entity) { return entity.primaryKeyRootName() + "_seq"; }