Signed-off-by: Roland Häder <roland@mxchange.org>
return users;
}
+ @Override
+ @SuppressWarnings ("unchecked")
+ public List<User> allUsers () {
+ // Trace message
+ this.getLoggerBeanLocal().logTrace("allUsers: CALLED!"); //NOI18N
+
+ // Get named query
+ Query query = this.getEntityManager().createNamedQuery("allUsers", List.class); //NOI18N
+
+ // Get result
+ List<User> users = query.getResultList();
+
+ // Trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("allUsers: users.size()={0} - EXIT!", users.size())); //NOI18N
+
+ // Return full list
+ return users;
+ }
+
@Override
public User fillUserData (final User user) {
// Trace message