diff --git a/model/jpa/src/main/java/org/keycloak/models/jpa/entities/RealmEntity.java b/model/jpa/src/main/java/org/keycloak/models/jpa/entities/RealmEntity.java index 052ce6e558..5ad023afc4 100755 --- a/model/jpa/src/main/java/org/keycloak/models/jpa/entities/RealmEntity.java +++ b/model/jpa/src/main/java/org/keycloak/models/jpa/entities/RealmEntity.java @@ -117,11 +117,11 @@ public class RealmEntity { @Column(name="NOT_BEFORE") protected int notBefore; - @Column(name="PUBLIC_KEY", length = 2048) + @Column(name="PUBLIC_KEY", length = 4000) protected String publicKeyPem; - @Column(name="PRIVATE_KEY", length = 2048) + @Column(name="PRIVATE_KEY", length = 4000) protected String privateKeyPem; - @Column(name="CERTIFICATE", length = 2048) + @Column(name="CERTIFICATE", length = 4000) protected String certificatePem; @Column(name="CODE_SECRET", length = 255) protected String codeSecret; diff --git a/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.1.xml b/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.1.xml index eef888a36c..f801ddc19e 100755 --- a/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.1.xml +++ b/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.1.xml @@ -18,7 +18,8 @@ - - + + + diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 01d75e1b80..50e63ef8f6 100644 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -405,6 +405,16 @@ org.infinispan infinispan-core + + + mysql + mysql-connector-java + + + org.postgresql + postgresql + ${postgresql.version} + @@ -429,41 +439,6 @@ - - - - - keycloak.connectionsJpa.driver - com.mysql.jdbc.Driver - - - mysql - - - mysql - mysql-connector-java - - - - - - - - - keycloak.connectionsJpa.driver - org.postgresql.Driver - - - postgresql - - - org.postgresql - postgresql - ${postgresql.version} - - - - clean-jpa