org.hibernate.sql.ordering.antlr
Interface ColumnMapper

All Known Implementing Classes:
Template.NoOpColumnMapper

public interface ColumnMapper

Contract for mapping a (an assumed) property reference to its columns.


Method Summary
 SqlValueReference[] map(String reference)
          Resolve the property reference to its underlying columns.
 

Method Detail

map

SqlValueReference[] map(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.


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.