本文整理汇总了Java中org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect类的典型用法代码示例。如果您正苦于以下问题:Java AlfrescoSQLServerDialect类的具体用法?Java AlfrescoSQLServerDialect怎么用?Java AlfrescoSQLServerDialect使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AlfrescoSQLServerDialect类属于org.alfresco.repo.domain.hibernate.dialect包,在下文中一共展示了AlfrescoSQLServerDialect类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testGetProcessesMatchesIgnoreCaseNoResults
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect; //导入依赖的package包/类
@Test
public void testGetProcessesMatchesIgnoreCaseNoResults()
{
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
if (dialect instanceof AlfrescoSQLServerDialect)
{
// 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
// this test could fail on other DBs where the LIKE operator behaves as case insensitive
return;
}
CollectionWithPagingInfo<ProcessInfo> result = queryMatchesProcesses("test workflow api calls review and approve");
assertNotNull(result);
assertNotNull(result.getCollection());
assertTrue(result.getTotalItems() == 0 );
}
示例2: shouldTestBeSkippedForCurrentDB
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect; //导入依赖的package包/类
private boolean shouldTestBeSkippedForCurrentDB()
{
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
return dialect instanceof AlfrescoOracle9Dialect
|| dialect instanceof AlfrescoSQLServerDialect
|| dialect instanceof DB2Dialect;
}
示例3: setUp
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect; //导入依赖的package包/类
@Before
public void setUp() throws Exception
{
validator = new TypeNameOnlyValidator();
validationResults = new Results();
ctx = new DiffContext(new AlfrescoSQLServerDialect(), validationResults, null, null);
}