cn.sylinx.hbatis.db.common.ObjectQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
The newest version!
package cn.sylinx.hbatis.db.common;
import java.util.List;
public interface ObjectQuery {
/**
* 查询单个列对象
*
* @param sql
* @param clazz
* @param params
* @return
*/
public List queryObject(final String sql, final Class clazz, final Object... params);
/**
* 查询单个列对象,第一个
*
* @param sql
* @param clazz
* @param params
* @return
*/
public T queryFirstObject(final String sql, final Class clazz, final Object... params);
}