Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
List<RowImpl> |
BatchingPreparedStatementManagerImpl.getBatchedRows() |
Modifier and Type | Method and Description |
---|---|
protected void |
BatchingPreparedStatementManagerImpl.addBatch(PreparedStatement ps,
RowImpl row,
int count) |
protected void |
BatchingPreparedStatementManagerImpl.batchOrExecuteRow(RowImpl row) |
protected int |
PreparedStatementManagerImpl.executeUpdate(PreparedStatement stmnt,
String sql,
RowImpl row)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing update.
|
void |
PreparedStatementManager.flush(RowImpl row)
Flush the given row.
|
void |
PreparedStatementManagerImpl.flush(RowImpl row) |
protected void |
BatchingPreparedStatementManagerImpl.flushAndUpdate(RowImpl row)
Flush the given row immediately or deferred the flush in batch.
|
protected void |
PreparedStatementManagerImpl.flushAndUpdate(RowImpl row)
Flush the given row immediately.
|
protected void |
PreparedStatementManagerImpl.flushInternal(RowImpl row)
Flush the given row.
|
protected String[] |
PreparedStatementManagerImpl.getAutoAssignColNames(Column[] autoAssign,
RowImpl row) |
protected Column[] |
PreparedStatementManagerImpl.getAutoAssignColumns(RowImpl row) |
protected List<Object> |
PreparedStatementManagerImpl.populateAutoAssignCols(PreparedStatement stmnt,
Column[] autoAssign,
DBIdentifier[] autoAssignColNames,
RowImpl row)
This method will only be called when there is auto assign columns.
|
protected List<Object> |
PreparedStatementManagerImpl.populateAutoAssignCols(PreparedStatement stmnt,
Column[] autoAssign,
String[] autoAssignColNames,
RowImpl row) |
protected void |
PreparedStatementManagerImpl.setObjectId(List vals,
Column[] autoAssign,
DBIdentifier[] autoAssignColNames,
RowImpl row) |
protected void |
PreparedStatementManagerImpl.setObjectId(List vals,
Column[] autoAssign,
String[] autoAssignColNames,
RowImpl row) |
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 |
---|---|
protected RowImpl |
StateComparisonVersionStrategy.CustomUpdate.newInstance(Column[] cols,
int action) |
Modifier and Type | Class and Description |
---|---|
class |
PrimaryRow
Primary table row that tracks foreign keys and auto-inc columns.
|
class |
SecondaryRow
Secondary table row that tracks foreign keys to auto-inc columns.
|
Modifier and Type | Method and Description |
---|---|
protected RowImpl |
PrimaryRow.newInstance(Column[] cols,
int action) |
protected RowImpl |
RowImpl.newInstance(Column[] cols,
int action)
Return a new row.
|
protected RowImpl |
SecondaryRow.newInstance(Column[] cols,
int action) |
Modifier and Type | Method and Description |
---|---|
void |
PrimaryRow.copyInto(RowImpl row,
boolean whereOnly) |
void |
RowImpl.copyInto(RowImpl row,
boolean whereOnly)
Copy all values from this row into the given one.
|
void |
SecondaryRow.copyInto(RowImpl row,
boolean whereOnly) |
boolean |
DBDictionary.validateBatchProcess(RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Validate the batch process.
|
boolean |
DBDictionary.validateDBSpecificBatchProcess(boolean disableBatch,
RowImpl row,
Column[] autoAssign,
OpenJPAStateManager sm,
ClassMapping cmd)
Allow each Dictionary to validate its own batch process.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.