| This affects all ID types that are not Comparable or contain an ID type that is not Comparable, types such as byte[], Byte[], char[], Character[], and UserType. The fix only checks for a sorted ExecutableList when hibernate.order_updates=true or hibernate.order_inserts=true. When hibernate.order_updates=true or hibernate.order_inserts=true, IncomparableComparator.INSTANCE is used for byte[], Byte[], char[], Character[]. If a UserType is used, it must implement Comparable; otherwise ClassCastException will continue to be thrown. |