Package nl.tailormap.viewer.util
Class ApplicationDetailsValueTransformer
- java.lang.Object
-
- org.hibernate.transform.BasicTransformerAdapter
-
- nl.tailormap.viewer.util.ApplicationDetailsValueTransformer
-
- All Implemented Interfaces:
Serializable,org.hibernate.transform.ResultTransformer
public class ApplicationDetailsValueTransformer extends org.hibernate.transform.BasicTransformerAdapterTransform the clob in application details to a string. Avoid using with very large values.- Author:
- Mark Prins
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationDetailsValueTransformerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecttransformTuple(Object[] tuple, String[] aliases)create a CaseInsensitiveMap with key/values.
-
-
-
Field Detail
-
INSTANCE
public static final ApplicationDetailsValueTransformer INSTANCE
-
-
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:
transformTuplein interfaceorg.hibernate.transform.ResultTransformer- Overrides:
transformTuplein classorg.hibernate.transform.BasicTransformerAdapter- Parameters:
tuple- The result elementsaliases- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
-