LPS-50556 Unsafe type conversion leads to java collections error
Revert "LPS-50556 Unsafe type conversion leads to java collections error"
LPS-50556 Due to the JSON serializing the serialized Long keys are retuning as Integers sometimes, and this will help them converting to the proper type
LPS-50556 fix ArrayUtil to be more flexible, should be 100% backwards compatible
LPS-50556 use ArrayUtil
LPS-50682 Auto reference import doesn't work for repositories because it has a reversed logic to handle child entities