airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing AIRAVATA-2309 : SHARING table: MySQL complains "Specified key was too long; max key length is 3072 bytes"
Date Fri, 27 Jan 2017 19:40:32 GMT
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 <supun.nakandala@gmail.com>
Authored: Fri Jan 27 14:40:24 2017 -0500
Committer: scnakandala <supun.nakandala@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>


Mime
View raw message