Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Hibernate OGM, Domain model persistence for NoSQL datastores
  * License: GNU Lesser General Public License (LGPL), version 2.1 or later
  * See the lgpl.txt file in the root directory or <>.
 package org.hibernate.ogm.cfg.impl;
Constants used within OGM, not intended for public use.

Gunnar Morling
public class InternalProperties {

Used to make sure that Hibernate OGM's custom service implementations are only registered with the bootstrap process if the persistence unit in question uses Hibernate OGM. For that purpose, this property is set to true in org.hibernate.ogm.cfg.OgmConfiguration and org.hibernate.ogm.jpa.HibernateOgmPersistence. If Hibernate ORM is bootstrapped, org.hibernate.ogm.service.impl.OgmIntegrator will still be executed (as it is discovered via the Java service loader) but it will take no effect since this property is not set in this case.

	public static final String OGM_ON = "hibernate.ogm._activate";

Name of the configuration option for passing in set up org.hibernate.ogm.options.spi.OptionsService.OptionsServiceContexts.
	public static final String OGM_OPTION_CONTEXT = "hibernate.ogm.options.context";

Name of the configuration option for specifying the org.hibernate.ogm.query.spi.QueryParserService to be used. Accepts a fully-qualified class name. If not specified, the parser type returned by org.hibernate.ogm.datastore.spi.DatastoreProvider.getDefaultQueryParserServiceType() will be used.
	public static final String QUERY_PARSER_SERVICE = "hibernate.ogm.query.parser";
	private InternalProperties() {
New to GrepCode? Check out our FAQ X