67,549
社区成员




public void save(OrderItem transientInstance) {
log.debug("saving OrderItem instance");
try {
Transaction tr = getSession().beginTransaction();
getSession().save(transientInstance);
getSession().flush();
tr.commit();
getSession().close();
log.debug("save successful");
} catch (RuntimeException re) {
log.error("save failed", re);
throw re;
}
}