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 <http://www.gnu.org/licenses/lgpl-2.1.html>.
  */
 package org.hibernate.ogm.dialect.impl;
 
 import java.util.Map;
Contributes OGM's org.hibernate.engine.jdbc.dialect.spi.DialectFactory which always returns an instance of OgmDialect.

Author(s):
Emmanuel Bernard <emmanuel@hibernate.org>
Gunnar Morling
	public DialectFactory initiateService(Map configurationValuesServiceRegistryImplementor registry) {
		return new OgmDialectFactoryregistry );
	}
		return DialectFactory.class;
	}
	private static class OgmDialectFactory implements DialectFactory {
		private final GridDialect gridDialect;
			this. = registry.getServiceGridDialect.class );
		}
		public Dialect buildDialect(Map configValuesDialectResolutionInfoSource resolutionInfoSourcethrows HibernateException {
			return new OgmDialect );
		}
	}
New to GrepCode? Check out our FAQ X