Package org.hibernate.ogm.jpa.impl

Examples of org.hibernate.ogm.jpa.impl.LetThroughExecuteUpdateQuery


  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 ) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.jpa.impl.LetThroughExecuteUpdateQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.