public class MimosaBeanSessionTemplate extends AbstractAuxiliaryTemplate implements BeanSessionTemplate
| 构造器和说明 |
|---|
MimosaBeanSessionTemplate() |
getCacheClient, getCacheClient, getMonitoring, getMonitoring, getMQProducer, getMQProducer, getRPCObject, getRPCObject, getSearchEngineClient, getSearchEngineClient, getSwitch, getSwitch, notifyChangedSwitch, notifyChangedSwitch, registerMQConsumer, registerMQConsumer, registerRPCObject, registerRPCObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheClient, getCacheClient, getMonitoring, getMonitoring, getMQProducer, getMQProducer, getRPCObject, getRPCObject, getSearchEngineClient, getSearchEngineClient, getSwitch, getSwitch, notifyChangedSwitch, notifyChangedSwitch, registerMQConsumer, registerMQConsumer, registerRPCObject, registerRPCObjectpublic SessionFactory getSessionFactory()
public void setModel2BeanFactory(Model2BeanFactory model2BeanFactory)
public void setSessionFactory(SessionFactory sessionFactory)
public <T> T save(T obj)
save 在接口中 BeanSessionpublic <T> T saveAndUpdate(T obj)
saveAndUpdate 在接口中 BeanSessionpublic <T> void save(List<T> objects)
save 在接口中 BeanSessionpublic <T> void update(T obj)
update 在接口中 BeanSessionpublic <T> void update(List<T> objects)
update 在接口中 BeanSessionpublic void update(Update update)
update 在接口中 BeanSessionpublic <T> void delete(T obj)
delete 在接口中 BeanSessionpublic <T> void delete(List<T> objects)
delete 在接口中 BeanSessionpublic void delete(Delete delete)
delete 在接口中 BeanSessionpublic <T> void delete(Class<T> c, Serializable id)
delete 在接口中 BeanSessionpublic <T> T get(Class<T> c, Serializable id)
get 在接口中 BeanSessionpublic <T> T get(Query query)
get 在接口中 BeanSessionpublic <T> List<T> list(Query query)
list 在接口中 BeanSessionpublic long count(Query query)
count 在接口中 BeanSessionpublic <T> Paging<T> paging(Query query)
paging 在接口中 BeanSessionpublic AutoResult calculate(Function function)
calculate 在接口中 BeanSessionpublic <T> ZipperTable<T> getZipperTable(Class<T> c)
getZipperTable 在接口中 BeanSessionpublic AutoResult getAutonomously(SQLAutonomously autonomously) throws Exception
BeanSessiongetAutonomously 在接口中 BeanSessionExceptionpublic AutoResult getAutonomously(TAutonomously autonomously) throws Exception
getAutonomously 在接口中 BeanSessionExceptionpublic List<DataSourceTableName> getDataSourceNames(Class c)
getDataSourceNames 在接口中 BeanSessionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic Transaction beginTransaction() throws TransactionException
beginTransaction 在接口中 TransactionTemplateTransactionExceptionpublic Transaction createTransaction()
createTransaction 在接口中 TransactionTemplatepublic <T> T execute(TransactionCallback<T> callback) throws TransactionException
execute 在接口中 TransactionTemplateTransactionExceptionpublic <T> T execute(TransactionCallback<T> callback, TransactionPropagationType pt) throws TransactionException
execute 在接口中 TransactionTemplateTransactionExceptionpublic <T> T execute(TransactionCallback<T> callback, TransactionIsolationType it) throws TransactionException
execute 在接口中 TransactionTemplateTransactionExceptionpublic <T> T execute(TransactionCallback<T> callback, TransactionPropagationType pt, TransactionIsolationType it) throws TransactionException
execute 在接口中 TransactionTemplateTransactionExceptionCopyright © 2020. All rights reserved.