当前位置: 代码迷 >> SQL >> Hibernate 施行sql
  详细解决方案

Hibernate 施行sql

热度:42   发布时间:2016-05-05 13:31:39.0
Hibernate 执行sql
public List excuteMySQL(String sql) {		  try {		   Query queryObject = getSession().createSQLQuery(sql);		   return queryObject.list();		  } catch (RuntimeException re) {		   throw re;		  }	}
  相关解决方案