|
@ -24,6 +24,7 @@ import javax.validation.constraints.NotBlank; |
|
|
import javax.validation.constraints.Pattern; |
|
|
import javax.validation.constraints.Pattern; |
|
|
import javax.validation.constraints.Size; |
|
|
import javax.validation.constraints.Size; |
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
|
|
import com.fasterxml.jackson.annotation.JsonManagedReference; |
|
|
import com.fasterxml.jackson.annotation.JsonManagedReference; |
|
|
import com.fjordtek.bookstore.annotation.CurrentYear; |
|
|
import com.fjordtek.bookstore.annotation.CurrentYear; |
|
|
|
|
|
|
|
@ -73,6 +74,7 @@ public class Book { |
|
|
name = "bookIdGenerator", |
|
|
name = "bookIdGenerator", |
|
|
sequenceName = "bookIdSequence" |
|
|
sequenceName = "bookIdSequence" |
|
|
) |
|
|
) |
|
|
|
|
|
@JsonIgnore |
|
|
private Long id; |
|
|
private Long id; |
|
|
|
|
|
|
|
|
//////////////////// |
|
|
//////////////////// |
|
|