[infinispan-issues] [JBoss JIRA] (ISPN-2548) JDBCCacheStore doesn't work propertly with MSSql
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Fri Nov 23 09:19:21 EST 2012
[ https://issues.jboss.org/browse/ISPN-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736686#comment-12736686 ]
RH Bugzilla Integration commented on ISPN-2548:
-----------------------------------------------
Anna Manukyan <amanukya at redhat.com> made a comment on [bug 879635|https://bugzilla.redhat.com/show_bug.cgi?id=879635]
The functional tests for JDBCCacheStore using MSSQL2008 R2 as a store, are failing.
You can find the tests here:
https://svn.devel.redhat.com/repos/jboss-qa/jdg/jdg-functional-tests/trunk/invm/jdbc-cache-store/src/test/java/com/jboss/datagrid/test/jdbcstore/StringBasedCacheStoreTest.java
https://svn.devel.redhat.com/repos/jboss-qa/jdg/jdg-functional-tests/trunk/invm/jdbc-cache-store/src/test/java/com/jboss/datagrid/test/jdbcstore/BinaryCacheStoreTest.java
https://svn.devel.redhat.com/repos/jboss-qa/jdg/jdg-functional-tests/trunk/invm/jdbc-cache-store/src/test/java/com/jboss/datagrid/test/jdbcstore/MixedCacheStoreTest.java
The test failures can be found here:
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-jdbc-cache-stores-tomcat7/114/DATABASE=mssql2008R2,jdk=java16_default,label=RHEL6_x86_64/testReport/com.jboss.datagrid.test.jdbcstore/BinaryCacheStoreTest/testPutGetRemoveWithoutPassivationWithPreload/
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-jdbc-cache-stores-eap6/123/DATABASE=mssql2008R2,jdk=java16_default,label=RHEL6_x86_64/testReport/junit/com.jboss.datagrid.test.jdbcstore/BinaryCacheStoreTest/testPutGetRemoveWithoutPassivationWithPreload/
> JDBCCacheStore doesn't work propertly with MSSql
> -------------------------------------------------
>
> Key: ISPN-2548
> URL: https://issues.jboss.org/browse/ISPN-2548
> Project: Infinispan
> Issue Type: Feature Request
> Components: Loaders and Stores
> Affects Versions: 5.2.0.Beta4
> Reporter: Anna Manukyan
> Assignee: Mircea Markus
>
> The functional tests for JDBCCacheStore using MSSQL2008 R2 as a store, are failing.
> In case if the configuration is set with properties:
> .addProperty("dropTableOnExit", "false")
> .addProperty("createTableOnStart", "true")
> The following exception arrise:
> {code}
> org.infinispan.loaders.CacheLoaderException: com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object named 'edg_bin____defaultcache' in the database.
> at org.infinispan.loaders.jdbc.TableManipulation.executeUpdateSql(TableManipulation.java:187)
> at org.infinispan.loaders.jdbc.TableManipulation.createTable(TableManipulation.java:160)
> at org.infinispan.loaders.jdbc.TableManipulation.start(TableManipulation.java:262)
> at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.doConnectionFactoryInitialization(JdbcBinaryCacheStore.java:514)
> at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.start(JdbcBinaryCacheStore.java:102)
> at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:159)
> ... 104 more
> {code}
> Please note, that MSSql database is clean before the test run, this means that the table is not there. But the exception is in place anyway.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list