mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-11176 - Fix CheckStyle errors
This commit is contained in:
parent
b8c6bc2204
commit
ba6cc06810
@ -891,7 +891,8 @@ public NativeQueryImplementor createNativeQuery(String sqlString, Class resultCl
|
||||
private void handleNativeQueryResult(NativeQueryImplementor query, Class resultClass) {
|
||||
if ( Tuple.class.equals( resultClass ) ) {
|
||||
query.setResultTransformer( new NativeQueryTupleTransformer() );
|
||||
} else {
|
||||
}
|
||||
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…
x
Reference in New Issue
Block a user