/*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
import javax.ejb.Startup;
import javax.persistence.NoResultException;
import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
+import org.mxchange.addressbook.database.BaseAddressbookDatabaseBean;
import org.mxchange.jcountry.exceptions.CountryAlreadyAddedException;
/**
*/
@Startup
@Singleton (name = "country", description = "A singleton session-scoped bean for country informations")
-public class AddressbookCountrySingletonBean extends BaseDatabaseBean implements CountrySingletonBeanRemote {
+public class AddressbookCountrySingletonBean extends BaseAddressbookDatabaseBean implements CountrySingletonBeanRemote {
/**
* Serial number
*/
private static final long serialVersionUID = 15_846_983_298_691_207L;
+ /**
+ * Default constructor
+ */
+ public AddressbookCountrySingletonBean () {
+ // Call super constructor
+ super();
+ }
+
@Override
public Country addCountry (final Country country) throws CountryAlreadyAddedException {
// Trace message