Class StructHelper

    • Constructor Detail

      • StructHelper

        public StructHelper()
    • Method Detail

      • orderJdbcValues

        public static void orderJdbcValues​(EmbeddableMappingType embeddableMappingType,
                                           int[] inverseMapping,
                                           Object[] sourceJdbcValues,
                                           Object[] targetJdbcValues)
        The sourceJdbcValues array is ordered according to the expected physical order, as given through the argument order of @Instantiator. The targetJdbcValues array should be ordered according to the Hibernate internal ordering, which is based on property name. This method copies from sourceJdbcValues to targetJdbcValues according to the ordering.
      • getJdbcValueCount

        public static int getJdbcValueCount​(MappingType mappedType)