"timfox" wrote : Clebert - why have you added a new query:
|
|
| | SELECT_EXISTS_REF=SELECT MESSAGEID FROM JMS_MESSAGE_REFERENCE WHERE CHANNELID = ?
AND MESSAGEID = ?
| | +SELECT_EXISTS_REF_MESSAGEID=SELECT MESSAGEID FROM JMS_MESSAGE_REFERENCE WHERE
MESSAGEID = ?
| |
|
| There's one already there, please use that.
|
| You need the channel id anyway. Just query for the message id without specifying the
channel id means nothing.
I don't have the old channelID on send, and besides I'm testing if the message was
created on the old channel or on the current channel. So.. on that case I'm just
checking if the message was already created on whatever channel.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012420#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...