* @author Roland Haeder
*/
@Startup
-@Singleton (name = "country", mappedName = "ejb/addressbook-singleton-country", description = "A singleton session bean for country informations")
+@Singleton (name = "country", description = "A singleton session bean for country informations")
public class AddressbookCountrySingletonBean extends BaseDatabaseBean implements AddressbookCountrySingletonBeanRemote {
/**
@SuppressWarnings ("unchecked")
public List<Country> allCountries () {
// Init query
- Query query = this.getEntityManager().createNamedQuery("AllCountries");
+ Query query = this.getEntityManager().createNamedQuery("AllCountries"); //NOI18N
// Return it
return query.getResultList();