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