*/
@Id
@GeneratedValue (strategy = GenerationType.IDENTITY)
- @Column (name = "addressbook_entry_id", nullable = false, updatable = false)
+ @Column (name = "entry_id", nullable = false, updatable = false)
private Long addressbookEntryId;
/**
*/
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
- @Column (name = "addressbook_entry_created", nullable = false, updatable = false)
+ @Column (name = "entry_created", nullable = false, updatable = false)
private Calendar addressbookEntryCreated;
/**
/**
* Connection to table "users" (who has initially created this entry
*/
- @JoinColumn (name = "addressbook_entry_origin_user_id", nullable = false, updatable = false)
+ @JoinColumn (name = "entry_origin_user_id", nullable = false, updatable = false)
@ManyToOne (targetEntity = LoginUser.class, optional = false, cascade = CascadeType.ALL)
private List<User> addressbookEntryUserOriginList;
/**
* Connection to table "users" (who has added this entry)
*/
- @JoinColumn (name = "addressbook_entry_added_user_id", updatable = false)
+ @JoinColumn (name = "entry_added_user_id", updatable = false)
@ManyToOne (targetEntity = LoginUser.class, cascade = CascadeType.ALL)
private List<User> addressbookEntryUserAddedList;
/**
* Connection to table "contacts" (private contacts)
*/
- @JoinColumn (name = "addressbook_entry_private_contact_id", updatable = false)
+ @JoinColumn (name = "entry_private_contact_id", updatable = false)
@OneToOne (targetEntity = UserContact.class, cascade = CascadeType.ALL)
private Contact addressbookEntryPrivateContact;
/**
* Connection to table "business_contacts" (commercial contacts)
*/
- @JoinColumn (name = "addressbook_entry_business_contact_id", updatable = false)
+ @JoinColumn (name = "entry_business_contact_id", updatable = false)
@OneToOne (targetEntity = CompanyContact.class, cascade = CascadeType.ALL)
private BusinessContact addressbookEntryBusinessContact;