@Transactional public class MessageDAO extends Object
Message| 构造器和说明 |
|---|
MessageDAO() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attachClean(Message instance) |
void |
attachDirty(Message instance) |
void |
delete(Message persistentInstance) |
List |
findAll() |
List |
findAllAndData()
搜索所有Message信息列表
|
List<Message> |
findByExample(Message instance) |
Message |
findById(Integer id) |
List<Message> |
findByOther(Object other) |
List |
findByProperty(String propertyName,
Object value) |
List<Message> |
findBySelf(Object self) |
List<Message> |
findByState(Object state) |
List<Message> |
findByTime(Object time) |
static MessageDAO |
getFromApplicationContext(org.springframework.context.ApplicationContext ctx) |
Message |
merge(Message detachedInstance) |
void |
save(Message transientInstance) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void save(Message transientInstance)
public void delete(Message persistentInstance)
public List findAll()
public void attachDirty(Message instance)
public void attachClean(Message instance)
public static MessageDAO getFromApplicationContext(org.springframework.context.ApplicationContext ctx)
public List findAllAndData()