Interface ColumnMapper

  • All Known Implementing Classes:
    Template.NoOpColumnMapper

    public interface ColumnMapper
    Contract for mapping a (an assumed) property reference to its columns.
    • Method Detail

      • map

        SqlValueReference[] map​(java.lang.String reference)
                         throws HibernateException
        Resolve the property reference to its underlying columns.
        Parameters:
        reference - The property reference name.
        Returns:
        References to the columns/formulas that define the value mapping for the given property, or null if the property reference is unknown.
        Throws:
        HibernateException - Generally indicates that the property reference is unknown; interpretation should be the same as a null return.