Author: jstrachan Date: Wed Jan 17 01:37:36 2007 New Revision: 496976 URL: http://svn.apache.org/viewvc?view=rev&rev=496976 Log: fix for AMQ-1130 to use LONGBLOB rather than BLOB for persisting on mysql to avoid the 64k limit
Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java?view=diff&rev=496976&r1=496975&r2=496976 ============================================================================== --- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java (original) +++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java Wed Jan 17 01:37:36 2007 @@ -27,6 +27,7 @@ public void setStatements(Statements statements) { statements.setLockCreateStatement("LOCK TABLE " + statements.getFullLockTableName() + " WRITE"); + statements.setBinaryDataType("LONGBLOB"); super.setStatements(statements); } }