Skip to content

Commit

Permalink
HHH-17377 - Migrate to JPA 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Nov 17, 2023
1 parent bf8dc9d commit 2b8b69b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ private void handleUnsupported(PickHandler pickHandler, String message, Object..
)
);
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 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static AccessType fromExternalName(@Nullable String externalName) {
return null;
}
for ( AccessType accessType : AccessType.values() ) {
if ( accessType.getExternalName().equals( externalName ) ) {
if ( accessType.getExternalName().equalsIgnoreCase( externalName ) ) {
return accessType;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 2b8b69b

Please sign in to comment.