Merge pull request #1550 from mstruk/KEYCLOAK-1777

KEYCLOAK-1777 Column \"USERFEDERA0_.REALMENTITY_ID\" not found ...
This commit is contained in:
Stian Thorgersen 2015-08-20 12:26:13 +02:00
commit 8fee0c946b

View file

@ -116,7 +116,7 @@ public class RealmEntity {
Collection<RequiredCredentialEntity> requiredCredentials = new ArrayList<RequiredCredentialEntity>();
@OneToMany(cascade ={CascadeType.REMOVE}, orphanRemoval = true)
@JoinTable(name="FED_PROVIDERS")
@JoinTable(name="FED_PROVIDERS", joinColumns={ @JoinColumn(name="REALM_ID") })
List<UserFederationProviderEntity> userFederationProviders = new ArrayList<UserFederationProviderEntity>();
@OneToMany(cascade ={CascadeType.REMOVE}, orphanRemoval = true, mappedBy = "realm")