[ 
https://issues.apache.org/jira/browse/AMQ-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976659#comment-16976659
 ] 

ASF subversion and git services commented on AMQ-6904:
------------------------------------------------------

Commit d16d7cd172f416d34e22b99933012b78689998db in activemq's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=d16d7cd ]

Merge pull request #276 from chipitsine/master

AMQ-6904 add overrides for ms sql

> 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
>             Fix For: 5.16.0, 5.15.11
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to