import org.hibernate.engine.SessionFactoryImplementor;
import org.hibernate.hql.ast.QueryTranslatorImpl;
QueryTranslatorImpl queryTranslator=new QueryTranslatorImpl(hql,hql,Collections.EMPTY_MAP,(SessionFactoryImplementor)getSessionFactory());
queryTranslator.compile(Collections.EMPTY_MAP, false);
queryTranslator.getSQLString();
Hibernate3中将指定的HQL语句转换成SQL语句(转)
猜你喜欢
转载自yodg2gg.iteye.com/blog/2252694
今日推荐
周排行