fix for AMQ-1130 to use LONGBLOB rather than BLOB for persisting on mysql to avoid the 64k limit

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@496976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-01-17 09:37:36 +00:00
parent f490982c38
commit 6e26195cd8
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class MySqlJDBCAdapter extends DefaultJDBCAdapter {
public void setStatements(Statements statements) {
statements.setLockCreateStatement("LOCK TABLE " + statements.getFullLockTableName() + " WRITE");
statements.setBinaryDataType("LONGBLOB");
super.setStatements(statements);
}
}