HHH-11176 - Fix CheckStyle errors
This commit is contained in:
parent
b8c6bc2204
commit
ba6cc06810
|
@ -889,9 +889,10 @@ public abstract class AbstractSharedSessionContract implements SharedSessionCont
|
|||
}
|
||||
|
||||
private void handleNativeQueryResult(NativeQueryImplementor query, Class resultClass) {
|
||||
if (Tuple.class.equals(resultClass)) {
|
||||
query.setResultTransformer(new NativeQueryTupleTransformer());
|
||||
} else {
|
||||
if ( Tuple.class.equals( resultClass ) ) {
|
||||
query.setResultTransformer( new NativeQueryTupleTransformer() );
|
||||
}
|
||||
else {
|
||||
query.addEntity( "alias1", resultClass.getName(), LockMode.READ );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
/*
|
||||
* Hibernate, Relational Persistence for Idiomatic Java
|
||||
*
|
||||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.jpa.spi;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
Loading…
Reference in New Issue