package online.jpa.extension;

import javax.persistence.EntityManager;

/**
 * 拡張EntityManager
 *
 * @author Tadashi Nakayama
 */
public interface ExEntityManager extends EntityManager {

    /**
     * @see javax.persistence.EntityManager#createNativeQuery(java.lang.String)
     */
    @Override
    ExQuery createNativeQuery(String qry);

    /**
     * @see javax.persistence.EntityManager#createNativeQuery(java.lang.String, java.lang.Class)
     */
    @Override
    ExQuery createNativeQuery(String qry, Class cls);

    /**
     * @see javax.persistence.EntityManager#createNativeQuery(java.lang.String, java.lang.String)
     */
    @Override
    ExQuery createNativeQuery(String arg0, String arg1);
}
