package cokr.xit.ens.modules.ktsigntalk.gibis.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 SendDetailKtGibisTokenHistRepositoryImpl implements CleanRepositorySupport {
    @PersistenceContext
    private EntityManager em;

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