]> git.mxchange.org Git - addressbook-swing.git/commitdiff
The persistence will happen in the EJBs. So all these calls needs to be rewritten...
authorRoland Haeder <roland@mxchange.org>
Thu, 14 Apr 2016 14:53:25 +0000 (16:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 14 Apr 2016 14:53:25 +0000 (16:53 +0200)
src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java

index 5ade6a07261f321fe638297fef5d4100e2a6ba7e..177ec38284a8c84903fea1e4d351ecfc7cb4126f 100644 (file)
@@ -23,8 +23,6 @@ import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Iterator;
 import java.util.List;
-import javax.persistence.EntityManager;
-import javax.persistence.PersistenceContext;
 import org.mxchange.addressbook.client.AddressbookClient;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.contact.gender.Gender;
@@ -52,12 +50,6 @@ public class AddressbookContactFacade extends BaseFacade implements ContactFacad
         */
        private final List<String> columnNames;
 
-       /**
-        * Entity manager
-        */
-       @PersistenceContext
-       private EntityManager entityManager;
-
        /**
         * Logger instance
         */