Package org.hivedb.hibernate

Examples of org.hivedb.hibernate.EntityResolver


    this.indexer = new HiveIndexer(hive);
  }

  @Override
  public Boolean isTransient(Object entity) {
    Class<?> clazz = new EntityResolver(hiveConfig).resolveEntityInterface(entity.getClass());
    if (clazz != null)
      return !indexer.exists(this.hiveConfig.getEntityConfig(clazz), entity);
    return super.isTransient(entity);
  }
View Full Code Here

TOP

Related Classes of org.hivedb.hibernate.EntityResolver

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.