import javax.persistence.Id;</BUG>
import javax.persistence.MappedSuperclass;
@MappedSuperclass
public class BaseEntity {
<BUG>@Id
protected Integer id;</BUG>
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {

package org.springframework.samples.petclinic;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
@MappedSuperclass
public class BaseEntity {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
protected Integer id;
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {
