private Object getObjectFromByteArray ( EntityType entityType , byte [ ] value , String jpaColumnName , EntityMetadata m ) { if ( jpaColumnName != null ) { String fieldName = m . getFieldName ( jpaColumnName ) ; if ( fieldName != null ) { Attribute attribute = fieldName != null ? entityType . getAttribute ( fieldName ) : null ; EntityMetadata relationMetadata = KunderaMetadataManager . getEntityMetadata ( kunderaMetadata , attribute . getJavaType ( ) ) ; Object colValue = PropertyAccessorHelper . getObject ( relationMetadata . getIdAttribute ( ) . getJavaType ( ) , value ) ; return colValue ; } } logger . warn ( "No value found for column {}, returning null." , jpaColumnName ) ; return null ; }
Gets the object from byte array .