com.mycomm.dao.dao4comm.orm.MySession Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycomm.dao.dao4comm.orm;
import com.mycomm.dao.dao4comm.ResultHelp;
import com.mycomm.dao.dao4comm.util.MyQueryCondition;
import org.springframework.jdbc.core.JdbcTemplate;
/**
*
* @author jw362j
*/
public interface MySession {
public long getCount(Class clz);
public long save(Object object);
public int[] saveList(Object[] object);
public void delete(Class clz, long theId);
public void deleteList(Class clz, long[] theId);
public Object find(Class clz, long theid);
public Object find(Class clz, long theid,boolean forceReload);
public Object[] findByIds(Class clz, long[] theId);
public long[] findIDs(Class clz, MyQueryCondition condition);
public ResultHelp