net.java.ao.test
Class ActiveObjectsIntegrationTest
java.lang.Object
net.java.ao.test.ActiveObjectsIntegrationTest
@NameConverters(table=DynamicTableNameConverter.class,
field=DynamicFieldNameConverter.class)
@Jdbc(value=DynamicJdbcConfiguration.class)
public abstract class ActiveObjectsIntegrationTest- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityManager
protected EntityManager entityManager
ActiveObjectsIntegrationTest
public ActiveObjectsIntegrationTest()
isOracle
protected final boolean isOracle()
checkSqlExecuted
protected final <T> T checkSqlExecuted(Callable<T> callable)
throws Exception
- Throws:
Exception
checkSqlNotExecuted
protected final <T> T checkSqlNotExecuted(Callable<T> callable)
throws Exception
- Throws:
Exception
checkSqlExecutedWhenSaving
protected final <E extends RawEntity<?>> E checkSqlExecutedWhenSaving(E entity)
throws Exception
- Throws:
Exception
executeUpdate
protected final void executeUpdate(String sql,
DbUtils.UpdateCallback callback)
throws Exception
- Throws:
Exception
executeStatement
protected final void executeStatement(String sql,
DbUtils.StatementCallback callback)
throws Exception
- Throws:
Exception
getTableName
protected final String getTableName(Class<? extends RawEntity<?>> entityType)
getTableName
protected final String getTableName(Class<? extends RawEntity<?>> entityType,
boolean escape)
- Get the table name of the given class entity
- Parameters:
entityType - the class of the entityescape - whether or not to escape the table name
- Returns:
- the table name
getFieldName
protected final String getFieldName(Class<? extends RawEntity<?>> entityType,
String methodName)
getPolyFieldName
protected final String getPolyFieldName(Class<? extends RawEntity<?>> entityType,
String methodName)
escapeFieldName
protected final String escapeFieldName(Class<? extends RawEntity<?>> entityType,
String methodName)
escapePolyFieldName
protected final String escapePolyFieldName(Class<? extends RawEntity<?>> entityType,
String methodName)
escapeKeyword
protected final String escapeKeyword(String keyword)
Copyright © 2007-2011. All Rights Reserved.