public List excuteMySQL(String sql) {
try {
Query queryObject = getSession().createSQLQuery(sql);
return queryObject.list();
} catch (RuntimeException re) {
throw re;
}
}
Hibernate 执行sql

最新推荐文章于 2024-04-30 05:41:12 发布
