- having sharer and owner in entries table was redundancy to "shares" table, so removed "sharee" (the person the owner is sharing with)
- updated jar(s)
Signed-off-by:Roland Häder <roland@mxchange.org>
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("AllAddressbookEntries", List.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUsersAddressbookEntries", List.class); //NOI18N
// Set parameters
query.setParameter("addressbook", addressbook); //NOI18N
query.setParameter("owner", addressbook.getAddressbookUser()); //NOI18N
- query.setParameter("sharer", addressbook.getAddressbookUser()); //NOI18N
// Return it
return query.getResultList();