@Entity @Data public class TourSpot { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String googleId; private String name; private String address; private Double xCoordinate; private Double yCoordinate; @ElementCollection(targetClass = Theme.class) @CollectionTable(name = "tourspot_themes", joinColumns = @JoinColumn(name = "to..