removing Serializable because it creates a lot of warnings

App should be as simple as possible for beginners
This commit is contained in:
Mic 2013-07-25 16:35:37 +02:00
parent 6412e4805b
commit 4c01d60b36

View file

@ -15,6 +15,8 @@
*/ */
package org.springframework.samples.petclinic.model; package org.springframework.samples.petclinic.model;
import java.io.Serializable;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType; import javax.persistence.GenerationType;
import javax.persistence.Id; import javax.persistence.Id;
@ -27,7 +29,7 @@ import javax.persistence.MappedSuperclass;
* @author Juergen Hoeller * @author Juergen Hoeller
*/ */
@MappedSuperclass @MappedSuperclass
public class BaseEntity implements Serializable { public class BaseEntity {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
protected Integer id; protected Integer id;