@Id
@GeneratedValue(strategy = GenerationType.AUTO)
- private Long primaryKey;
+ private Long id;
@Version
private int version;
}
public AbstractAuthorizationService(AbstractAuthorizationService aSvc) {
- primaryKey = aSvc.primaryKey;
+ id = aSvc.id;
version = aSvc.version;
name = aSvc.name;
}