public abstract class JDBCModuleTest extends DataModuleTest
manager
Constructor and Description |
---|
JDBCModuleTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
addReceiverPeerUID(IEntity iEntity)
Add receiver peer uid
|
protected ActorBase |
createActor()
Create an empty actor
|
protected ActorBase |
createActor(java.lang.Integer actorId,
java.lang.String actorName,
java.lang.Integer filmId)
Create an empty actor
|
protected FilmBase |
createFilm()
Create an empty film object
|
protected FilmBase |
createFilm(java.lang.Integer filmID,
java.lang.String filmName,
java.lang.Integer duration,
java.sql.Timestamp creationDate,
java.lang.Long longField,
java.lang.Float floatField)
Create an empty film object
|
protected java.lang.String |
getLikeExpression()
Get the string expression that match contains "2" in the film name
|
void |
instantiateManager()
Instantiate a distributable entity manager
|
compareFilmElement, createSampleData, setUp, testAdd, testAddNullValue, testConditionBetween, testConditionEquals, testConditionGreaterThan, testConditionGreaterThanOrEqual, testConditionIn, testConditionIsNull, testConditionLessThan, testConditionLessThanOrEqual, testConditionLike, testConditionNotBetween, testConditionNotEquals, testConditionNotIn, testConditionNotNull, testDelete, testDeleteNullValue, testIsOpen, testListAll, testListAllWithNullValue, testLoadArray, testLoadArrayEmptyParameter, testLoadArrayNullValue1stParameter, testLoadArrayNullValue2ndParameter, testRead, testReadLastElementNullValue, testReadLastFilmElement, testReadNullValue, testTransactionDelete, testTransactionsAdd, testTransactionUpdate, testUpdate, testUpdateNullValue
protected FilmBase createFilm()
DataModuleTest
createFilm
in class DataModuleTest
protected ActorBase createActor()
DataModuleTest
createActor
in class DataModuleTest
protected FilmBase createFilm(java.lang.Integer filmID, java.lang.String filmName, java.lang.Integer duration, java.sql.Timestamp creationDate, java.lang.Long longField, java.lang.Float floatField)
DataModuleTest
createFilm
in class DataModuleTest
filmID
- Film IdfilmName
- Film nameduration
- DurationcreationDate
- Creation datelongField
- Long fieldfloatField
- Float fieldprotected ActorBase createActor(java.lang.Integer actorId, java.lang.String actorName, java.lang.Integer filmId)
DataModuleTest
createActor
in class DataModuleTest
actorId
- Actor IdactorName
- Actor namefilmId
- Film idprotected void addReceiverPeerUID(IEntity iEntity)
DataModuleTest
addReceiverPeerUID
in class DataModuleTest
iEntity
- Entitypublic void instantiateManager() throws java.lang.Exception
DataModuleTest
instantiateManager
in class DataModuleTest
java.lang.Exception
- throw an exceptionprotected java.lang.String getLikeExpression()
DataModuleTest
getLikeExpression
in class DataModuleTest