Package org.hibernate.ogm.cfg

Examples of org.hibernate.ogm.cfg.OgmConfiguration.addAnnotatedClass()


    configuration.setProperty( "hibernate.search.default.directory_provider", "ram" );
    // disable warnings about unspecified Lucene version
    configuration.setProperty( "hibernate.search.lucene_version", "LUCENE_35" );

    for ( Class<?> aClass : entityTypes ) {
      configuration.addAnnotatedClass( aClass );
    }

    return configuration;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.