HHH-17377 - Migrate to JPA 3.2

https://hibernate.atlassian.net/browse/HHH-17377

fixed check failures
This commit is contained in:
Steve Ebersole 2023-11-15 20:43:38 -06:00
parent a1361853ed
commit 0340375081
3 changed files with 6 additions and 4 deletions

View File

@ -271,7 +271,9 @@ public class HbmXmlTransformer {
)
);
case PICK -> {
if ( pickHandler != null ) pickHandler.handlePick( message, messageArgs );
if ( pickHandler != null ) {
pickHandler.handlePick( message, messageArgs );
}
}
case IGNORE -> TRANSFORMATION_LOGGER.debugf( message, messageArgs );
case WARN -> TRANSFORMATION_LOGGER.warnf( message, messageArgs );

View File

@ -77,7 +77,7 @@ public enum AccessType {
return null;
}
for ( AccessType accessType : AccessType.values() ) {
if ( accessType.getExternalName().equals( externalName ) ) {
if ( accessType.getExternalName().equalsIgnoreCase( externalName ) ) {
return accessType;
}
}

View File

@ -6,9 +6,9 @@
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
~ See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html.
-->
<entity-mappings xmlns="http://www.hibernate.org/xsd/orm/mapping" version="3.1">
<entity-mappings xmlns="http://www.hibernate.org/xsd/orm/mapping" version="3.2">
<package>org.hibernate.orm.test.boot.jaxb.mapping</package>
<entity class="SimpleEntity" cacheable="true">
<caching access="transactional" region="netherworld" />
<caching access="TRANSACTIONAL" region="netherworld" />
</entity>
</entity-mappings>