From 5f22ad9931f6e4bc655978287694ea941aeb6fd5 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 18:02:54 +0200 Subject: [PATCH] added class definition --- .../jcountry/data/PizzaServiceCountrySingletonBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PizzaService-ejb/src/java/org/mxchange/jcountry/data/PizzaServiceCountrySingletonBean.java b/PizzaService-ejb/src/java/org/mxchange/jcountry/data/PizzaServiceCountrySingletonBean.java index cabd1f4..f03a449 100644 --- a/PizzaService-ejb/src/java/org/mxchange/jcountry/data/PizzaServiceCountrySingletonBean.java +++ b/PizzaService-ejb/src/java/org/mxchange/jcountry/data/PizzaServiceCountrySingletonBean.java @@ -40,7 +40,7 @@ public class PizzaServiceCountrySingletonBean extends BaseDatabaseBean implement @SuppressWarnings ("unchecked") public List allCountries () { // Init query - Query query = this.getEntityManager().createNamedQuery("AllCountries"); //NOI18N + Query query = this.getEntityManager().createNamedQuery("AllCountries", List.class); //NOI18N // Return it return query.getResultList(); -- 2.39.5