You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/18 16:03:00 UTC

[jira] [Assigned] (AMQ-6904) custom sql statements for SqlServer

     [ https://issues.apache.org/jira/browse/AMQ-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned AMQ-6904:
-----------------------------------------

    Assignee: Jean-Baptiste Onofré

> custom sql statements for SqlServer
> -----------------------------------
>
>                 Key: AMQ-6904
>                 URL: https://issues.apache.org/jira/browse/AMQ-6904
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 5.15.3
>            Reporter: Ilya Shipitsin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> ms sql syntax is different, so we need custom statements
>  
> {code:java}
>         <persistenceAdapter>
>             <jdbcPersistenceAdapter dataSource="#mssql-ds" createTablesOnStartup="true"   >
>               <statements>
>                  <statements binaryDataType ="VARBINARY(MAX)" lockCreateStatement= "SELECT * FROM ACTIVEMQ_LOCK WITH (UPDLOCK, ROWLOCK) WHERE ID=1"/>
>               </statements>
>             </jdbcPersistenceAdapter>
>         </persistenceAdapter>{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)