Added validation for AutoIncrement PrimaryKeys type, on failure
throws IllegalStateException showing the current and expected type