Updated to JPA 2.1 requirement
This commit is contained in:
parent
453822817f
commit
5ee65cd4b1
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2014 the original author or authors.
|
* Copyright 2002-2016 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.
|
||||||
|
@ -34,7 +34,7 @@ import org.springframework.transaction.TransactionException;
|
||||||
* <p>Simply begins a standard JPA transaction in {@link #beginTransaction} and
|
* <p>Simply begins a standard JPA transaction in {@link #beginTransaction} and
|
||||||
* performs standard exception translation through {@link EntityManagerFactoryUtils}.
|
* performs standard exception translation through {@link EntityManagerFactoryUtils}.
|
||||||
*
|
*
|
||||||
* <p><b>NOTE: Spring's JPA support requires JPA 2.0 or higher, as of Spring 4.0.</b>
|
* <p><b>NOTE: Spring's JPA support requires JPA 2.1 or higher, as of Spring 5.0.</b>
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2014 the original author or authors.
|
* Copyright 2002-2016 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.
|
||||||
|
@ -26,7 +26,7 @@ import org.springframework.transaction.TransactionDefinition;
|
||||||
import org.springframework.transaction.TransactionException;
|
import org.springframework.transaction.TransactionException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SPI strategy that encapsulates certain functionality that standard JPA 2.0 does
|
* SPI strategy that encapsulates certain functionality that standard JPA 2.1 does
|
||||||
* not offer, such as access to the underlying JDBC Connection. This strategy is
|
* not offer, such as access to the underlying JDBC Connection. This strategy is
|
||||||
* mainly intended for standalone usage of a JPA provider; most of its functionality
|
* mainly intended for standalone usage of a JPA provider; most of its functionality
|
||||||
* is not relevant when running with JTA transactions.
|
* is not relevant when running with JTA transactions.
|
||||||
|
|
|
@ -67,10 +67,9 @@ import org.springframework.util.ClassUtils;
|
||||||
* plus the {@link EntityManagerFactoryInfo} interface which exposes additional
|
* plus the {@link EntityManagerFactoryInfo} interface which exposes additional
|
||||||
* metadata as assembled by this FactoryBean.
|
* metadata as assembled by this FactoryBean.
|
||||||
*
|
*
|
||||||
* <p><b>NOTE: Spring's JPA support requires JPA 2.0 or higher, as of Spring 4.0.</b>
|
* <p><b>NOTE: Spring's JPA support requires JPA 2.1 or higher, as of Spring 5.0.</b>
|
||||||
* JPA 1.0 based applications are still supported; however, a JPA 2.0/2.1 compliant
|
* JPA 1.0/2.0 based applications are still supported; however, a JPA 2.1 compliant
|
||||||
* persistence provider is needed at runtime. Spring's persistence unit bootstrapping
|
* persistence provider is needed at runtime.
|
||||||
* automatically detects JPA 2.0 vs 2.1 through checking the JPA API on the classpath.
|
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @author Rod Johnson
|
* @author Rod Johnson
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2014 the original author or authors.
|
* Copyright 2002-2016 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.
|
||||||
|
@ -52,8 +52,8 @@ import javax.persistence.spi.PersistenceProvider;
|
||||||
* to the JPA provider, consider using Spring's more powerful
|
* to the JPA provider, consider using Spring's more powerful
|
||||||
* {@link LocalContainerEntityManagerFactoryBean} instead.
|
* {@link LocalContainerEntityManagerFactoryBean} instead.
|
||||||
*
|
*
|
||||||
* <p><b>NOTE: Spring's JPA support requires JPA 2.0 or higher, as of Spring 4.0.</b>
|
* <p><b>NOTE: Spring's JPA support requires JPA 2.1 or higher, as of Spring 5.0.</b>
|
||||||
* JPA 1.0 based applications are still supported; however, a JPA 2.0/2.1 compliant
|
* JPA 1.0/2.0 based applications are still supported; however, a JPA 2.1 compliant
|
||||||
* persistence provider is needed at runtime.
|
* persistence provider is needed at runtime.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
|
|
Loading…
Reference in New Issue