/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package session;

import entity.LitigeDbi;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Fabou
 */
@Stateless
public class LitigeDbiFacade extends AbstractFacade<LitigeDbi> {
    @PersistenceContext(unitName = "AppWebGBIEPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public LitigeDbiFacade() {
        super(LitigeDbi.class);
    }
    
}
