package cokr.xit.ens.modules.nvsigntalk.domain.repository;

import cokr.xit.ens.modules.common.biztmplt.CleanRepositorySupport;
import cokr.xit.ens.modules.common.code.UseNativeQuery;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public class SendDetailNvSigntalkTokenHistRepositoryImpl implements CleanRepositorySupport {
    @PersistenceContext
    private EntityManager em;

    @Override
    public void truncate() {
        em.createNativeQuery("truncate table " + UseNativeQuery.SendDetailNvSigntalkTokenHist.getTblNm()).executeUpdate();
    }
}
