Signed-off-by:Roland Häder <roland@mxchange.org>
}
// Get named query
- Query query = this.getEntityManager().createNamedQuery("SearchUserSharedAddressbooks"); //NOI18N
+ Query query = this.getEntityManager().createNamedQuery("SearchUserSharedAddressbooks", List.class); //NOI18N
// Set parameter
query.setParameter("user", user); //NOI18N
// Return full list
- return query.getResultList();
+ List<ShareableAddressbook> list = query.getResultList();
+
+ // Trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("allSharedAddressbooks: list.size()={0} - EXIT!", list.size()));
+
+ // Return list
+ return list;
}
@Override