You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andreas Guther (JIRA)" <ji...@apache.org> on 2007/10/04 20:44:22 UTC

[jira] Issue Comment Edited: (AMQ-1191) JDBC based Master/Slave not supported for TransactSQL based databases (SQL Server and Sybase)

    [ https://issues.apache.org/activemq/browse/AMQ-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40271 ] 

aguther edited comment on AMQ-1191 at 10/4/07 11:42 AM:
---------------------------------------------------------------

it looks like the correct syntax is as follows:

select * from dbo.ACTIVEMQ_LOCK WITH (XLOCK)

This statement works fine on our SQL 2005 server.  I don't know if this will cause problems with other vendors.

      was (Author: aguther):
    it looks like the correct syntax is as follows:

select * from dbo.ACTIVEMQ_LOCK WITH (XLOCK)

This statement works find on our SQL 2005 server.  I don't know if this will cause problems with other vendors.
  
> JDBC based Master/Slave not supported for TransactSQL based databases (SQL Server and Sybase)
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1191
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1191
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 5.1.0
>
>         Attachments: patchfile
>
>
> The main issue is figuring out the exclusive lock SQL syntax. I think the following is valid...
> SELECT * FROM TABLE WITH XLOCK

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.