Browse Source

[MRM-1476] 'Specified key was too long' error during startup when using MySQL databases with UTF8 charset

submitted by Greg Michael Meneses
o set default string length to 255 in jpox config


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129622 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-1.4-M1
Maria Odea B. Ching 13 years ago
parent
commit
3289f9b03b

+ 5
- 0
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/application.xml View File

@@ -102,6 +102,11 @@
<name>org.jpox.rdbms.dateTimezone</name>
<value>JDK_DEFAULT_TIMEZONE</value>
</property>
<!-- NEEDED FOR MYSQL UTF-8 Databases -->
<property>
<name>org.jpox.rdbms.stringDefaultLength</name>
<value>255</value>
</property>
<!-- NEEDED FOR POSTGRES, But causes problems in other JDBC implementations.
<property>
<name>org.jpox.identifier.case</name>

Loading…
Cancel
Save