ComponentDAO
, ConfigurationDAO
, CustomFieldDAO
, CustomFieldValueDAO
, IssueActivityDAO
, IssueAttachmentDAO
, IssueDAO
, IssueHistoryDAO
, IssueRelationDAO
, LanguageDAO
, NotificationDAO
, PermissionDAO
, ProjectDAO
, ProjectScriptDAO
, ReportDAO
, UserDAO
, UserPreferencesDAO
, VersionDAO
, WorkflowScriptDAO
BaseHibernateDAOImpl
, ComponentDAOImpl
, ConfigurationDAOImpl
, CustomFieldDAOImpl
, CustomFieldValueDAOImpl
, IssueActivityDAOImpl
, IssueAttachmentDAOImpl
, IssueDAOImpl
, IssueHistoryDAOImpl
, IssueRelationDAOImpl
, LanguageDAOImpl
, NotificationDAOImpl
, PermissionDAOImpl
, ProjectDAOImpl
, ProjectScriptDAOImpl
, ReportDAOImpl
, UserDAOImpl
, UserPreferencesDAOImpl
, VersionDAOImpl
, WorkflowScriptDAOImpl
public interface BaseDAO<T extends Entity>
Modifier and Type | Method | Description |
---|---|---|
void |
delete(T entity) |
Deletes entity from persistence store.
|
void |
detach(T entity) |
Remove this instance from the session cache.
|
T |
merge(T entity) |
Copy the state of the given object onto the persistent object with the same
identifier.
|
void |
refresh(T entity) |
Reloads an entity from persistance.
|
void |
save(T entity) |
Insert a new entity.
|
void |
saveOrUpdate(T entity) |
Inserts a new detached entity or updates if it already exists.
|
void save(T entity)
entity
- - detached entity objectSession.save(Object)
void saveOrUpdate(T entity)
entity
- - entity object to be inserted or updatedSession.saveOrUpdate(Object)
void delete(T entity)
Session.delete(Object)
void detach(T entity)
Session.evict(Object)
void refresh(T entity)
Session.refresh(Object)
Copyright © 2002–2019 itracker. All rights reserved.