[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
This commit is contained in:
Maria Odea B. Ching 2011-05-31 11:05:07 +00:00
parent 39ecc7836c
commit 3289f9b03b
1 changed files with 5 additions and 0 deletions

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>