org.apache.openjpa.jdbc.meta.strats
Class MaxEmbeddedCharArrayFieldStrategy
java.lang.Object
   org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractStrategy
       org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy
           org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy
org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy
               org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedLobFieldStrategy
org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedLobFieldStrategy
                   org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedCharArrayFieldStrategy
org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedCharArrayFieldStrategy
- All Implemented Interfaces: 
- Serializable, Embeddable, FieldStrategy, Joinable, Strategy
- public class MaxEmbeddedCharArrayFieldStrategy 
- extends MaxEmbeddedLobFieldStrategy
Mapping for CLOB character array on a dictionary that has a maximum
 embedded CLOB size.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
 
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.MaxEmbeddedLobFieldStrategy | 
| customInsert, customUpdate, delete, insert, isCustomInsert, isCustomUpdate, isVersionable, join, load, load, loadProjection, select, supportsSelect, update, where | 
 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy | 
| appendIsNotNull, appendIsNull, getColumnIO, getColumns, getFieldIndex, getJoinValue, getJoinValue, getPrimaryKeyValue, getResultArguments, joinRelation, loadEmbedded, setAutoAssignedValue, toDataStoreValue, toEmbeddedDataStoreValue, toEmbeddedObjectValue | 
 
| Methods inherited from class org.apache.openjpa.jdbc.meta.strats.AbstractFieldStrategy | 
| appendIndex, appendIsEmpty, appendIsNotEmpty, appendSize, appendType, assertNotMappedBy, isEagerSelectToMany, joinKey, joinKeyRelation, loadEagerJoin, loadEagerParallel, loadKeyProjection, selectEagerJoin, selectEagerParallel, setFieldMapping, toKeyDataStoreValue | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
MaxEmbeddedCharArrayFieldStrategy
public MaxEmbeddedCharArrayFieldStrategy()
getExpectedJavaType
protected int getExpectedJavaType()
- Description copied from class: MaxEmbeddedLobFieldStrategy
- Return the expected type of the field from JavaTypesorJavaSQLTypes.
 
- 
- Specified by:
- getExpectedJavaTypein class- MaxEmbeddedLobFieldStrategy
 
- 
 
update
protected void update(OpenJPAStateManager sm,
                      Row row)
               throws SQLException
- Description copied from class: MaxEmbeddedLobFieldStrategy
- Set the value of the owning field into the given row.
 
- 
- Specified by:
- updatein class- MaxEmbeddedLobFieldStrategy
 
- 
- Throws:
- SQLException
 
isCustom
protected Boolean isCustom(OpenJPAStateManager sm,
                           JDBCStore store)
- Description copied from class: MaxEmbeddedLobFieldStrategy
- Return whether this is a custom insert/update.
 
- 
- Specified by:
- isCustomin class- MaxEmbeddedLobFieldStrategy
 
- 
 
putData
protected void putData(OpenJPAStateManager sm,
                       ResultSet rs,
                       DBDictionary dict)
                throws SQLException
- Description copied from class: MaxEmbeddedLobFieldStrategy
- Set the data from the given state manager into the result set.
 
- 
- Specified by:
- putDatain class- MaxEmbeddedLobFieldStrategy
 
- 
- Throws:
- SQLException
 
load
protected Object load(Column col,
                      Result res,
                      Joins joins)
               throws SQLException
- Description copied from class: MaxEmbeddedLobFieldStrategy
- Load this value from the given result.
 
- 
- Overrides:
- loadin class- MaxEmbeddedLobFieldStrategy
 
- 
- Throws:
- SQLException
 
map
public void map(boolean adapt)
- Description copied from interface: Strategy
- Map the owning mapping using this strategy.
 
- 
- Specified by:
- mapin interface- Strategy
- Overrides:
- mapin class- MaxEmbeddedLobFieldStrategy
 
- 
- Parameters:
- adapt- if true, use the owning mapping's raw mapping info
 to set its ORM data; if false, ORM data will already be set
 
initialize
public void initialize()
- Description copied from interface: Strategy
- Perform caching and other initialization operations. This method is
 called after Strategy.map(boolean), and after all related components have been
 mapped as well.
 
- 
- Specified by:
- initializein interface- Strategy
- Overrides:
- initializein class- HandlerFieldStrategy
 
- 
 
getValue
protected Object getValue(OpenJPAStateManager sm)
- 
- Specified by:
- getValuein class- MaxEmbeddedLobFieldStrategy
 
- 
 
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.