|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlobDomainInterface
Provides methods to save data to, and extract data from, LOB domain classes. These methods are implemented by all LOB-based domain classes: BlobDomain
, BFileDomain
, and ClobDomain
.
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) Deprecated. Internal: Applications should not use this method. Loads the actual data of the LOB-type database attribute into memory. 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. |
void |
prepareForDML(java.lang.Object context) Internal: Applications should not use this method. |
void |
saveToDatabase(Transaction transaction) Deprecated. Internal: Applications should not use this method. Saves data in memory to a database LOB-type attribute. 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. |
void |
saveToDatabase(Transaction transaction, java.lang.Object emptySQLObject) Internal: Applications should not use this method. |
Methods inherited from interface oracle.jbo.domain.DomainInterface |
---|
getData, setContext |
Method Detail |
---|
void loadFromDatabase(Transaction transaction) throws java.lang.Exception
Loads the actual data of the LOB-type database attribute into memory.
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 DBTransactionImpl
of the current Application Module.java.lang.Exception
void saveToDatabase(Transaction transaction) throws java.lang.Exception
Saves data in memory to a database LOB-type attribute.
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 DBTransactionImpl
instance of the current Application Module.java.lang.Exception
void saveToDatabase(Transaction transaction, java.lang.Object emptySQLObject) throws java.lang.Exception
Uses the given transaction context to store data back into the database using the LOB-locator which should be set before this method is invoked.
java.lang.Exception
void prepareForDML(java.lang.Object context)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |