November 2017
Intermediate to advanced
542 pages
14h 24m
English
Let's begin by mapping our Event.java file so that each of the domain objects are saved as a document in our MongoDB database. This can be done by performing the following steps:
//src/main/java/com/packtpub/springsecurity/domain/Event.java ... import javax.persistence.*; @Entity @Table(name = "events") public class Event implements Serializable{ @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; private String summary; private String description; private Calendar ...Read now
Unlock full access