git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-04-01 10:56:26 +00:00
parent 9822d58d04
commit fd65b8201a
1 changed files with 7 additions and 3 deletions

View File

@ -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() {
@ -571,6 +571,10 @@ public class Statements {
public void setFindMessageStatement(String findMessageStatment) {
this.findMessageStatement = findMessageStatment;
}
public void setFindMessageByIdStatement(String findMessageByIdStatement) {
this.findMessageByIdStatement = findMessageByIdStatement;
}
public void setRemoveAllMessagesStatement(String removeAllMessagesStatment) {
this.removeAllMessagesStatement = removeAllMessagesStatment;