Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
|
Modifier and Type | Method and Description |
---|---|
protected RowManager |
OperationOrderUpdateManager.newRowManager() |
protected RowManager |
ConstraintUpdateManager.newRowManager() |
protected abstract RowManager |
AbstractUpdateManager.newRowManager()
Return a new
RowManager . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUpdateManager.delete(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to delete the given instance, base class last.
|
protected Collection |
OperationOrderUpdateManager.flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps) |
protected Collection |
ConstraintUpdateManager.flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps) |
protected Collection |
BatchingOperationOrderUpdateManager.flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps) |
protected Collection |
BatchingConstraintUpdateManager.flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps) |
protected abstract Collection |
AbstractUpdateManager.flush(RowManager rowMgr,
PreparedStatementManager psMgr,
Collection exceps)
Flush all rows of the given row manager.
|
protected void |
AbstractUpdateManager.insert(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to insert the given instance, base class first.
|
protected Collection |
AbstractUpdateManager.populateRowManager(OpenJPAStateManager sm,
RowManager rowMgr,
JDBCStore store,
Collection exceps,
Collection customs)
Populate the row manager with rows to be flushed for the given state.
|
protected void |
AbstractUpdateManager.update(OpenJPAStateManager sm,
BitSet dirty,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs,
boolean updateIndicators)
Recursive method to update the given instance.
|
protected void |
AbstractUpdateManager.updateIndicators(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs,
boolean versionUpdateOnly)
Update version and discriminator indicators.
|
Modifier and Type | Method and Description |
---|---|
void |
Version.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set the where values appropriately to delete the proper instance,
and set all relations on non-secondary tables as updates.
|
void |
FieldMapping.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Discriminator.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.deleteRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Delete the row for this object if the reference foreign key exists.
|
Row |
FieldMapping.getRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
int action)
Return the row to use for this field.
|
void |
Version.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
FieldMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Discriminator.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Version.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Strategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
FieldMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Discriminator.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue)
Add a WHERE condition to the row for this field such that the field's
current DB value must equal the given previous value.
|
void |
FieldMapping.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
Modifier and Type | Class and Description |
---|---|
static class |
StateComparisonVersionStrategy.CustomUpdate
Row implementation we use to pass to versionable mappings so they
can set up the where conditions we need to add to update statements.
|
Modifier and Type | Method and Description |
---|---|
void |
VerticalClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
MapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.delete(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Delete an embedded object record.
|
void |
VerticalClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
InValueDiscriminatorStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.insert(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Insert an embedded object.
|
protected boolean |
MapTableFieldStrategy.populateKey(Row row,
OpenJPAStateManager valsm,
Object obj,
StoreContext ctx,
RowManager rm,
JDBCStore store) |
void |
VerticalClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
EmbedFieldStrategy.update(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Update an embedded object.
|
void |
StringFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
PrimitiveFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
HandlerFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
AbstractFieldStrategy.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
Modifier and Type | Class and Description |
---|---|
class |
RowManagerImpl
Manages SQL rows during an insert/update/delete process.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.