Module eclipselink

Interface CoreConverter<MAPPING extends CoreMapping,​SESSION extends CoreSession>

    • Method Detail

      • convertObjectValueToDataValue

        Object convertObjectValueToDataValue​(Object objectValue,
                                             SESSION session)
        PUBLIC: Convert the object's representation of the value to the databases' data representation. For example this could convert between a Calendar Java type and the sql.Time datatype.
      • convertDataValueToObjectValue

        Object convertDataValueToObjectValue​(Object dataValue,
                                             SESSION session)
        PUBLIC: Convert the databases' data representation of the value to the object's representation. For example this could convert between an sql.Time datatype and the Java Calendar type.
      • initialize

        void initialize​(MAPPING mapping,
                        SESSION session)
        PUBLIC: Allow for any initialization.