package com.megatim.fdxconsultation.dao.impl.stats; import com.megatim.fdxconsultation.dao.ifaces.stats.TableauBordGlobalSearchDAO; import com.megatim.fdxconsultation.model.stats.TableauBord; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; /** * * @author ASUS */ @Stateless public class TableauBordGlobalSearchDAOImpl implements TableauBordGlobalSearchDAO { @PersistenceContext(unitName = "fdxConsultationPersistenceUnit") protected EntityManager em; @Override public Class getManagedEntityClass() { return TableauBord.class; } @Override public EntityManager getEntityManager() { return em; } }