Java 类org.hibernate.cfg.EJB3NamingStrategy 实例源码

项目:lams    文件:LegacyNamingStrategyDelegator.java   
public LegacyNamingStrategyDelegator() {
    this( EJB3NamingStrategy.INSTANCE );
}
项目:lams    文件:MetadataSources.java   
public MetadataSources(ServiceRegistry serviceRegistry) {
    this( serviceRegistry, EJB3DTDEntityResolver.INSTANCE, EJB3NamingStrategy.INSTANCE );
}
项目:statement-generator    文件:ResultSetStatementTest.java   
@Test
public void testSuccessGetResultSetStatementEJB3NamingStrategyJava() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
    resultSetStatement = new ResultSetStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.resultSetStringEJB3NamingStrategy, resultSetStatement.getStatement());
}
项目:statement-generator    文件:ResultSetStatementTest.java   
@Test
public void testSuccessGetResultSetStatementEJB3NamingStrategyClass() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
    resultSetStatement = new ResultSetStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.resultSetStringEJB3NamingStrategy, resultSetStatement.getStatement());
}
项目:statement-generator    文件:UpdateSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
    statement = new UpdateSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.updateSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
项目:statement-generator    文件:UpdateSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
    statement = new UpdateSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.updateSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
项目:statement-generator    文件:InsertSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
    statement = new InsertSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.insertSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
项目:statement-generator    文件:InsertSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
    statement = new InsertSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.insertSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
项目:statement-generator    文件:SelectSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyJava() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(ExampleModel.class);
    statement = new SelectSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.selectSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}
项目:statement-generator    文件:SelectSQLStatementTest.java   
@Test
public void testSuccessGetStatementEJB3NamingStrategyClass() {
    interpretedClass = InterpretedClassFactory.getInterpretedClass(getJavaClass());
    statement = new SelectSQLStatement(interpretedClass, new EJB3NamingStrategy());
    assertEquals(Results.selectSQLStatementStringEJB3NamingStrategy, statement.getStatement());
}