|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by all "blob" based domain classes.
Domain classes encapsulate Oracle SQL datatypes. Domain objects can be converted to the standard JDBC data types.
TypeFactory
,
JboDomainValidator
Method Summary | |
void |
loadFromDatabase(Transaction transaction)
Loads the actual data of the "blob" type database attribute into memory. |
void |
prepareForDML(java.lang.Object context)
|
void |
saveToDatabase(Transaction transaction)
Saves data in memory to a database "blob" type attribute. |
void |
saveToDatabase(Transaction transaction,
java.lang.Object emptySQLObject)
|
Methods inherited from interface oracle.jbo.domain.DomainInterface |
getData,
setContext |
Method Detail |
public void loadFromDatabase(Transaction transaction) throws java.lang.Exception
The transaction argument is needed to perform an additional query into the database to extract the data.
This method does not need to be invoked for a new attribute.
transaction
- the oracle.jbo.rt.DBTransactionImpl of the current appmodule.public void saveToDatabase(Transaction transaction) throws java.lang.Exception
The transaction argument is is needed to perform an additional query into the database to write the data.
This method does not need to be invoked if this attribute's data has not changed.
transaction
- the oracle.jbo.rt.DBTransactionImpl
instance of the current application module.public void saveToDatabase(Transaction transaction, java.lang.Object emptySQLObject) throws java.lang.Exception
public void prepareForDML(java.lang.Object context)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |