mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2681 - findMessageByIdStatement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9822d58d04
commit
fd65b8201a
|
@ -141,10 +141,10 @@ public class Statements {
|
|||
}
|
||||
|
||||
public String getFindMessageByIdStatement() {
|
||||
if (findMessageStatement == null) {
|
||||
findMessageStatement = "SELECT MSG FROM " + getFullMessageTableName() + " WHERE ID=?";
|
||||
if (findMessageByIdStatement == null) {
|
||||
findMessageByIdStatement = "SELECT MSG FROM " + getFullMessageTableName() + " WHERE ID=?";
|
||||
}
|
||||
return findMessageStatement;
|
||||
return findMessageByIdStatement;
|
||||
}
|
||||
|
||||
public String getFindAllMessagesStatement() {
|
||||
|
@ -572,6 +572,10 @@ public class Statements {
|
|||
this.findMessageStatement = findMessageStatment;
|
||||
}
|
||||
|
||||
public void setFindMessageByIdStatement(String findMessageByIdStatement) {
|
||||
this.findMessageByIdStatement = findMessageByIdStatement;
|
||||
}
|
||||
|
||||
public void setRemoveAllMessagesStatement(String removeAllMessagesStatment) {
|
||||
this.removeAllMessagesStatement = removeAllMessagesStatment;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue