public Query createQuery(String qlString) {
//TODO plug the lucene query engine
//to let the benchmark run let delete from pass
if ( qlString != null && qlString.toLowerCase().startsWith( "delete from" ) ) {
//pretend you care
return new LetThroughExecuteUpdateQuery();
}
Session session = (Session) getDelegate();
return applyProperties( new OgmJpaQuery<Object>( session.createQuery( qlString ), (AbstractEntityManagerImpl) hibernateEm ) );
}