HHH-6509 - Adds DialectFactoryContributor

This commit is contained in:
Karel Maesen 2014-01-21 23:37:30 +01:00 committed by Steve Ebersole
parent c55d250025
commit 55bec79cd4
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
package org.hibernate.spatial.integration;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.service.spi.ServiceContributor;
/**
* @author Karel Maesen, Geovise BVBA
* creation-date: 1/21/14
*/
public class SpatialDialectFactoryContributor implements ServiceContributor {
@Override
public void contribute(StandardServiceRegistryBuilder serviceRegistryBuilder) {
serviceRegistryBuilder.addInitiator( new SpatialInitiator() );
}
}