public List excuteMySQL(String sql) {
try {
Query queryObject = getSession().createSQLQuery(sql);
return queryObject.list();
} catch (RuntimeException re) {
throw re;
}
}
Hibernate 执行sql
最新推荐文章于 2021-03-04 15:21:30 发布