}
// Try to locate it
- Query query = this.getEntityManager().createNamedQuery("SearchUserName", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("param", user.getUserName()); //NOI18N
}
// Create query instance
- Query query = this.getEntityManager().createNamedQuery("SearchUserId", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserById", LoginUser.class); //NOI18N
// Set user id
query.setParameter("id", userId); //NOI18N
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("SearchUserId", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserById", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("id", user.getUserId()); //NOI18N
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("SearchUserId", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserById", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("id", userId); //NOI18N
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("SearchUserName", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("param", userName); //NOI18N
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("SearchEmailAddress", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserByEmailAddress", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("param", user.getUserContact().getContactEmailAddress()); //NOI18N
}
// Generate query
- Query query = this.getEntityManager().createNamedQuery("SearchUserName", LoginUser.class); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserByName", LoginUser.class); //NOI18N
// Set parameter
query.setParameter("param", user.getUserName()); //NOI18N