diff --git a/packaging/war/src/main/webapp/META-INF/context.xml b/packaging/war/src/main/webapp/META-INF/context.xml index deee50d1d2..3ec256150b 100644 --- a/packaging/war/src/main/webapp/META-INF/context.xml +++ b/packaging/war/src/main/webapp/META-INF/context.xml @@ -4,7 +4,7 @@ - + diff --git a/packaging/war/src/main/webapp/WEB-INF/web.xml b/packaging/war/src/main/webapp/WEB-INF/web.xml index e01023e21b..679600abf5 100644 --- a/packaging/war/src/main/webapp/WEB-INF/web.xml +++ b/packaging/war/src/main/webapp/WEB-INF/web.xml @@ -500,7 +500,7 @@ org.hibernate.dialect.MySQLInnoDBDialect, org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect, org.alfresco.repo.domain.hibernate.dialect.AlfrescoSybaseAnywhereDialect, - org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect, org.hibernate.dialect.PostgreSQLDialect + org.alfresco.repo.domain.hibernate.dialect.SQLServerDialect, org.hibernate.dialect.PostgreSQLDialect properties/hibernate.dialect java.lang.String diff --git a/remote-api/src/test/java/org/alfresco/rest/test/workflow/api/impl/ProcessesImplTest.java b/remote-api/src/test/java/org/alfresco/rest/test/workflow/api/impl/ProcessesImplTest.java index 987368a732..dc636b3e5d 100644 --- a/remote-api/src/test/java/org/alfresco/rest/test/workflow/api/impl/ProcessesImplTest.java +++ b/remote-api/src/test/java/org/alfresco/rest/test/workflow/api/impl/ProcessesImplTest.java @@ -205,7 +205,7 @@ public class ProcessesImplTest extends TestCase implements RecognizedParamsExtra { // the tests are always run on PostgreSQL only // Dialect dialect = (Dialect) applicationContext.getBean("dialect"); - // if (dialect instanceof AlfrescoSQLServerDialect) + // if (dialect instanceof SQLServerDialect) // { // REPO-1104: we do not run this test on MS SQL server because it will fail // until the Activiti defect related to REPO-1104 will be fixed diff --git a/repository/src/main/resources/alfresco/dao/dao-context.xml b/repository/src/main/resources/alfresco/dao/dao-context.xml index 58c6545f3f..042f5cb962 100644 --- a/repository/src/main/resources/alfresco/dao/dao-context.xml +++ b/repository/src/main/resources/alfresco/dao/dao-context.xml @@ -141,9 +141,10 @@ + - + diff --git a/repository/src/test/java/org/alfresco/AllDBTestsTestSuite.java b/repository/src/test/java/org/alfresco/AllDBTestsTestSuite.java index ba638aaa8a..e3f6c32249 100644 --- a/repository/src/test/java/org/alfresco/AllDBTestsTestSuite.java +++ b/repository/src/test/java/org/alfresco/AllDBTestsTestSuite.java @@ -2,7 +2,7 @@ * #%L * Alfresco Repository * %% - * Copyright (C) 2005 - 2021 Alfresco Software Limited + * Copyright (C) 2005 - 2025 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of @@ -54,6 +54,7 @@ import org.alfresco.util.testing.category.NonBuildTests; // From AppContext05TestSuite org.alfresco.repo.domain.node.NodeDAOTest.class, + org.alfresco.repo.domain.subscriptions.SubscriptionDAOTest.class, org.alfresco.repo.security.permissions.impl.AclDaoComponentTest.class, org.alfresco.repo.domain.contentdata.ContentDataDAOTest.class, org.alfresco.repo.domain.encoding.EncodingDAOTest.class, diff --git a/repository/src/test/java/org/alfresco/repo/domain/subscriptions/SubscriptionDAOTest.java b/repository/src/test/java/org/alfresco/repo/domain/subscriptions/SubscriptionDAOTest.java index b16c66a78a..873fc796f5 100644 --- a/repository/src/test/java/org/alfresco/repo/domain/subscriptions/SubscriptionDAOTest.java +++ b/repository/src/test/java/org/alfresco/repo/domain/subscriptions/SubscriptionDAOTest.java @@ -2,7 +2,7 @@ * #%L * Alfresco Repository * %% - * Copyright (C) 2005 - 2016 Alfresco Software Limited + * Copyright (C) 2005 - 2025 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of @@ -43,9 +43,9 @@ import org.alfresco.service.cmr.subscriptions.SubscriptionItemTypeEnum; import org.alfresco.service.transaction.TransactionService; import org.alfresco.test_category.OwnJVMTestsCategory; import org.alfresco.util.ApplicationContextHelper; -import org.alfresco.util.testing.category.NeverRunsTests; +import org.alfresco.util.testing.category.DBTests; -@Category({OwnJVMTestsCategory.class, NeverRunsTests.class}) +@Category({OwnJVMTestsCategory.class, DBTests.class}) public class SubscriptionDAOTest extends TestCase { private ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();