You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2012/07/10 15:55:34 UTC

[jira] [Commented] (AMQ-3914) Add support for MS SQL JDBC driver 4.0

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

Gary Tully commented on AMQ-3914:
---------------------------------

can u validate that the existing: org.apache.activemq.store.jdbc.adapter.TransactJDBCAdapter will work happily with 4.0. You need to specify {{adapter="org.apache.activemq.store.jdbc.adapter.TransactJDBCAdapter"}} in the xml config for jdbc.
If that is the case, all that is needed is a copy of:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/resources/META-INF/services/org/apache/activemq/store/jdbc/microsoft_sql_server_jdbc_driver_3_0?view=log to ..microsoft_jdbc_driver_4_0_for_sql_server
                
> Add support for MS SQL JDBC driver 4.0
> --------------------------------------
>
>                 Key: AMQ-3914
>                 URL: https://issues.apache.org/jira/browse/AMQ-3914
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Message Store
>    Affects Versions: 5.5.1
>            Reporter: Henrik Karlsson
>            Priority: Minor
>
> When using MS SQL JDBC Driver version 4.0 ActiveMQ can't find a "Database adapter driver override" as it does with version 3.0 of the driver.
> Version 4.0
> {noformat}
> 2012-07-06 09:50:33,639 | INFO  | Database adapter driver override not found for : [microsoft_jdbc_driver_4_0_for_sql_server].  Will use default implementation. | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain
> 2012-07-06 09:50:33,639 | INFO  | Database lock driver override not found for : [microsoft_jdbc_driver_4_0_for_sql_server].  Will use default implementation. | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain
> {noformat}
> Version 3.0
> {noformat}
> 2012-07-06 10:09:37,322 | INFO  | Database adapter driver override recognized for : [microsoft_sql_server_jdbc_driver_3_0] - adapter: class org.apache.activemq.store.jdbc.adapter.TransactJDBCAdapter | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain
> 2012-07-06 10:09:37,322 | INFO  | Database lock driver override recognized for : [microsoft_sql_server_jdbc_driver_3_0] - adapter: class org.apache.activemq.store.jdbc.adapter.TransactDatabaseLocker | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira