HHH-6509 - Adds DialectFactoryContributor
This commit is contained in:
parent
c55d250025
commit
55bec79cd4
|
@ -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() );
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue