Package | Description |
---|---|
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 |
---|---|
Row |
FieldMapping.getRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
int action)
Return the row to use for this field.
|
Modifier and Type | Method and Description |
---|---|
void |
ValueMappingImpl.setForeignKey(Row row,
OpenJPAStateManager rel) |
void |
ValueMapping.setForeignKey(Row row,
OpenJPAStateManager rel)
Sets this value's foreign key to the given related object.
|
void |
FieldMapping.setForeignKey(Row row,
OpenJPAStateManager sm) |
void |
ValueMappingImpl.setForeignKey(Row row,
OpenJPAStateManager rel,
int targetNumber) |
void |
ValueMapping.setForeignKey(Row row,
OpenJPAStateManager rel,
int targetNumber)
Sets this value's foreign key to the given related object.
|
void |
FieldMapping.setForeignKey(Row row,
OpenJPAStateManager sm,
int targetNumber) |
void |
ValueMappingImpl.whereForeignKey(Row row,
OpenJPAStateManager rel) |
void |
ValueMapping.whereForeignKey(Row row,
OpenJPAStateManager rel)
Sets this value's foreign key to the given related object.
|
void |
FieldMapping.whereForeignKey(Row row,
OpenJPAStateManager sm) |
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 |
---|---|
Row |
StateComparisonVersionStrategy.CustomUpdate.getAllRows(Table table,
int action) |
Row |
StateComparisonVersionStrategy.CustomUpdate.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create) |
Row |
StateComparisonVersionStrategy.CustomUpdate.getSecondaryRow(Table table,
int action) |
Modifier and Type | Method and Description |
---|---|
void |
EmbedFieldStrategy.delete(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Delete an embedded object record.
|
void |
StateComparisonVersionStrategy.CustomUpdate.flushAllRows(Row row) |
void |
StateComparisonVersionStrategy.CustomUpdate.flushSecondaryRow(Row row) |
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) |
static boolean |
HandlerStrategies.set(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols,
ColumnIO io,
boolean nullNone)
Set the given value into the given row.
|
void |
HandlerRelationMapTableFieldStrategy.setKey(Object keyObj,
JDBCStore store,
Row row) |
void |
EmbedFieldStrategy.update(OpenJPAStateManager owner,
OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Row row)
Update an embedded object.
|
protected void |
MaxEmbeddedClobFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedCharArrayFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedByteArrayFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
protected void |
MaxEmbeddedBlobFieldStrategy.update(OpenJPAStateManager sm,
Row row) |
static void |
HandlerStrategies.where(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols)
Add where conditions to the given row.
|
Modifier and Type | Class and Description |
---|---|
class |
PrimaryRow
Primary table row that tracks foreign keys and auto-inc columns.
|
class |
RowImpl
Basic
Row implementation. |
class |
SecondaryRow
Secondary table row that tracks foreign keys to auto-inc columns.
|
Modifier and Type | Method and Description |
---|---|
Row |
RowManagerImpl.getAllRows(Table table,
int action) |
Row |
RowManager.getAllRows(Table table,
int action)
Return a logical row representing an update that should be made to
all rows of the given table.
|
Row |
RowManagerImpl.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create) |
Row |
RowManager.getRow(Table table,
int action,
OpenJPAStateManager sm,
boolean create)
Return the row for the given table and owner object, or null if
create is false and the row has not already been created. |
Row |
RowManagerImpl.getSecondaryRow(Table table,
int action) |
Row |
RowManager.getSecondaryRow(Table table,
int action)
Return a row for the given secondary table.
|
Modifier and Type | Method and Description |
---|---|
Collection<Row> |
RowManagerImpl.getAllRowDeletes()
Return any 'all row' deletes.
|
Collection<Row> |
RowManagerImpl.getAllRowUpdates()
Return any 'all row' updates.
|
Modifier and Type | Method and Description |
---|---|
void |
RowManagerImpl.flushAllRows(Row row) |
void |
RowManager.flushAllRows(Row row)
Flush the logical row.
|
void |
RowManagerImpl.flushSecondaryRow(Row row) |
void |
RowManager.flushSecondaryRow(Row row)
Flush the secondary row; after flushing the row is available for reuse.
|
void |
PostgresDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
OracleDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
DBDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
DB2Dictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
OracleDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
void |
DBDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
void |
DB2Dictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.