本文整理匯總了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();
}