HHH-10466 - AliasTest and MappingReorderedAliasTest fail on DB2

This commit is contained in:
Jan Martiska 2016-01-19 14:41:47 +01:00 committed by Vlad Mihalcea
parent 16678c3e99
commit 3aada64294
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ public class UserConfEntity implements Serializable{
@Id
@ManyToOne
@JoinColumns({
@JoinColumn(name="cnf_key", referencedColumnName="confKey"),
@JoinColumn(name="cnf_value", referencedColumnName="confValue")})
@JoinColumn(name="cnf_key", referencedColumnName="confKey", nullable = false),
@JoinColumn(name="cnf_value", referencedColumnName="confValue", nullable = false)})
private ConfEntity conf;
public ConfEntity getConf() {