本文整理汇总了Java中org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess类的典型用法代码示例。如果您正苦于以下问题:Java JdbcConnectionAccess类的具体用法?Java JdbcConnectionAccess怎么用?Java JdbcConnectionAccess使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
JdbcConnectionAccess类属于org.hibernate.engine.jdbc.connections.spi包,在下文中一共展示了JdbcConnectionAccess类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: prepare
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess; //导入依赖的package包/类
@Override
public void prepare(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, SessionFactoryOptions sessionFactoryOptions) {
ConfigurationService configService = sessionFactoryOptions.getServiceRegistry().getService(ConfigurationService.class);
this.fullyQualifiedTableName = Objects.requireNonNull(configService.getSetting(TABLE, String.class, null), "Property " + TABLE + " must be set.");
this.idColumn = configService.getSetting(ID_COLUMN, String.class, "ID");
this.discriminatorColumn = configService.getSetting(DISCRIMINATOR_COLUMN, String.class, "ENTITY_NAME");
this.cleanRows = configService.getSetting(CLEAN_ROWS, StandardConverters.BOOLEAN, false);
}
开发者ID:grimsa,项目名称:hibernate-single-table-bulk-id-strategy,代码行数:9,代码来源:SingleGlobalTemporaryTableBulkIdStrategy.java
示例2: prepare
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess; //导入依赖的package包/类
@Override
public void prepare(
JdbcServices jdbcServices,
JdbcConnectionAccess jdbcConnectionAccess,
MetadataImplementor metadataImplementor,
SessionFactoryOptions sessionFactoryOptions) {
}
开发者ID:epiresdasilva,项目名称:cte-multi-table-bulk-id-stategy,代码行数:9,代码来源:CTEMultiTableBulkIdStrategy.java
示例3: release
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess; //导入依赖的package包/类
@Override
public void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess) {
}
开发者ID:grimsa,项目名称:hibernate-single-table-bulk-id-strategy,代码行数:4,代码来源:SingleGlobalTemporaryTableBulkIdStrategy.java
示例4: release
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess; //导入依赖的package包/类
@Override
public void release(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess) {
// nothing to do
}
开发者ID:epiresdasilva,项目名称:cte-multi-table-bulk-id-stategy,代码行数:6,代码来源:CTEMultiTableBulkIdStrategy.java
示例5: getJdbcConnectionAccess
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess; //导入依赖的package包/类
@Override
public JdbcConnectionAccess getJdbcConnectionAccess() {
return target.getJdbcConnectionAccess();
}