We're updating the issue view to help you get more done. 

@Synchronized table names are case-sensitive for @Subselect

Description

This works:

1 @org.hibernate.annotations.Synchronize({"Item", "Bid"})

This doesn't work:

1 @org.hibernate.annotations.Synchronize({"ITEM", "BID"})

This method in ActionQueue should perform a case-insenstive comparison:

1 2 3 4 5 6 7 8 9 10 11 12 private static boolean areTablesToUpdated(Iterable actions, Set tableSpaces) { for ( Executable action : (Iterable<Executable>) actions ) { final Serializable[] spaces = action.getPropertySpaces(); for ( Serializable space : spaces ) { if ( tableSpaces.contains( space ) ) { LOG.debugf( "Changes must be flushed to space: %s", space ); return true; } } } return false; }

See https://forum.hibernate.org/viewtopic.php?t=985811

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Christian Bauer

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Minor