this.getLoggerBeanLocal().logTrace("getAllContacts - CALLED!"); //NOI18N
// Create query instance
- Query query = this.getEntityManager().createNamedQuery("AllContacts", List.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("AllContacts", UserContact.class); //NOI18N
// Get list
List<Contact> contacts = query.getResultList();
this.getLoggerBeanLocal().logTrace("getEmailAddressList - CALLED!"); //NOI18N
// Create query instance
- Query query = this.getEntityManager().createNamedQuery("AllContactEmailAddresses", List.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("AllContactEmailAddresses", String.class); //NOI18N
// Get list
List<String> emailAddresses = query.getResultList();