Tellier Benoit created MAILBOX-309:
--------------------------------------
Summary: Fix CassandraAttachmentMessageIdDAO binding
Key: MAILBOX-309
URL: https://issues.apache.org/jira/browse/MAILBOX-309
Project: James Mailbox
Issue Type: Bug
Components: cassandra
Affects Versions: master
Reporter: Tellier Benoit
This error is logged when starting James:
```
Re-preparing already prepared query is generally an anti-pattern and will
likely affect performance.
Consider preparing the statement only once.
Query='INSERT INTO attachmentMessageId
(attachmentIdAsUUID,attachmentId,messageId) VALUES
(:attachmentIdAsUUID,:attachmentId,:messageId);'
```
We should bind **CassandraAttachmentMessageIdDAO** as a singleton.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]