[jboss-cvs] JBossAS SVN: r61575 - branches/Branch_4_2/messaging/src/etc/server/examples/deploy.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 22 10:35:46 EDT 2007


Author: adrian at jboss.org
Date: 2007-03-22 10:35:46 -0400 (Thu, 22 Mar 2007)
New Revision: 61575

Modified:
   branches/Branch_4_2/messaging/src/etc/server/examples/deploy/sybase-jdbc2-service.xml
Log:
[JBAS-4225] [JBAS-4230] - Fix the correlation SQL for sybase and be explicit
about which columns can be NULL and NOT NULL

Modified: branches/Branch_4_2/messaging/src/etc/server/examples/deploy/sybase-jdbc2-service.xml
===================================================================
--- branches/Branch_4_2/messaging/src/etc/server/examples/deploy/sybase-jdbc2-service.xml	2007-03-22 14:33:33 UTC (rev 61574)
+++ branches/Branch_4_2/messaging/src/etc/server/examples/deploy/sybase-jdbc2-service.xml	2007-03-22 14:35:46 UTC (rev 61575)
@@ -54,7 +54,7 @@
       INSERT_TX = INSERT INTO dbo.JMS_TRANSACTIONS (TXID) values(?)
       INSERT_MESSAGE = INSERT INTO dbo.JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
       SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM dbo.JMS_TRANSACTIONS
-      SELECT_MAX_TX = SELECT MAX(TXID) FROM (SELECT MAX(TXID) AS TXID FROM dbo.JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM dbo.JMS_MESSAGES)
+      SELECT_MAX_TX = SELECT MAX(X.TXID) FROM (SELECT MAX(TXID) AS TXID FROM dbo.JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM dbo.JMS_MESSAGES) X
       DELETE_ALL_TX = DELETE FROM dbo.JMS_TRANSACTIONS
       SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM dbo.JMS_MESSAGES WHERE DESTINATION=?
       SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM dbo.JMS_MESSAGES WHERE DESTINATION=?




More information about the jboss-cvs-commits mailing list