Class Compatibility

java.lang.Object
org.hibernate.query.sqm.tree.expression.Compatibility

public class Compatibility extends Object
  • Method Details

    • isWrapper

      public static boolean isWrapper(Class<?> potentialWrapper)
    • primitiveEquivalent

      public static Class<?> primitiveEquivalent(Class<?> potentialWrapper)
    • wrapperEquivalent

      public static Class<?> wrapperEquivalent(Class<?> primitive)
    • areAssignmentCompatible

      public static boolean areAssignmentCompatible(Class<?> to, Class<?> from)
    • isIntegralType

      public static boolean isIntegralType(Class<?> potentialIntegral)
    • isFloatingType

      public static boolean isFloatingType(Class<?> potentialFloating)