You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2017/01/27 19:40:32 UTC

airavata git commit: fixing AIRAVATA-2309 : SHARING table: MySQL complains "Specified key was too long; max key length is 3072 bytes"

Repository: airavata
Updated Branches:
  refs/heads/develop e0fbde2b9 -> e2b2f8621


fixing AIRAVATA-2309 : SHARING table: MySQL complains "Specified key was too long; max key length is 3072 bytes"


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/e2b2f862
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/e2b2f862
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/e2b2f862

Branch: refs/heads/develop
Commit: e2b2f8621dfe61bbdf4c65eda902ed49ea8abf26
Parents: e0fbde2
Author: scnakandala <su...@gmail.com>
Authored: Fri Jan 27 14:40:24 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Fri Jan 27 14:40:24 2017 -0500

----------------------------------------------------------------------
 .../src/main/resources/META-INF/persistence.xml                  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/e2b2f862/modules/sharing-registry/sharing-registry-server/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/main/resources/META-INF/persistence.xml b/modules/sharing-registry/sharing-registry-server/src/main/resources/META-INF/persistence.xml
index a9f808c..5e4f132 100644
--- a/modules/sharing-registry/sharing-registry-server/src/main/resources/META-INF/persistence.xml
+++ b/modules/sharing-registry/sharing-registry-server/src/main/resources/META-INF/persistence.xml
@@ -11,5 +11,9 @@
         <class>org.apache.airavata.sharing.registry.db.entities.SharingEntity</class>
         <class>org.apache.airavata.sharing.registry.db.entities.UserEntity</class>
         <class>org.apache.airavata.sharing.registry.db.entities.UserGroupEntity</class>
+        <properties>
+            <property name="hibernate.connection.useUnicode" value="false"/>
+            <property name="hibernate.connection.characterEncoding" value="latin1"/>
+        </properties>
     </persistence-unit>
 </persistence>