• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java DerbyTenSevenDialect类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.hibernate.dialect.DerbyTenSevenDialect的典型用法代码示例。如果您正苦于以下问题:Java DerbyTenSevenDialect类的具体用法?Java DerbyTenSevenDialect怎么用?Java DerbyTenSevenDialect使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DerbyTenSevenDialect类属于org.hibernate.dialect包,在下文中一共展示了DerbyTenSevenDialect类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: hibernateDatabaseDialectClass

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
private static Class<?> hibernateDatabaseDialectClass(DatabasePlatform database) {
	switch (database) {
	case DB2:
		return DB2Dialect.class;
	case DB2_AS400:
		return DB2400Dialect.class;
	case DERBY:
		return DerbyTenSevenDialect.class;
	case H2:
		return H2Dialect.class;
	case HSQL:
		return HSQLDialect.class;
	case INFORMIX:
		return InformixDialect.class;
	case MYSQL:
		return MySQL5Dialect.class;
	case ORACLE:
		return Oracle10gDialect.class;
	case POSTGRESQL:
		return PostgreSQL82Dialect.class;
	case SQL_SERVER:
		return SQLServerDialect.class;
	case MARIADB:
		return MySQL5Dialect.class;
	case HANA:
		return HANARowStoreDialect.class;
	case SQLITE:
	case NONE:
	default:
		break;
	}
	return null;
}
 
开发者ID:holon-platform,项目名称:holon-datastore-jpa,代码行数:34,代码来源:EntityManagerFactoryConfigurator.java


示例2: jpaProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
private Properties jpaProperties() {
	Properties extraProperties = new Properties();
	extraProperties.put("hibernate.dialect", DerbyTenSevenDialect.class.getName());
	extraProperties.put("hibernate.format_sql", "false");
	extraProperties.put("hibernate.show_sql", "false");
	extraProperties.put("hibernate.hbm2ddl.auto", "update");
	extraProperties.put("hibernate.jdbc.batch_size", "20");
	extraProperties.put("hibernate.cache.use_query_cache", "false");
	extraProperties.put("hibernate.cache.use_second_level_cache", "false");
	extraProperties.put("hibernate.cache.use_structured_entries", "false");
	extraProperties.put("hibernate.cache.use_minimal_puts", "false");
	extraProperties.put("hibernate.search.model_mapping", LuceneSearchMappingFactory.class.getName());
	extraProperties.put("hibernate.search.default.directory_provider" ,"filesystem");
	extraProperties.put("hibernate.search.default.indexBase", myFhirLuceneLocation);
	extraProperties.put("hibernate.search.lucene_version","LUCENE_CURRENT");
	return extraProperties;
}
 
开发者ID:jamesagnew,项目名称:hapi-fhir,代码行数:18,代码来源:TdlDstu2Config.java


示例3: jpaProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
private Properties jpaProperties() {
	Properties extraProperties = new Properties();
	if (CommonConfig.isLocalTestMode()) {
		extraProperties.put("hibernate.dialect", DerbyTenSevenDialect.class.getName());
	} else {
		extraProperties.put("hibernate.dialect", PostgreSQL94Dialect.class.getName());
	}
	extraProperties.put("hibernate.format_sql", "false");
	extraProperties.put("hibernate.show_sql", "false");
	extraProperties.put("hibernate.hbm2ddl.auto", "update");
	extraProperties.put("hibernate.jdbc.batch_size", "20");
	extraProperties.put("hibernate.cache.use_query_cache", "false");
	extraProperties.put("hibernate.cache.use_second_level_cache", "false");
	extraProperties.put("hibernate.cache.use_structured_entries", "false");
	extraProperties.put("hibernate.cache.use_minimal_puts", "false");
	extraProperties.put("hibernate.search.model_mapping", LuceneSearchMappingFactory.class.getName());
	extraProperties.put("hibernate.search.default.directory_provider", "filesystem");
	extraProperties.put("hibernate.search.default.indexBase", myFhirLuceneLocation);
	extraProperties.put("hibernate.search.lucene_version", "LUCENE_CURRENT");
	return extraProperties;
}
 
开发者ID:jamesagnew,项目名称:hapi-fhir,代码行数:22,代码来源:TestDstu2Config.java


示例4: jpaProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
private Properties jpaProperties() {
	Properties extraProperties = new Properties();
	extraProperties.put("hibernate.dialect", DerbyTenSevenDialect.class.getName());
	extraProperties.put("hibernate.format_sql", "false");
	extraProperties.put("hibernate.show_sql", "false");
	extraProperties.put("hibernate.hbm2ddl.auto", "update");
	extraProperties.put("hibernate.jdbc.batch_size", "20");
	extraProperties.put("hibernate.cache.use_query_cache", "false");
	extraProperties.put("hibernate.cache.use_second_level_cache", "false");
	extraProperties.put("hibernate.cache.use_structured_entries", "false");
	extraProperties.put("hibernate.cache.use_minimal_puts", "false");
	extraProperties.put("hibernate.search.model_mapping", LuceneSearchMappingFactory.class.getName());
	extraProperties.put("hibernate.search.default.directory_provider", "filesystem");
	extraProperties.put("hibernate.search.default.indexBase", myFhirLuceneLocation);
	extraProperties.put("hibernate.search.lucene_version", "LUCENE_CURRENT");
	return extraProperties;
}
 
开发者ID:jamesagnew,项目名称:hapi-fhir,代码行数:18,代码来源:TdlDstu3Config.java


示例5: additionalProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
Properties additionalProperties() {
	return new Properties() {
		private static final long serialVersionUID = 1L;
		{
			setProperty("hibernate.hbm2ddl.auto", "update");
			setProperty("hibernate.dialect",
					DerbyTenSevenDialect.class.getName());
			setProperty("hibernate.cache.region.factory_class",
					SingletonEhCacheRegionFactory.class.getName());
			setProperty("hibernate.cache.use_second_level_cache", "true");
			setProperty("hibernate.cache.use_query_cache", "true");
			setProperty("hibernate.show_sql", "false");
			setProperty("hibernate.format_sql", "false");
		}
	};
}
 
开发者ID:mpostelnicu,项目名称:wicket-spring-jpa-bootstrap-boilerplate,代码行数:17,代码来源:PersistenceApplicationConfiguration.java


示例6: jpaConfig

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
@Bean
public JPAConfig jpaConfig() {
    Properties p = new Properties();
    p.setProperty("hibernate.dialect", DerbyTenSevenDialect.class.getName());
    p.setProperty("hibernate.hbm2ddl.auto", "create-drop");
    p.setProperty("hibernate.showsql", "true");
    return new JPAConfig(p, datasource(), false, "com.kloudtek.ktspring");
}
 
开发者ID:Kloudtek,项目名称:ktspring,代码行数:9,代码来源:Config.java


示例7: jpaProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
@Bean
public Map<String, Object> jpaProperties() {
	Map<String, Object> props = new HashMap<String, Object>();
	props.put("hibernate.dialect", DerbyTenSevenDialect.class.getName());
	props.put("hibernate.hbm2ddl.auto", "create-drop");
	props.put("hibernate.show_sql", "true");
	props.put("hibernate.format_sql", "true");
	props.put("hibernate.connection.charSet", "UTF-8");
	return props;
}
 
开发者ID:baichenhong,项目名称:spring-project-template,代码行数:11,代码来源:TestConfig.java


示例8: additionalJPAProperties

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
public Properties additionalJPAProperties() {
    final Properties properties = new Properties();
    
    // Setting this to "create-drop" configure hibernate to drop all created tables when the JVM dies.
    if(EMUtils.toBoolean(EMPreferencesManager.getInstance().getPreferences().getDatabaseRollback())) {
        properties.setProperty(HIBERNATE_AUTO_DDL_PROP, HIBERNATE_AUTO_DDL_CREATE_DROP);
    } else {
        properties.setProperty(HIBERNATE_AUTO_DDL_PROP, HIBERNATE_AUTO_DDL_UPDATE);
    }
    
    properties.setProperty(HIBERNATE_DIALECT_PROP, DerbyTenSevenDialect.class.getName());
    properties.setProperty(HIBERNATE_SHOW_SQL, Boolean.toString(false));
    
    return properties;
}
 
开发者ID:eviljoe,项目名称:evilmusic,代码行数:16,代码来源:EvilMusicApp.java


示例9: addDialects

import org.hibernate.dialect.DerbyTenSevenDialect; //导入依赖的package包/类
private void addDialects(StrategySelectorImpl strategySelector) {
	addDialect( strategySelector, Cache71Dialect.class );
	addDialect( strategySelector, CUBRIDDialect.class );
	addDialect( strategySelector, DB2Dialect.class );
	addDialect( strategySelector, DB2390Dialect.class );
	addDialect( strategySelector, DB2400Dialect.class );
	addDialect( strategySelector, DerbyTenFiveDialect.class );
	addDialect( strategySelector, DerbyTenSixDialect.class );
	addDialect( strategySelector, DerbyTenSevenDialect.class );
	addDialect( strategySelector, FirebirdDialect.class );
	addDialect( strategySelector, FrontBaseDialect.class );
	addDialect( strategySelector, H2Dialect.class );
	addDialect( strategySelector, HSQLDialect.class );
	addDialect( strategySelector, InformixDialect.class );
	addDialect( strategySelector, IngresDialect.class );
	addDialect( strategySelector, Ingres9Dialect.class );
	addDialect( strategySelector, Ingres10Dialect.class );
	addDialect( strategySelector, InterbaseDialect.class );
	addDialect( strategySelector, JDataStoreDialect.class );
	addDialect( strategySelector, MckoiDialect.class );
	addDialect( strategySelector, MimerSQLDialect.class );
	addDialect( strategySelector, MySQL5Dialect.class );
	addDialect( strategySelector, MySQL5InnoDBDialect.class );
	addDialect( strategySelector, MySQL5Dialect.class );
	addDialect( strategySelector, MySQL5InnoDBDialect.class );
	addDialect( strategySelector, Oracle8iDialect.class );
	addDialect( strategySelector, Oracle9iDialect.class );
	addDialect( strategySelector, Oracle10gDialect.class );
	addDialect( strategySelector, PointbaseDialect.class );
	addDialect( strategySelector, PostgresPlusDialect.class );
	addDialect( strategySelector, PostgreSQL81Dialect.class );
	addDialect( strategySelector, PostgreSQL82Dialect.class );
	addDialect( strategySelector, PostgreSQL9Dialect.class );
	addDialect( strategySelector, ProgressDialect.class );
	addDialect( strategySelector, SAPDBDialect.class );
	addDialect( strategySelector, SQLServerDialect.class );
	addDialect( strategySelector, SQLServer2005Dialect.class );
	addDialect( strategySelector, SQLServer2008Dialect.class );
	addDialect( strategySelector, Sybase11Dialect.class );
	addDialect( strategySelector, SybaseAnywhereDialect.class );
	addDialect( strategySelector, SybaseASE15Dialect.class );
	addDialect( strategySelector, SybaseASE157Dialect.class );
	addDialect( strategySelector, TeradataDialect.class );
	addDialect( strategySelector, TimesTenDialect.class );
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:46,代码来源:StrategySelectorBuilder.java



注:本文中的org.hibernate.dialect.DerbyTenSevenDialect类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java RpcAuthInfo类代码示例发布时间:2022-05-22
下一篇:
Java Collision类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap