]> git.mxchange.org Git - addressbook-mailer-ejb.git/blobdiff - src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java
updated jar(s)
[addressbook-mailer-ejb.git] / src / java / org / mxchange / jcountry / data / AddressbookCountrySingletonBean.java
index 97b5f776e1fda104eb44e725ba46301fd08eebd9..8d1f5a47b409a28875b65d9aa92987d7ed9bc723 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -23,7 +23,7 @@ import javax.ejb.Singleton;
 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;
 
 /**
@@ -33,13 +33,21 @@ 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