org.hibernate.engine.jdbc.dialect.spi.DialectFactory Java Examples

The following examples show how to use org.hibernate.engine.jdbc.dialect.spi.DialectFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DialectFactoryInitiator.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public Class<DialectFactory> getServiceInitiated() {
    return DialectFactory.class;
}
 
Example #2
Source File: DialectFactoryInitiator.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public DialectFactory initiateService(Map configurationValues, ServiceRegistryImplementor registry) {
    return new RecordingDialectFactory();
}
 
Example #3
Source File: FastBootMetadataBuilder.java    From quarkus with Apache License 2.0 4 votes vote down vote up
private Dialect extractDialect() {
    DialectFactory service = standardServiceRegistry.getService(DialectFactory.class);
    RecordingDialectFactory casted = (RecordingDialectFactory) service;
    return casted.getDialect();
}
 
Example #4
Source File: DialectFactoryInitiator.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Class<DialectFactory> getServiceInitiated() {
	return DialectFactory.class;
}
 
Example #5
Source File: DialectFactoryInitiator.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public DialectFactory initiateService(Map configurationValues, ServiceRegistryImplementor registry) {
	return new DialectFactoryImpl();
}