}
public Query createNativeQuery(String sqlString, Class resultClass) {
//adjustFlushMode();
try {
SQLQuery q = getSession().createSQLQuery( sqlString );
q.addEntity( "alias1", resultClass.getName(), LockMode.READ );
return new QueryImpl( q, this );
}
catch (HibernateException he) {
throwPersistenceException( he );
return null;