back to old realization (remove @JsonIdentityInfo annotation)

This commit is contained in:
Vitaliy Fedoriv 2016-11-06 11:24:21 +02:00
parent 93738227b4
commit b0c2332fb5

View file

@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -34,9 +34,6 @@ import org.springframework.beans.support.MutableSortDefinition;
import org.springframework.beans.support.PropertyComparator;
import org.springframework.core.style.ToStringCreator;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
/**
* Simple JavaBean domain object representing an owner.
*
@ -47,7 +44,6 @@ import com.fasterxml.jackson.annotation.ObjectIdGenerators;
*/
@Entity
@Table(name = "owners")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
public class Owner extends Person {
@Column(name = "address")
@NotEmpty