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
Exception
public T find(String dataSourceName, Serializable id) throws Exception
Exception
public IResultSet<T> find(Where where) throws Exception
Exception
public IResultSet<T> find(String dataSourceName, Where where) throws Exception
Exception
public IResultSet<T> find(String dataSourceName, Where where, Page page) throws Exception
Exception
public int delete(Serializable id) throws Exception
Exception
public int delete(String dataSourceName, Serializable id) throws Exception
Exception
public int[] delete(Serializable[] ids) throws Exception
Exception
public int[] delete(String dataSourceName, Serializable[] ids) throws Exception
Exception
Copyright © 2022. All rights reserved.