HHH-12677 Update javadoc API links from EE7 to EE8 - more links
This commit is contained in:
parent
5089a818e2
commit
7f983adb50
|
@ -87,7 +87,7 @@ or by using the `javax.persistence.sharedCache.mode` property in your configurat
|
||||||
The following values are possible:
|
The following values are possible:
|
||||||
|
|
||||||
`ENABLE_SELECTIVE` (Default and recommended value)::
|
`ENABLE_SELECTIVE` (Default and recommended value)::
|
||||||
Entities are not cached unless explicitly marked as cacheable (with the https://docs.oracle.com/javaee/7/api/javax/persistence/Cacheable.html[`@Cacheable`] annotation).
|
Entities are not cached unless explicitly marked as cacheable (with the https://javaee.github.io/javaee-spec/javadocs/javax/persistence/Cacheable.html[`@Cacheable`] annotation).
|
||||||
`DISABLE_SELECTIVE`::
|
`DISABLE_SELECTIVE`::
|
||||||
Entities are cached unless explicitly marked as non-cacheable.
|
Entities are cached unless explicitly marked as non-cacheable.
|
||||||
`ALL`::
|
`ALL`::
|
||||||
|
@ -453,7 +453,7 @@ include::{sourcedir}/SecondLevelCacheTest.java[tags=caching-management-cache-mod
|
||||||
Because the second level cache is bound to the `EntityManagerFactory` or the `SessionFactory`,
|
Because the second level cache is bound to the `EntityManagerFactory` or the `SessionFactory`,
|
||||||
cache eviction must be done through these two interfaces.
|
cache eviction must be done through these two interfaces.
|
||||||
|
|
||||||
JPA only supports entity eviction through the https://docs.oracle.com/javaee/7/api/javax/persistence/Cache.html[`javax.persistence.Cache`] interface:
|
JPA only supports entity eviction through the https://javaee.github.io/javaee-spec/javadocs/javax/persistence/Cache.html[`javax.persistence.Cache`] interface:
|
||||||
|
|
||||||
[[caching-management-evict-jpa-example]]
|
[[caching-management-evict-jpa-example]]
|
||||||
.Evicting entities with JPA
|
.Evicting entities with JPA
|
||||||
|
|
|
@ -17,7 +17,7 @@ See the <<chapters/batch/Batching.adoc#batch,Batching chapter>> for more informa
|
||||||
====
|
====
|
||||||
|
|
||||||
The flushing strategy is given by the https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/Session.html#getFlushMode--[`flushMode`] of the current running Hibernate `Session`.
|
The flushing strategy is given by the https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/Session.html#getFlushMode--[`flushMode`] of the current running Hibernate `Session`.
|
||||||
Although JPA defines only two flushing strategies (https://docs.oracle.com/javaee/7/api/javax/persistence/FlushModeType.html#AUTO[`AUTO`] and https://docs.oracle.com/javaee/7/api/javax/persistence/FlushModeType.html#COMMIT[`COMMIT`]),
|
Although JPA defines only two flushing strategies (https://javaee.github.io/javaee-spec/javadocs/javax/persistence/FlushModeType.html#AUTO[`AUTO`] and https://javaee.github.io/javaee-spec/javadocs/javax/persistence/FlushModeType.html#COMMIT[`COMMIT`]),
|
||||||
Hibernate has a much broader spectrum of flush types:
|
Hibernate has a much broader spectrum of flush types:
|
||||||
|
|
||||||
ALWAYS:: Flushes the `Session` before every query.
|
ALWAYS:: Flushes the `Session` before every query.
|
||||||
|
|
|
@ -99,7 +99,7 @@ javadoc {
|
||||||
'https://docs.oracle.com/javase/8/docs/api/',
|
'https://docs.oracle.com/javase/8/docs/api/',
|
||||||
'http://docs.jboss.org/hibernate/beanvalidation/spec/2.0/api/',
|
'http://docs.jboss.org/hibernate/beanvalidation/spec/2.0/api/',
|
||||||
'http://docs.jboss.org/cdi/api/2.0/',
|
'http://docs.jboss.org/cdi/api/2.0/',
|
||||||
'https://docs.oracle.com/javaee/7/api/'
|
'https://javaee.github.io/javaee-spec/javadocs/'
|
||||||
]
|
]
|
||||||
|
|
||||||
if ( JavaVersion.current().isJava8Compatible() ) {
|
if ( JavaVersion.current().isJava8Compatible() ) {
|
||||||
|
|
Loading…
Reference in New Issue