mirror of https://github.com/apache/archiva.git
[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:
parent
39ecc7836c
commit
3289f9b03b
|
@ -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…
Reference in New Issue