#244 - Adopt changed constructor for JpaBaseConfiguration.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2016 the original author or authors.
|
* Copyright 2015-2017 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -25,6 +25,7 @@ import org.springframework.boot.SpringApplication;
|
|||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration;
|
import org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration;
|
||||||
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties;
|
import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties;
|
||||||
|
import org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers;
|
||||||
import org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter;
|
import org.springframework.orm.jpa.vendor.AbstractJpaVendorAdapter;
|
||||||
import org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter;
|
import org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter;
|
||||||
import org.springframework.transaction.jta.JtaTransactionManager;
|
import org.springframework.transaction.jta.JtaTransactionManager;
|
||||||
@@ -34,6 +35,7 @@ import org.springframework.transaction.jta.JtaTransactionManager;
|
|||||||
*
|
*
|
||||||
* @author Oliver Gierke
|
* @author Oliver Gierke
|
||||||
* @author Jeremy Rickard
|
* @author Jeremy Rickard
|
||||||
|
* @author Mark Paluch
|
||||||
*/
|
*/
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class Application extends JpaBaseConfiguration {
|
public class Application extends JpaBaseConfiguration {
|
||||||
@@ -44,8 +46,9 @@ public class Application extends JpaBaseConfiguration {
|
|||||||
* @param jtaTransactionManagerProvider
|
* @param jtaTransactionManagerProvider
|
||||||
*/
|
*/
|
||||||
protected Application(DataSource dataSource, JpaProperties properties,
|
protected Application(DataSource dataSource, JpaProperties properties,
|
||||||
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider) {
|
ObjectProvider<JtaTransactionManager> jtaTransactionManagerProvider,
|
||||||
super(dataSource, properties, jtaTransactionManagerProvider);
|
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) {
|
||||||
|
super(dataSource, properties, jtaTransactionManagerProvider, transactionManagerCustomizers);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user