本文整理汇总了Java中org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect类的典型用法代码示例。如果您正苦于以下问题:Java AlfrescoOracle9Dialect类的具体用法?Java AlfrescoOracle9Dialect怎么用?Java AlfrescoOracle9Dialect使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
AlfrescoOracle9Dialect类属于org.alfresco.repo.domain.hibernate.dialect包,在下文中一共展示了AlfrescoOracle9Dialect类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: before
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect; //导入依赖的package包/类
@Before
public void before() throws Exception
{
//see REPO-1524
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
assumeFalse(dialect instanceof AlfrescoOracle9Dialect);
int port = getTestFixture().getJettyComponent().getPort();
TestNetwork network = getTestFixture().getRandomNetwork();
Map<String, String> cmisParameters = new HashMap<String, String>();
cmisParameters.put(TestParameters.DEFAULT_RELATIONSHIP_TYPE, "R:cm:replaces");
cmisParameters.put(TestParameters.DEFAULT_SECONDARY_TYPE, "P:cm:author");
cmisParameters.put(TestParameters.DEFAULT_ITEM_TYPE, "I:cm:cmobject");
clientContext = new OpenCMISClientContext(BindingType.BROWSER,
MessageFormat.format(CMIS_URL, "localhost", String.valueOf(port), "alfresco", network.getId(), "public"),
"[email protected]" + network.getId(), "admin", cmisParameters, getTestFixture().getJettyComponent().getApplicationContext());
overrideVersionableAspectProperties(getTestFixture().getJettyComponent().getApplicationContext());
}
示例2: before
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect; //导入依赖的package包/类
@Before
public void before() throws Exception
{
//see REPO-1524
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
assumeFalse(dialect instanceof AlfrescoOracle9Dialect);
int port = getTestFixture().getJettyComponent().getPort();
TestNetwork network = getTestFixture().getRandomNetwork();
Map<String, String> cmisParameters = new HashMap<String, String>();
cmisParameters.put(TestParameters.DEFAULT_RELATIONSHIP_TYPE, "R:cm:replaces");
cmisParameters.put(TestParameters.DEFAULT_SECONDARY_TYPE, "P:cm:author");
cmisParameters.put(TestParameters.DEFAULT_ITEM_TYPE, "I:cm:cmobject");
clientContext = new OpenCMISClientContext(BindingType.ATOMPUB,
MessageFormat.format(CMIS_URL, "localhost", String.valueOf(port), "alfresco", network.getId(), "public"),
"[email protected]" + network.getId(), "admin", cmisParameters, getTestFixture().getJettyComponent().getApplicationContext());
overrideVersionableAspectProperties(getTestFixture().getJettyComponent().getApplicationContext());
}
示例3: before
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect; //导入依赖的package包/类
@Before
public void before() throws Exception
{
//see REPO-1524
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
assumeFalse(dialect instanceof AlfrescoOracle9Dialect);
int port = getTestFixture().getJettyComponent().getPort();
TestNetwork network = getTestFixture().getRandomNetwork();
Map<String, String> cmisParameters = new HashMap<String, String>();
cmisParameters.put(TestParameters.DEFAULT_RELATIONSHIP_TYPE, "R:cm:replaces");
clientContext = new OpenCMISClientContext(BindingType.ATOMPUB,
MessageFormat.format(CMIS_URL, "localhost", String.valueOf(port), "alfresco", network.getId(), "public"),
"[email protected]" + network.getId(), "admin", cmisParameters, getTestFixture().getJettyComponent().getApplicationContext());
overrideVersionableAspectProperties(getTestFixture().getJettyComponent().getApplicationContext());
}
示例4: shouldTestBeSkippedForCurrentDB
import org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect; //导入依赖的package包/类
private boolean shouldTestBeSkippedForCurrentDB()
{
Dialect dialect = (Dialect) applicationContext.getBean("dialect");
return dialect instanceof AlfrescoOracle9Dialect
|| dialect instanceof AlfrescoSQLServerDialect
|| dialect instanceof DB2Dialect;
}