Kenmegne
7 days ago 23a46b4be35277e06ec89f48730eeb694e686be8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.megatim.fdxconsultation.dao.impl.configuration;
 
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
 
import com.bekosoftware.genericdaolayer.dao.impl.AbstractGenericDAO;
import com.megatim.fdxconsultation.dao.ifaces.configuration.CodeStatutHttpDAO;
import com.megatim.fdxconsultation.model.configuration.CodeStatutHttp;
import javax.enterprise.context.Dependent;
 
@Dependent
public class CodeStatutHttpDAOImpl extends AbstractGenericDAO<CodeStatutHttp, Long> implements CodeStatutHttpDAO {
 
    @PersistenceContext(unitName = "fdxConsultationPersistenceUnit")
    protected EntityManager em;
    
    public CodeStatutHttpDAOImpl() {
    }
 
    @Override
    public EntityManager getEntityManager() {
        return em;
    }
 
    @Override
    public Class<CodeStatutHttp> getManagedEntityClass() {
        return (CodeStatutHttp.class);
    }
 
}