String test(String hql){
QueryTranslatorImpl translator = new QueryTranslatorImpl("queryIdentifier", hql,
Collections.EMPTY_MAP, (SessionFactoryImplementor) getSessionFactory());
translator.compile(Collections.EMPTY_MAP, false);
return translator.getSQLString();
}
标签:MAP,translator,Collections,sql,128,hql,QueryTranslatorImpl,EMPTY
From: https://blog.51cto.com/u_14816966/5857834