Package org.hibernate.ogm.exception

Examples of org.hibernate.ogm.exception.NotSupportedException


  }

  @Override
  public Criteria createCriteria(String entityName) {
    //TODO plug the Lucene engine
    throw new NotSupportedException( "OGM-23", "Criteria queries are not supported yet" );
  }
View Full Code Here


  }

  @Override
  public Criteria createCriteria(String entityName, String alias) {
    //TODO plug the Lucene engine
    throw new NotSupportedException( "OGM-23", "Criteria queries are not supported yet" );
  }
View Full Code Here

  }

  @Override
  public Query createFilter(Object collection, String queryString) throws HibernateException {
    //TODO plug the Lucene engine
    throw new NotSupportedException( "OGM-24", "filters are not supported yet" );
  }
View Full Code Here

    throw new NotSupportedException( "OGM-24", "filters are not supported yet" );
  }

  @Override
  public Filter enableFilter(String filterName) {
    throw new NotSupportedException( "OGM-25", "filters are not supported yet" );
  }
View Full Code Here

    return delegate.getEnabledFilter( filterName );
  }

  @Override
  public void disableFilter(String filterName) {
    throw new NotSupportedException( "OGM-25", "filters are not supported yet" );
  }
View Full Code Here

    return new HashMap<String,Object>( this.getNamedParams() );
  }

  @Override
  public int executeUpdate() throws HibernateException {
    throw new NotSupportedException( "TBD", "QueryQuery#executeUpdate not implemented" );
  }
View Full Code Here

    throw new NotSupportedException( "TBD", "QueryQuery#executeUpdate not implemented" );
  }

  @Override
  public Query setLockOptions(LockOptions lockOptions) {
    throw new NotSupportedException( "TBD", "QueryQuery#setLockOptions not implemented" );
  }
View Full Code Here

    throw new NotSupportedException( "TBD", "QueryQuery#setLockOptions not implemented" );
  }

  @Override
  public Query setLockMode(String alias, LockMode lockMode) {
    throw new NotSupportedException( "TBD", "QueryQuery#setLockMode not implemented" );
  }
View Full Code Here

  @Override
  public LockOptions getLockOptions() {
    //We could return a default LockOptions, but that would expose mutable setters
    //so better implement those setters first.
    throw new NotSupportedException( "TBD", "AbstractQueryImplQuery#getLockOptions not implemented" );
  }
View Full Code Here

    //to let the benchmark run let delete from pass
    if ( qlString != null && qlString.toLowerCase().startsWith( "delete from" ) ) {
      //pretend you care
      return new LetThroughExecuteUpdateQuery();
    }
    throw new NotSupportedException( "OGM-21", "JP-QL queries are not supported yet" );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.exception.NotSupportedException

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.