| Constructor and Description |
|---|
EntitySQL(IDatabase owner,
Class<T> entityClass) |
public IDatabase owner()
public IShardingable shardingable()
public EntitySQL<T> shardingable(IShardingable shardingable)
public Fields fields()
public IDBLocker forUpdate()
public T find(Serializable id) throws Exception
Exceptionpublic T find(String dataSourceName, Serializable id) throws Exception
Exceptionpublic IResultSet<T> find(Where where) throws Exception
Exceptionpublic IResultSet<T> find(String dataSourceName, Where where) throws Exception
Exceptionpublic IResultSet<T> find(String dataSourceName, Where where, Page page) throws Exception
Exceptionpublic int delete(Serializable id) throws Exception
Exceptionpublic int delete(String dataSourceName, Serializable id) throws Exception
Exceptionpublic int[] delete(Serializable[] ids) throws Exception
Exceptionpublic int[] delete(String dataSourceName, Serializable[] ids) throws Exception
ExceptionCopyright © 2022. All rights reserved.