首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

Hibernate 施行sql

2012-09-24 
Hibernate 执行sqlpublic List excuteMySQL(String sql) {try {Query queryObject getSession().createS

Hibernate 执行sql

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

热点排行