本文整理汇总了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 );
}
示例2: MetadataSources
import org.hibernate.cfg.EJB3NamingStrategy; //导入依赖的package包/类
public MetadataSources(ServiceRegistry serviceRegistry) {
this( serviceRegistry, EJB3DTDEntityResolver.INSTANCE, EJB3NamingStrategy.INSTANCE );
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}
示例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());
}