mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-20 01:55:02 +00:00
HHH-5251 : NativeSQLQueryReturn impls pre-cache a final hashcode based on non-final fields
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19721 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
cd304f83cf
commit
c53359d468
@ -38,8 +38,8 @@
|
|||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
public class NativeSQLQueryCollectionReturn extends NativeSQLQueryNonScalarReturn {
|
public class NativeSQLQueryCollectionReturn extends NativeSQLQueryNonScalarReturn {
|
||||||
private String ownerEntityName;
|
private final String ownerEntityName;
|
||||||
private String ownerProperty;
|
private final String ownerProperty;
|
||||||
private final int hashCode;
|
private final int hashCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn {
|
public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn {
|
||||||
private String ownerAlias;
|
private final String ownerAlias;
|
||||||
private String ownerProperty;
|
private final String ownerProperty;
|
||||||
private final int hashCode;
|
private final int hashCode;
|
||||||
/**
|
/**
|
||||||
* Construct a return descriptor representing some form of fetch.
|
* Construct a return descriptor representing some form of fetch.
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
public class NativeSQLQueryRootReturn extends NativeSQLQueryNonScalarReturn {
|
public class NativeSQLQueryRootReturn extends NativeSQLQueryNonScalarReturn {
|
||||||
private String returnEntityName;
|
private final String returnEntityName;
|
||||||
private final int hashCode;
|
private final int hashCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
* @author gloegl
|
* @author gloegl
|
||||||
*/
|
*/
|
||||||
public class NativeSQLQueryScalarReturn implements NativeSQLQueryReturn {
|
public class NativeSQLQueryScalarReturn implements NativeSQLQueryReturn {
|
||||||
private Type type;
|
private final Type type;
|
||||||
private String columnAlias;
|
private final String columnAlias;
|
||||||
private final int hashCode;
|
private final int hashCode;
|
||||||
|
|
||||||
public NativeSQLQueryScalarReturn(String alias, Type type) {
|
public NativeSQLQueryScalarReturn(String alias, Type type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user