update
void update(java.lang.Object entity) throws java.lang.Exception
更新po对象.
参数:
entity
- po对象实例
抛出:
java.lang.Exception
public void update(final Object entity)throws Exception{
sessionFactory.getCurrentSession().update(entity);
}
void update(java.lang.Object entity) throws java.lang.Exception
更新po对象.
参数:
entity
- po对象实例
抛出:
java.lang.Exception
public void update(final Object entity)throws Exception{
sessionFactory.getCurrentSession().update(entity);
}