HHH-10715 Make IdentifierProperty immutable
This commit is contained in:
parent
7870329b77
commit
ba0bf0d619
|
@ -18,12 +18,13 @@ import org.hibernate.type.Type;
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
public class IdentifierProperty extends AbstractAttribute implements IdentifierAttribute {
|
public class IdentifierProperty extends AbstractAttribute implements IdentifierAttribute {
|
||||||
private boolean virtual;
|
|
||||||
private boolean embedded;
|
private final boolean virtual;
|
||||||
private IdentifierValue unsavedValue;
|
private final boolean embedded;
|
||||||
private IdentifierGenerator identifierGenerator;
|
private final IdentifierValue unsavedValue;
|
||||||
private boolean identifierAssignedByInsert;
|
private final IdentifierGenerator identifierGenerator;
|
||||||
private boolean hasIdentifierMapper;
|
private final boolean identifierAssignedByInsert;
|
||||||
|
private final boolean hasIdentifierMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a non-virtual identifier property.
|
* Construct a non-virtual identifier property.
|
||||||
|
|
Loading…
Reference in New Issue