HHH-4787 - Clean up
This commit is contained in:
parent
4810a48096
commit
d56089559c
|
@ -24,13 +24,10 @@
|
|||
package org.hibernate.envers.query.criteria;
|
||||
import org.hibernate.envers.configuration.AuditConfiguration;
|
||||
import org.hibernate.envers.entities.RelationDescription;
|
||||
import org.hibernate.envers.entities.mapper.id.QueryParameterData;
|
||||
import org.hibernate.envers.query.property.PropertyNameGetter;
|
||||
import org.hibernate.envers.tools.query.Parameters;
|
||||
import org.hibernate.envers.tools.query.QueryBuilder;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Adam Warski (adam at warski dot org)
|
||||
*/
|
||||
|
|
|
@ -117,7 +117,7 @@ public class Parameters {
|
|||
/**
|
||||
* Adds <code>IS NULL</code> restriction.
|
||||
* @param propertyName Property name.
|
||||
* @param addAlias Positive if alias to property name shall be added.
|
||||
* @param addAlias Positive if an alias to property name shall be added.
|
||||
*/
|
||||
public void addNullRestriction(String propertyName, boolean addAlias) {
|
||||
addWhere(propertyName, addAlias, "is", "null", false);
|
||||
|
@ -126,7 +126,7 @@ public class Parameters {
|
|||
/**
|
||||
* Adds <code>IS NOT NULL</code> restriction.
|
||||
* @param propertyName Property name.
|
||||
* @param addAlias Positive if alias to property name shall be added.
|
||||
* @param addAlias Positive if an alias to property name shall be added.
|
||||
*/
|
||||
public void addNotNullRestriction(String propertyName, boolean addAlias) {
|
||||
addWhere(propertyName, addAlias, "is not", "null", false);
|
||||
|
|
Loading…
Reference in New Issue