From: Roland Haeder Date: Thu, 15 Oct 2015 16:02:54 +0000 (+0200) Subject: added class definition X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f22ad9931f6e4bc655978287694ea941aeb6fd5;p=pizzaservice-ejb.git added class definition --- 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();