Class SQLProjection

java.lang.Object
org.hibernate.criterion.SQLProjection
All Implemented Interfaces:
Serializable, Projection

public class SQLProjection extends Object implements Projection
A SQL fragment. The string {alias} will be replaced by the alias of the root entity.
See Also:
  • Constructor Details

    • SQLProjection

      protected SQLProjection(String sql, String[] columnAliases, Type[] types)
    • SQLProjection

      protected SQLProjection(String sql, String groupBy, String[] columnAliases, Type[] types)
  • Method Details