fix two jdoc typos

This commit is contained in:
Gavin 2023-05-12 18:04:34 +02:00 committed by Christian Beikov
parent b298a2a185
commit c759028687
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ package org.hibernate;
* <p>
* Very occasionally, it's necessary or advantageous to control the cache explicitly
* via programmatic eviction, using, for example, {@link #evictEntityData(Class)} to
* evicts a whole cache region, or {@link #evictEntityData(Class, Object)}, to evict
* evict a whole cache region, or {@link #evictEntityData(Class, Object)}, to evict
* a single item.
* <p>
* If multiple entities or roles are mapped to the same cache region, they share

View File

@ -209,8 +209,8 @@
* The JPA-defined {@link jakarta.persistence.Cacheable} annotation is almost useless
* to us, since:
* <ul>
* <li>it provides no way to specify any information about the nature of the <em>how</em>
* cached entity and how its cache should be managed, and
* <li>it provides no way to specify any information about the nature of the cached
* entity and <em>how</em> its cache should be managed, and
* <li>it may not be used to annotate associations.
* </ul>
* <p>