From 50f8846c3d575defa7af9a8d6c95662bd13267db Mon Sep 17 00:00:00 2001 From: mposolda Date: Wed, 23 Mar 2016 22:18:10 +0100 Subject: [PATCH] KEYCLOAK-2610 Improve performance of creating users with MySQL --- .../jpa/updater/JpaUpdaterProvider.java | 2 +- .../META-INF/db2-jpa-changelog-master.xml | 1 + .../META-INF/jpa-changelog-1.9.2.xml | 28 +++++++++++++++++++ .../META-INF/jpa-changelog-master.xml | 1 + 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.2.xml diff --git a/model/jpa/src/main/java/org/keycloak/connections/jpa/updater/JpaUpdaterProvider.java b/model/jpa/src/main/java/org/keycloak/connections/jpa/updater/JpaUpdaterProvider.java index 0e0dea2e7e..f253684a20 100755 --- a/model/jpa/src/main/java/org/keycloak/connections/jpa/updater/JpaUpdaterProvider.java +++ b/model/jpa/src/main/java/org/keycloak/connections/jpa/updater/JpaUpdaterProvider.java @@ -28,7 +28,7 @@ public interface JpaUpdaterProvider extends Provider { public String FIRST_VERSION = "1.0.0.Final"; - public String LAST_VERSION = "1.9.0"; + public String LAST_VERSION = "1.9.2"; public String getCurrentVersionSql(String defaultSchema); diff --git a/model/jpa/src/main/resources/META-INF/db2-jpa-changelog-master.xml b/model/jpa/src/main/resources/META-INF/db2-jpa-changelog-master.xml index a69e443710..2d0117efc6 100644 --- a/model/jpa/src/main/resources/META-INF/db2-jpa-changelog-master.xml +++ b/model/jpa/src/main/resources/META-INF/db2-jpa-changelog-master.xml @@ -31,4 +31,5 @@ + diff --git a/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.2.xml b/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.2.xml new file mode 100644 index 0000000000..141d7cbd6b --- /dev/null +++ b/model/jpa/src/main/resources/META-INF/jpa-changelog-1.9.2.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/model/jpa/src/main/resources/META-INF/jpa-changelog-master.xml b/model/jpa/src/main/resources/META-INF/jpa-changelog-master.xml index c107b8ef58..fd1f0f6e72 100755 --- a/model/jpa/src/main/resources/META-INF/jpa-changelog-master.xml +++ b/model/jpa/src/main/resources/META-INF/jpa-changelog-master.xml @@ -31,4 +31,5 @@ +