import java.util.TimeZone;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
<BUG>import org.hibernate.SessionFactory;</BUG>
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
<BUG>import org.springframework.context.support.ClassPathXmlApplicationContext;</BUG>
public class AsyncMsgRecordDao {

import java.util.TimeZone;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AsyncMsgRecordDao {
