Java Code Examples for org.hibernate.query.NativeQuery#RootReturn
The following examples show how to use
org.hibernate.query.NativeQuery#RootReturn .
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: NativeQueryReturnBuilderRootImpl.java From lams with GNU General Public License v2.0 | 4 votes |
public NativeQuery.RootReturn setLockMode(LockMode lockMode) { this.lockMode = lockMode; return this; }
Example 2
Source File: NativeQueryReturnBuilderRootImpl.java From lams with GNU General Public License v2.0 | 4 votes |
public NativeQuery.RootReturn setDiscriminatorAlias(String alias) { addProperty( "class", alias ); return this; }
Example 3
Source File: NativeQueryReturnBuilderRootImpl.java From lams with GNU General Public License v2.0 | 4 votes |
public NativeQuery.RootReturn addProperty(String propertyName, String columnAlias) { addProperty( propertyName ).addColumnAlias( columnAlias ); return this; }