本文整理汇总了Java中org.springframework.boot.autoconfigure.orm.jpa.JpaProperties类的典型用法代码示例。如果您正苦于以下问题:Java JpaProperties类的具体用法?Java JpaProperties怎么用?Java JpaProperties使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
JpaProperties类属于org.springframework.boot.autoconfigure.orm.jpa包,在下文中一共展示了JpaProperties类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DatabaseConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
public DatabaseConfiguration(Environment env,
JpaProperties jpaProperties,
TenantListRepository tenantListRepository) {
this.env = env;
this.jpaProperties = jpaProperties;
this.tenantListRepository = tenantListRepository;
}
示例2: PersistenceConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
protected PersistenceConfiguration(DataSource dataSource,
JpaProperties properties,
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
super(dataSource, properties, jtaTransactionManagerProvider, transactionManagerCustomizers);
LOGGER.info("PersistenceConfiguration()");
}
示例3: JPosDatabaseAutoConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
public JPosDatabaseAutoConfiguration(DataSource dataSource, JpaProperties jpaProperties,
ObjectProvider<JtaTransactionManager> jtaTransactionManager,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
{
super(dataSource, jpaProperties, jtaTransactionManager, transactionManagerCustomizers);
}
示例4: DatabaseConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
public DatabaseConfiguration(Environment env, JpaProperties jpaProperties, TenantListRepository tenantListRepository) {
this.env = env;
this.jpaProperties = jpaProperties;
this.tenantListRepository = tenantListRepository;
}
示例5: EclipseLinkJpaConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
EclipseLinkJpaConfiguration(DataSource dataSource,
JpaProperties properties,
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider) {
super(dataSource, properties, jtaTransactionManagerProvider);
}
示例6: Application
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
/**
* @param dataSource
* @param properties
* @param jtaTransactionManagerProvider
*/
protected Application(DataSource dataSource, JpaProperties properties,
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
super(dataSource, properties, jtaTransactionManagerProvider, transactionManagerCustomizers);
}
示例7: EclipseLinkJpaConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
protected EclipseLinkJpaConfiguration(DataSource dataSource, JpaProperties properties,
ObjectProvider<JtaTransactionManager> jtaTransactionManager,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
super(dataSource, properties, jtaTransactionManager, transactionManagerCustomizers);
}
示例8: RootContextConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
@Autowired
public RootContextConfiguration(DataSource dataSource, JpaProperties properties) {
this.dataSource = dataSource;
this.properties = properties;
}
示例9: getProperties
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
public JpaProperties getProperties() {
return properties;
}
示例10: Application
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
protected Application(DataSource dataSource, JpaProperties properties,
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
super(dataSource, properties, jtaTransactionManagerProvider, transactionManagerCustomizers);
}
示例11: JpaAutoConfiguration
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
@Inject
JpaAutoConfiguration(@NotNull final DataSourceProperties dataSourceProperties, @NotNull final JpaProperties jpaProperties) {
this.dataSourceProperties = dataSourceProperties;
this.jpaProperties = jpaProperties;
}
示例12: HibernateCfg
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
protected HibernateCfg(DataSource dataSource, JpaProperties properties, ObjectProvider<JtaTransactionManager> jtaTransactionManager,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
{
super(dataSource, properties, jtaTransactionManager, transactionManagerCustomizers);
}
示例13: EclipselinkCfg
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
protected EclipselinkCfg(DataSource dataSource, JpaProperties properties, ObjectProvider<JtaTransactionManager> jtaTransactionManager,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
{
super(dataSource, properties, jtaTransactionManager, transactionManagerCustomizers);
}
示例14: secondaryJpaProperties
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
@Bean(name = SECONDARY_JPA_PROPS)
@ConfigurationProperties(SECONDARY_JPA_PROPS)
public JpaProperties secondaryJpaProperties() {
return new JpaProperties();
}
示例15: primaryJpaProperties
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; //导入依赖的package包/类
@Bean(name = PRIMARY_JPA_PROPS)
@Primary
@ConfigurationProperties(PRIMARY_JPA_PROPS)
public JpaProperties primaryJpaProperties() {
return new JpaProperties();
}