Class ApplicationDetailsValueTransformer

  • All Implemented Interfaces:
    Serializable, org.hibernate.transform.ResultTransformer

    public class ApplicationDetailsValueTransformer
    extends org.hibernate.transform.BasicTransformerAdapter
    Transform the clob in application details to a string. Avoid using with very large values.
    Author:
    Mark Prins
    See Also:
    Serialized Form
    • Method Detail

      • transformTuple

        public Object transformTuple​(Object[] tuple,
                                     String[] aliases)
        create a CaseInsensitiveMap with key/values.

        Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row.

        Specified by:
        transformTuple in interface org.hibernate.transform.ResultTransformer
        Overrides:
        transformTuple in class org.hibernate.transform.BasicTransformerAdapter
        Parameters:
        tuple - The result elements
        aliases - The result aliases ("parallel" array to tuple)
        Returns:
        The transformed row.