]> git.mxchange.org Git - addressbook-ejb.git/commitdiff
it must be @EJB to inject another EJB into an EJB
authorRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:53:06 +0000 (13:53 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:53:06 +0000 (13:53 +0100)
src/java/org/mxchange/jusercore/model/email_address/EmailChangeSessionBean.java

index bb4131a8d967414136de16d138ba48f2fca3b277..2eddde855c2661ee42e599fc544324886b34cdcb 100644 (file)
@@ -17,8 +17,8 @@
 package org.mxchange.jusercore.model.email_address;
 
 import java.text.MessageFormat;
+import javax.ejb.EJB;
 import javax.ejb.Stateless;
-import javax.inject.Inject;
 import javax.persistence.PersistenceException;
 import org.mxchange.jcoreee.database.BaseDatabaseBean;
 import org.mxchange.jusercore.model.user.User;
@@ -40,7 +40,7 @@ public class EmailChangeSessionBean extends BaseDatabaseBean implements EmailCha
        /**
         * User bean
         */
-       @Inject
+       @EJB
        private UserSessionBeanRemote userBean;
 
        /**