KEYCLOAK-2032 Changed some column names from lower- to uppercase, so it is in sync with liquibase scripts

This commit is contained in:
Daniël van 't Ooster 2015-11-04 11:43:09 +01:00
parent d46b4eb5fe
commit 7bd0b7ddfc
4 changed files with 4 additions and 4 deletions

View file

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

View file

@ -30,7 +30,7 @@ import java.util.Collection;
public class RoleEntity {
@Id
@Column(name="id", length = 36)
@Column(name="ID", length = 36)
private String id;
@Column(name = "NAME")

View file

@ -77,7 +77,7 @@ public class UserEntity {
@OneToMany(cascade = CascadeType.REMOVE, orphanRemoval = true, mappedBy="user")
protected Collection<CredentialEntity> credentials = new ArrayList<CredentialEntity>();
@Column(name="federation_link")
@Column(name="FEDERATION_LINK")
protected String federationLink;
@Column(name="SERVICE_ACCOUNT_CLIENT_LINK")

View file

@ -35,7 +35,7 @@ public class UserFederationProviderEntity {
@ElementCollection
@MapKeyColumn(name="name")
@Column(name="value")
@Column(name="VALUE")
@CollectionTable(name="USER_FEDERATION_CONFIG", joinColumns={ @JoinColumn(name="USER_FEDERATION_PROVIDER_ID") })
private Map<String, String> config;