public abstract class HibernateDao
extends java.lang.Object
All subclass methods that might trigger SQL queries should log a message in the log category 'org.apache.ode.bpel.DAO' when entered.
A typical message could be "className.methodName".
Typical candidates are setters, finders and getters of entities. Getters of simple properties won't provide relevant information.
| Modifier and Type | Field and Description |
|---|---|
protected HObject |
_hobj |
protected SessionManager |
_sm |
| Modifier | Constructor and Description |
|---|---|
protected |
HibernateDao(SessionManager sessionManager,
HObject hobj) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteByColumn(java.lang.Class entity,
java.lang.String column,
java.util.List<java.lang.Long> values) |
protected void |
deleteByIds(java.lang.Class entity,
java.util.List<java.lang.Long> ids) |
boolean |
equals(java.lang.Object obj) |
java.io.Serializable |
getDHandle() |
HObject |
getHibernateObj() |
java.io.Serializable |
getId() |
protected org.hibernate.Session |
getSession() |
int |
hashCode() |
protected void |
update() |
protected final SessionManager _sm
protected final HObject _hobj
protected HibernateDao(SessionManager sessionManager, HObject hobj)
public java.io.Serializable getDHandle()
dao.DAOprotected org.hibernate.Session getSession()
public HObject getHibernateObj()
public java.io.Serializable getId()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected void update()
protected void deleteByIds(java.lang.Class entity,
java.util.List<java.lang.Long> ids)
protected void deleteByColumn(java.lang.Class entity,
java.lang.String column,
java.util.List<java.lang.Long> values)
Copyright © 2021 WSO2. All Rights Reserved.