Uses of Class
org.hibernate.sql.SimpleSelect
Packages that use SimpleSelect
Package
Description
This package contains helper classes for rendering SQL fragments and SQL statements.
-
Uses of SimpleSelect in org.hibernate.sql
Methods in org.hibernate.sql that return SimpleSelectModifier and TypeMethodDescriptionAdds a selectionAdds a selection, with an aliasSimpleSelect.addColumns(String[] columnNames) Adds selectionsSimpleSelect.addRestriction(String columnName) Appends a restriction comparing thecolumnNamefor equality with a parameterSimpleSelect.addRestriction(String... columnNames) Appends a restriction comparing each name incolumnNamesfor equality with a parameterSimpleSelect.addRestriction(String lhs, ComparisonRestriction.Operator op, String rhs) Appends a restriction based on the comparison betweenlhsandrhs.SimpleSelect.addWhereToken(String condition) Appends a complete where condition.SimpleSelect.setComment(String comment) SimpleSelect.setLockMode(LockMode lockMode) SimpleSelect.setLockOptions(LockOptions lockOptions) SimpleSelect.setOrderBy(String orderBy) SimpleSelect.setTableName(String tableName) Sets the name of the table we are selecting from