Java Code Examples for org.hibernate.util.ArrayHelper#EMPTY_OBJECT_ARRAY
The following examples show how to use
org.hibernate.util.ArrayHelper#EMPTY_OBJECT_ARRAY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: QueryParameters.java From cacheonix-core with GNU Lesser General Public License v2.1 | 4 votes |
public QueryParameters() { this( ArrayHelper.EMPTY_TYPE_ARRAY, ArrayHelper.EMPTY_OBJECT_ARRAY ); }
Example 2
Source File: Restrictions.java From cacheonix-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Apply a constraint expressed in SQL. Any occurrences of <tt>{alias}</tt> * will be replaced by the table alias. * * @param sql * @return Criterion */ public static Criterion sqlRestriction(String sql) { return new SQLCriterion(sql, ArrayHelper.EMPTY_OBJECT_ARRAY, ArrayHelper.EMPTY_TYPE_ARRAY); }