当前位置: 首页>>代码示例>>Java>>正文


Java EJB3NamingStrategy类代码示例

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


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

示例1: LegacyNamingStrategyDelegator

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
public LegacyNamingStrategyDelegator() {
	this( EJB3NamingStrategy.INSTANCE );
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:4,代码来源:LegacyNamingStrategyDelegator.java

示例2: MetadataSources

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
public MetadataSources(ServiceRegistry serviceRegistry) {
	this( serviceRegistry, EJB3DTDEntityResolver.INSTANCE, EJB3NamingStrategy.INSTANCE );
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:4,代码来源:MetadataSources.java

示例3: testSuccessGetResultSetStatementEJB3NamingStrategyJava

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetResultSetStatementEJB3NamingStrategyJava() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
	resultSetStatement = new ResultSetStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.resultSetStringEJB3NamingStrategy, resultSetStatement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:ResultSetStatementTest.java

示例4: testSuccessGetResultSetStatementEJB3NamingStrategyClass

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetResultSetStatementEJB3NamingStrategyClass() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
	resultSetStatement = new ResultSetStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.resultSetStringEJB3NamingStrategy, resultSetStatement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:ResultSetStatementTest.java

示例5: testSuccessGetStatementEJB3NamingStrategyJava

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
	statement = new UpdateSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.updateSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:UpdateSQLStatementTest.java

示例6: testSuccessGetStatementEJB3NamingStrategyClass

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
	statement = new UpdateSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.updateSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:UpdateSQLStatementTest.java

示例7: testSuccessGetStatementEJB3NamingStrategyJava

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
	statement = new InsertSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.insertSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:InsertSQLStatementTest.java

示例8: testSuccessGetStatementEJB3NamingStrategyClass

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
	statement = new InsertSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.insertSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:InsertSQLStatementTest.java

示例9: testSuccessGetStatementEJB3NamingStrategyJava

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
	statement = new SelectSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.selectSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:SelectSQLStatementTest.java

示例10: testSuccessGetStatementEJB3NamingStrategyClass

import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
	interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
	statement = new SelectSQLStatement(interpretedClass, new EJB3NamingStrategy());
	assertEquals(Results.selectSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
 
开发者ID:ralphavalon,项目名称:statement-generator,代码行数:7,代码来源:SelectSQLStatementTest.java


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