| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedLobFieldStrategy
org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedBlobFieldStrategy
public class MaxEmbeddedBlobFieldStrategy
Mapping for serialized fields on a dictionary that has a maximum embedded BLOB size.
| Field Summary | 
|---|
| Fields inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy | 
|---|
| field | 
| Constructor Summary | |
|---|---|
| MaxEmbeddedBlobFieldStrategy() | |
| Method Summary | |
|---|---|
| protected  int | getExpectedJavaType()Return the expected type of the field from JavaTypesorJavaSQLTypes. | 
|  void | initialize()Perform caching and other initialization operations. | 
| protected  Boolean | isCustom(OpenJPAStateManager sm,
         JDBCStore store)Return whether this is a custom insert/update. | 
|  void | map(boolean adapt)Map the owning mapping using this strategy. | 
| protected  void | putData(OpenJPAStateManager sm,
        ResultSet rs,
        DBDictionary dict)Set the data from the given state manager into the result set. | 
| protected  void | update(OpenJPAStateManager sm,
       Row row)Set the value of the owning field into the given row. | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedLobFieldStrategy | 
|---|
| appendIsNotNull, appendIsNull, customInsert, customUpdate, delete, insert, isCustomInsert, isCustomUpdate, isVersionable, join, load, load, load, loadProjection, select, supportsSelect, update, where | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy | 
|---|
| appendIsEmpty, appendIsNotEmpty, appendSize, assertNotMappedBy, isEagerSelectToMany, joinKey, joinKeyRelation, joinRelation, loadEagerJoin, loadEagerParallel, loadKeyProjection, selectEagerJoin, selectEagerParallel, setFieldMapping, toDataStoreValue, toKeyDataStoreValue | 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractStrategy | 
|---|
| customDelete, getAlias, isCustomDelete | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.openjpa.jdbc.meta.Strategy | 
|---|
| customDelete, getAlias, isCustomDelete | 
| Constructor Detail | 
|---|
public MaxEmbeddedBlobFieldStrategy()
| Method Detail | 
|---|
protected int getExpectedJavaType()
MaxEmbeddedLobFieldStrategyJavaTypes or
 JavaSQLTypes.
getExpectedJavaType in class MaxEmbeddedLobFieldStrategy
protected void update(OpenJPAStateManager sm,
                      Row row)
               throws SQLException
MaxEmbeddedLobFieldStrategy
update in class MaxEmbeddedLobFieldStrategySQLException
protected Boolean isCustom(OpenJPAStateManager sm,
                           JDBCStore store)
MaxEmbeddedLobFieldStrategy
isCustom in class MaxEmbeddedLobFieldStrategy
protected void putData(OpenJPAStateManager sm,
                       ResultSet rs,
                       DBDictionary dict)
                throws SQLException
MaxEmbeddedLobFieldStrategy
putData in class MaxEmbeddedLobFieldStrategySQLExceptionpublic void map(boolean adapt)
Strategy
map in interface Strategymap in class MaxEmbeddedLobFieldStrategyadapt - if true, use the owning mapping's raw mapping info
 to set its ORM data; if false, ORM data will already be setpublic void initialize()
StrategyStrategy.map(boolean), and after all related components have been
 mapped as well.
initialize in interface Strategyinitialize in class AbstractStrategy| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||