Package | Description |
---|---|
org.apache.openjpa.jdbc.identifier | |
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
This package provides utilities for managing the schema of
persistent objects stored in a relational database.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
org.apache.openjpa.persistence.jdbc |
OpenJPA JPA-JDBC
JDBC-specific extensions to OpenJPA JPA runtime.
|
Modifier and Type | Method and Description |
---|---|
String |
DBIdentifierUtil.appendColumns(Column[] columns)
Appends multiple columns names together into comma delimited string.
|
String |
DBIdentifierUtilImpl.appendColumns(Column[] columns) |
DBIdentifier |
DBIdentifierUtil.getGeneratedKeySequenceName(Column col,
int maxLen)
Returns a generated key sequence identifier for the column.
|
DBIdentifier |
DBIdentifierUtilImpl.getGeneratedKeySequenceName(Column col,
int maxLen) |
Modifier and Type | Method and Description |
---|---|
protected Column |
ClassTableJDBCSeq.addPrimaryKeyColumn(Table table) |
protected Column |
ValueTableJDBCSeq.addPrimaryKeyColumn(Table table) |
protected Column |
TableJDBCSeq.addPrimaryKeyColumn(Table table)
Add the primary key column to the given table and return it.
|
protected Column[] |
PreparedStatementManagerImpl.getAutoAssignColumns(RowImpl row) |
Column[] |
FinderQueryImpl.getPKColumns() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
PreparedStatementManagerImpl.getAutoAssignColNames(Column[] autoAssign,
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 | Field and Description |
---|---|
Column[] |
PCPath.PathExpState.cols |
Modifier and Type | Method and Description |
---|---|
Column[] |
PCPath.getColumns(ExpState state) |
Modifier and Type | Method and Description |
---|---|
void |
PCPath.appendTo(Select sel,
ExpState state,
SQLBuffer sql,
Column col) |
String |
FilterValue.getColumnAlias(Column col)
Return the alias to use for the given column (this includes the table
alias prefix, if any).
|
Modifier and Type | Method and Description |
---|---|
protected Column[] |
MappingInfo.createColumns(MetaDataContext context,
String prefix,
Column[] tmplates,
Table table,
boolean adapt)
Retrieve/create columns on the given table by merging the given
template information with any user-provided information.
|
Column[] |
Joinable.getColumns()
The columns managed by this joinable.
|
Column[] |
DelegatingJoinable.getColumns() |
Column[] |
Embeddable.getColumns()
Return the columns used by this strategy.
|
Column[] |
Discriminator.getColumns()
Columns used by this Discriminator.
|
Column[] |
Version.getColumns()
Columns used for versioning.
|
Column[] |
ValueMappingImpl.getColumns() |
Column[] |
FieldMapping.getColumns() |
Column[] |
ValueMapping.getColumns()
The columns that hold the data for this value.
|
Column[] |
DiscriminatorMappingInfo.getColumns(Discriminator discrim,
Column[] tmplates,
boolean adapt)
Return the columns set for this discriminator, based on the given
templates.
|
Column[] |
ValueMappingInfo.getColumns(ValueMapping val,
DBIdentifier name,
Column[] tmplates,
Table table,
boolean adapt) |
Column[] |
ValueMappingInfo.getColumns(ValueMapping val,
String name,
Column[] tmplates,
Table table,
boolean adapt)
Deprecated.
|
Column[] |
VersionMappingInfo.getColumns(Version version,
Column[] templates,
boolean adapt)
Return the columns set for this version, based on the given templates.
|
Column[] |
ClassMappingInfo.getDataStoreIdColumns(ClassMapping cls,
Column[] tmplates,
Table table,
boolean adapt)
Return the datastore identity columns for the given class, based on the
given templates.
|
Column[] |
VersionMappingInfo.getMultiTableColumns(Version vers,
Column[] templates,
boolean adapt)
Return the columns set for this version when the columns are spread
across multiple tables.
|
Column |
ValueMappingInfo.getNullIndicatorColumn(ValueMapping val,
DBIdentifier name,
Table table,
boolean adapt) |
Column |
ValueMappingInfo.getNullIndicatorColumn(ValueMapping val,
String name,
Table table,
boolean adapt)
Deprecated.
|
Column |
FieldMapping.getOrderColumn()
Field order column, if any.
|
Column |
FieldMappingInfo.getOrderColumn()
Raw synthetic ordering column.
|
Column |
FieldMappingInfo.getOrderColumn(FieldMapping field,
Table table,
boolean adapt)
Return the ordering column for this field, or null if none.
|
Column[] |
ClassMapping.getPrimaryKeyColumns()
The columns this mapping uses to uniquely identify an object.
|
Column[] |
ValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Map the given value and return all mapped columns, or simply return an
array of unmapped default columns.
|
protected static Column |
MappingInfo.mergeColumn(MetaDataContext context,
String prefix,
Column tmplate,
boolean compat,
Column given,
Table table,
boolean adapt,
boolean fill)
Merge the given columns if possible.
|
protected static Column |
MappingInfo.syncColumn(MetaDataContext context,
Column col,
int num,
boolean forceJDBCType,
Table colTable,
Table targetTable,
Object target,
boolean inverse)
Create a copy of the given column with the raw mapping information
set correctly, and without settings that match defaults.
|
Modifier and Type | Method and Description |
---|---|
Map<Column,?> |
Version.getBulkUpdateValues() |
Map<Column,?> |
VersionStrategy.getBulkUpdateValues() |
List<Column> |
MappingInfo.getColumns()
Raw column data.
|
List<Column> |
MappingInfo.getColumns(DBIdentifier tableName)
Gets the columns whose table name matches the given table name.
|
List<Column> |
MappingInfo.getColumns(String tableName)
Deprecated.
|
List<Column> |
ValueMappingInfo.getMapsIdColumns()
Raw column data.
|
List<Column> |
ClassMappingInfo.getSecondaryTableJoinColumns(DBIdentifier tableName) |
List<Column> |
ClassMappingInfo.getSecondaryTableJoinColumns(String tableName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
MappingDefaultsImpl.areAllPrimaryKeyColumns(Column[] cols)
Return whether all the given columns are primary key columns.
|
Joinable |
ClassMapping.assertJoinable(Column col)
Return the joinable for the given column, or throw an exception if
none is available.
|
protected void |
MappingDefaultsImpl.correctName(Table table,
Column col)
Correct the given column's name.
|
protected Column[] |
MappingInfo.createColumns(MetaDataContext context,
String prefix,
Column[] tmplates,
Table table,
boolean adapt)
Retrieve/create columns on the given table by merging the given
template information with any user-provided information.
|
protected Index |
MappingInfo.createIndex(MetaDataContext context,
String prefix,
Index tmplate,
Column[] cols,
boolean adapt)
Retrieve/create an index on the given columns by merging the given
template information with any user-provided information.
|
protected Unique |
MappingInfo.createUnique(MetaDataContext context,
String prefix,
Unique tmplate,
Column[] cols,
boolean adapt)
Retrieve/create a unique constraint on the given columns by merging the
given template information with any user-provided information.
|
int |
ValueMappingInfo.findTargetField(Column[] tmplates,
String target)
Return the position of the template column with the given target field.
|
Column[] |
DiscriminatorMappingInfo.getColumns(Discriminator discrim,
Column[] tmplates,
boolean adapt)
Return the columns set for this discriminator, based on the given
templates.
|
Column[] |
ValueMappingInfo.getColumns(ValueMapping val,
DBIdentifier name,
Column[] tmplates,
Table table,
boolean adapt) |
Column[] |
ValueMappingInfo.getColumns(ValueMapping val,
String name,
Column[] tmplates,
Table table,
boolean adapt)
Deprecated.
|
Column[] |
VersionMappingInfo.getColumns(Version version,
Column[] templates,
boolean adapt)
Return the columns set for this version, based on the given templates.
|
Column[] |
ClassMappingInfo.getDataStoreIdColumns(ClassMapping cls,
Column[] tmplates,
Table table,
boolean adapt)
Return the datastore identity columns for the given class, based on the
given templates.
|
String |
ReverseCustomizer.getFieldName(ClassMapping dec,
Column[] cols,
ForeignKey fk,
String defaultName)
Return the field name used to map the given columns, or null to prevent
the columns from being mapped.
|
String |
PropertiesReverseCustomizer.getFieldName(ClassMapping dec,
Column[] cols,
ForeignKey fk,
String defaultName) |
Class |
ReverseMappingTool.getFieldType(Column col,
boolean forceObject)
Return the default field type for the given column.
|
Index |
DiscriminatorMappingInfo.getIndex(Discriminator discrim,
Column[] cols,
boolean adapt)
Return the index to set on the discriminator columns, or null if none.
|
Index |
NoneMappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(Discriminator disc,
Table table,
Column[] cols) |
Index |
MappingDefaults.getIndex(Discriminator disc,
Table table,
Column[] cols)
Return a default index for the discriminator, or null if the
discriminator columns should not be indexed by default.
|
Index |
NoneMappingDefaults.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
Index |
MappingDefaults.getIndex(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Return a default index for the value, or null if the value columns
should not be indexed by default.
|
Index |
NoneMappingDefaults.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
Index |
MappingDefaults.getIndex(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
Index |
VersionMappingInfo.getIndex(Version version,
Column[] cols,
boolean adapt)
Return the index to set on the version columns, or null if none.
|
Index |
NoneMappingDefaults.getIndex(Version vers,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getIndex(Version vers,
Table table,
Column[] cols) |
Index |
MappingDefaults.getIndex(Version vers,
Table table,
Column[] cols)
Return a default index for the version, or null if the
version columns should not be indexed by default.
|
protected DBIdentifier |
MappingDefaultsImpl.getIndexName(DBIdentifier name,
Table table,
Column[] cols) |
protected String |
MappingDefaultsImpl.getIndexName(String name,
Table table,
Column[] cols)
Deprecated.
|
Joinable |
ClassMapping.getJoinable(Column col)
Return the
Joinable for the given column. |
Index |
NoneMappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols) |
Index |
MappingDefaultsImpl.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols) |
Index |
MappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
Return a default index for the join, or null if the
join columns should not be indexed by default.
|
Unique |
NoneMappingDefaults.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols) |
Unique |
MappingDefaultsImpl.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols) |
Unique |
MappingDefaults.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
Return a default constraint for the join, or null if the join columns
should not be constrained by default.
|
Object |
Joinable.getJoinValue(Object val,
Column col,
JDBCStore store)
Return the join value of the given column.
|
Object |
DelegatingJoinable.getJoinValue(Object val,
Column col,
JDBCStore store) |
Object |
Joinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
Return the join value of the given column.
|
Object |
DelegatingJoinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Column[] |
VersionMappingInfo.getMultiTableColumns(Version vers,
Column[] templates,
boolean adapt)
Return the columns set for this version when the columns are spread
across multiple tables.
|
Object |
Joinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
Return the value for this joinable from the given result, using the
given columns.
|
Object |
DelegatingJoinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Unique |
NoneMappingDefaults.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
Unique |
MappingDefaultsImpl.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
Unique |
MappingDefaults.getUnique(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Return a default constraint for the value, or null if the value columns
should not be constrained by default.
|
Unique |
NoneMappingDefaults.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols) |
Unique |
MappingDefaultsImpl.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
Unique |
MappingDefaults.getUnique(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
protected static Column |
MappingInfo.mergeColumn(MetaDataContext context,
String prefix,
Column tmplate,
boolean compat,
Column given,
Table table,
boolean adapt,
boolean fill)
Merge the given columns if possible.
|
FieldMapping |
ReverseMappingTool.newFieldMapping(String name,
Class type,
Column col,
ForeignKey fk,
ClassMapping dec)
Create a field mapping for the given info, or return null if
customizer rejects.
|
void |
MappingInfo.ForeignKeyDefaults.populate(Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Populate the given foreign key column with defaults.
|
void |
NoneMappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateColumns(Discriminator disc,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(Discriminator disc,
Table table,
Column[] cols)
Fill in default information for the given discriminator columns.
|
void |
NoneMappingDefaults.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Fill in default information for the given value columns.
|
void |
NoneMappingDefaults.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
void |
MappingDefaultsImpl.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
void |
NoneMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateColumns(Version vers,
Table table,
Column[] cols) |
void |
MappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols)
Fill in default information for the given version columns.
|
void |
NoneMappingDefaults.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols) |
void |
MappingDefaultsImpl.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols) |
void |
MappingDefaults.populateDataStoreIdColumns(ClassMapping cls,
Table table,
Column[] cols)
Fill in default information for the given datastore identity columns.
|
void |
NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols) |
void |
MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols) |
void |
MappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Fill in default information for the given column used to join a value
to its related type.
|
void |
NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Deprecated.
|
void |
MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Deprecated.
|
void |
MappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols)
Deprecated.
|
void |
NoneMappingDefaults.populateJoinColumn(ClassMapping cm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols) |
void |
MappingDefaultsImpl.populateJoinColumn(ClassMapping cm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols) |
void |
MappingDefaults.populateJoinColumn(ClassMapping cm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
Fill in default information for the given column used to join a class
to its superclass table.
|
void |
NoneMappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols) |
void |
MappingDefaultsImpl.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols) |
void |
MappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols)
Fill in default information for the given column used to join a field
to its defining class' table.
|
boolean |
NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
boolean |
MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols) |
boolean |
MappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
DBIdentifier name,
Table table,
Column[] cols)
Fill in default information for the given null indicator columns.
|
boolean |
NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
boolean |
MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
boolean |
MappingDefaults.populateNullIndicatorColumns(ValueMapping vm,
String name,
Table table,
Column[] cols)
Deprecated.
|
boolean |
NoneMappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols) |
boolean |
MappingDefaultsImpl.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols) |
boolean |
MappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
Fill in default information for the given order columns.
|
void |
Joinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen)
Use the given auto-assigned value to set this join value's field
on the given instance.
|
void |
DelegatingJoinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen) |
void |
Discriminator.setColumns(Column[] cols)
Columns used by this Discriminator.
|
void |
Version.setColumns(Column[] cols)
Columns used for versioning.
|
void |
ValueMappingImpl.setColumns(Column[] cols) |
void |
FieldMapping.setColumns(Column[] cols) |
void |
ValueMapping.setColumns(Column[] cols)
The columns that hold the data for this value.
|
void |
ClassMapping.setJoinable(Column col,
Joinable joinable)
Add the given column-to-joinable mapping.
|
void |
FieldMapping.setOrderColumn(Column order)
Field order column, if any.
|
void |
FieldMappingInfo.setOrderColumn(Column order)
Raw synthetic ordering column.
|
void |
ClassMapping.setPrimaryKeyColumns(Column[] cols)
The columns this mapping uses to uniquely identify an object.
|
protected static Column |
MappingInfo.syncColumn(MetaDataContext context,
Column col,
int num,
boolean forceJDBCType,
Table colTable,
Table targetTable,
Object target,
boolean inverse)
Create a copy of the given column with the raw mapping information
set correctly, and without settings that match defaults.
|
protected void |
MappingInfo.syncColumns(MetaDataContext context,
Column[] cols,
boolean forceJDBCType)
Sets internal column information to match the given mapped columns.
|
Object |
ClassMapping.toDataStoreValue(Object obj,
Column[] cols,
JDBCStore store)
Return the given column value(s) for the given object.
|
Object |
RelationId.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col)
Return the serialized value for the given related object, now that
its id has been assigned.
|
Modifier and Type | Method and Description |
---|---|
protected ForeignKey |
MappingInfo.createForeignKey(MetaDataContext context,
String prefix,
List<Column> given,
MappingInfo.ForeignKeyDefaults def,
Table table,
ClassMapping cls,
ClassMapping rel,
boolean inversable,
boolean adapt)
Retrieve/create a foreign key (possibly logical) on the given columns
by merging the given template information with any user-provided
information.
|
ForeignKey |
FieldMappingInfo.getJoin(FieldMapping field,
Table table,
boolean adapt,
List<Column> cols) |
void |
MappingInfo.setColumns(List<Column> cols)
Raw column data.
|
void |
ValueMappingInfo.setMapsIdColumns(List<Column> cols)
Raw column data.
|
void |
ClassMappingInfo.setSecondaryTableJoinColumns(DBIdentifier tableName,
List<Column> cols) |
void |
ClassMappingInfo.setSecondaryTableJoinColumns(String tableName,
List<Column> cols)
Deprecated.
|
Constructor and Description |
---|
DelegatingJoinable(Joinable join,
Column[] cols)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected Column[] |
HandlerFieldStrategy._cols |
Modifier and Type | Method and Description |
---|---|
Column[] |
RelationFieldStrategy.getColumns() |
Column[] |
EmbedFieldStrategy.getColumns() |
Column[] |
PrimitiveFieldStrategy.getColumns() |
Column[] |
HandlerFieldStrategy.getColumns() |
Column[] |
StringFieldStrategy.getColumns() |
Column[] |
LRSCollectionFieldStrategy.getElementColumns(ClassMapping elem)
Return the columns holding the data for a collection element for the
given element mapping from
LRSCollectionFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
Column[] |
HandlerCollectionTableFieldStrategy.getElementColumns(ClassMapping elem) |
Column[] |
RelationCollectionInverseKeyFieldStrategy.getElementColumns(ClassMapping elem) |
Column[] |
RelationCollectionTableFieldStrategy.getElementColumns(ClassMapping elem) |
Column[] |
HandlerHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
RelationMapInverseKeyFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
RelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
RelationHandlerMapTableFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
RelationRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
HandlerRelationMapTableFieldStrategy.getKeyColumns(ClassMapping cls) |
Column[] |
LRSMapFieldStrategy.getKeyColumns(ClassMapping cls)
Return the columns holding data for a map key for the given key mapping
from
LRSMapFieldStrategy.getIndependentKeyMappings(boolean) or
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Column[] |
HandlerHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
RelationMapInverseKeyFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
RelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
RelationHandlerMapTableFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
RelationRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
HandlerRelationMapTableFieldStrategy.getValueColumns(ClassMapping cls) |
Column[] |
LRSMapFieldStrategy.getValueColumns(ClassMapping cls)
Return the columns holding data for a map value for the given value
mapping from
LRSMapFieldStrategy.getIndependentKeyMappings(boolean) or
LRSMapFieldStrategy.getIndependentValueMappings(boolean) (or null). |
Column[] |
ObjectIdValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ClobValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
XMLValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ImmutableValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
BlobValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
CharArrayStreamValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
EnumValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ObjectIdValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
ClobValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
XMLValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
static Column[] |
HandlerStrategies.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Map the given value.
|
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
ImmutableValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
BlobValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt) |
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
CharArrayStreamValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
EnumValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<Column,String> |
NumberVersionStrategy.getBulkUpdateValues() |
Modifier and Type | Method and Description |
---|---|
Object |
RelationFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
PrimitiveFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
HandlerFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
StringFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
StringFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
RelationFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
PrimitiveFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
HandlerFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
StringFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
static boolean |
RelationStrategies.isRelationId(Column[] cols)
Affirms if all of the given columns represent a relationship identifier.
|
protected Object |
MaxEmbeddedByteArrayFieldStrategy.load(Column col,
Result res,
Joins joins) |
protected Object |
MaxEmbeddedCharArrayFieldStrategy.load(Column col,
Result res,
Joins joins) |
static Object |
HandlerStrategies.loadDataStore(ValueMapping vm,
Result res,
Joins joins,
Column[] cols)
Load the datastore value from the given result.
|
static Object |
HandlerStrategies.loadObject(ValueMapping vm,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins,
Column[] cols,
boolean objectValueRequiresLoad)
Load the Object value from the given result.
|
protected RowImpl |
StateComparisonVersionStrategy.CustomUpdate.newInstance(Column[] cols,
int action) |
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 |
RelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
PrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
HandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
StringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
StateComparisonVersionStrategy.CustomUpdate.setObject(Column col,
Object val) |
protected Object |
EmbedValueHandler.toDataStoreValue(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
Object rval,
int idx)
Helper to convert an object value to its datastore equivalent.
|
static Object |
HandlerStrategies.toDataStoreValue(ValueMapping vm,
Object val,
Column[] cols,
JDBCStore store)
Convert the given object to its datastore value(s).
|
protected int |
EmbedValueHandler.toDataStoreValue1(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
List rvals,
int idx) |
protected void |
EmbedValueHandler.toObjectValue(OpenJPAStateManager em,
ValueMapping vm,
Object val,
JDBCStore store,
JDBCFetchConfiguration fetch,
Column[] cols,
int idx)
Helper to convert a datastore value to its object equivalent.
|
protected int |
EmbedValueHandler.toObjectValue1(OpenJPAStateManager em,
ValueMapping vm,
Object val,
JDBCStore store,
JDBCFetchConfiguration fetch,
Column[] cols,
int idx) |
Object |
ElementEmbedValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col) |
Object |
UntypedPCValueHandler.toRelationDataStoreValue(OpenJPAStateManager sm,
Column col) |
static void |
HandlerStrategies.where(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols)
Add where conditions to the given row.
|
Modifier and Type | Field and Description |
---|---|
static Column[] |
Schemas.EMPTY_COLUMNS |
Modifier and Type | Method and Description |
---|---|
Column |
Table.addColumn(DBIdentifier name) |
Column |
Table.addColumn(DBIdentifier name,
DBIdentifier validName) |
Column |
Table.addColumn(String name)
Deprecated.
|
Column |
Table.addColumn(String name,
String validName)
Deprecated.
|
Column[] |
Table.getAutoAssignedColumns()
Return this table's auto-assigned columns.
|
Column |
ForeignKey.getColumn(Column pk)
Return the local column joined to the given primary key column.
|
Column |
Table.getColumn(DBIdentifier name) |
Column |
Table.getColumn(DBIdentifier name,
boolean create) |
Column |
Table.getColumn(String name)
Deprecated.
|
Column[] |
LocalConstraint.getColumns()
Return all the columns the constraint spans.
|
Column[] |
Table.getColumns()
Return the table's columns, in alphabetical order.
|
Column[] |
ForeignKey.getColumns()
Return the local columns in the foreign key local table order.
|
Column[] |
ForeignKey.getConstantColumns()
Return the local columns that we link to using constant values.
|
Column[] |
ForeignKey.getConstantPrimaryKeyColumns()
Return the primary key columns that we link to using constant values.
|
Column |
ForeignKey.getPrimaryKeyColumn(Column local)
Return the primary key column joined to the given local column.
|
Column[] |
ForeignKey.getPrimaryKeyColumns()
Return the foreign columns in the foreign key, in join-order with
the result of
ForeignKey.getColumns() . |
Column[] |
Table.getRelationIdColumns()
Return this table's relation id columns.
|
Column |
Table.importColumn(Column col)
Import a column from another table.
|
protected Column |
SchemaGroup.newColumn(DBIdentifier name,
Table table) |
protected Column |
DynamicSchemaFactory.newColumn(DBIdentifier name,
Table table) |
protected Column |
SchemaGroup.newColumn(String name,
Table table)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SchemaTool.addColumn(Column col)
Add the given column to the database schema.
|
void |
LocalConstraint.addColumn(Column col)
Add a column to the constraint.
|
void |
PrimaryKey.addColumn(Column col) |
boolean |
LocalConstraint.columnsMatch(Column[] ocols)
Return true if the given columns match the columns of this constraint.
|
boolean |
ForeignKey.columnsMatch(Column[] fkCols,
Column[] fkPKCols)
Return true if the given local and foreign columns match those
on this key.
|
boolean |
ForeignKey.columnsMatch(Column[] fkCols,
Column[] fkPKCols)
Return true if the given local and foreign columns match those
on this key.
|
boolean |
LocalConstraint.containsColumn(Column col)
Return true if the pk includes the given column.
|
boolean |
Table.containsColumn(Column col) |
boolean |
ForeignKey.containsColumn(Column col)
Return true if the fk includes the given local column.
|
boolean |
ForeignKey.containsConstantColumn(Column col)
Return true if the fk includes the given local column.
|
boolean |
ForeignKey.containsConstantPrimaryKeyColumn(Column col)
Return true if the fk includes the given primary key column.
|
boolean |
ForeignKey.containsPrimaryKeyColumn(Column col)
Return true if the fk includes the given primary key column.
|
void |
Column.copy(Column from)
Copy information from the given column to this one.
|
boolean |
SchemaTool.dropColumn(Column col)
Drop the given column from the database schema.
|
boolean |
Column.equalsColumn(DBDictionary dict,
Column col)
Tests compatibility.
|
Column |
ForeignKey.getColumn(Column pk)
Return the local column joined to the given primary key column.
|
Object |
ForeignKey.getConstant(Column local)
Return the constant value assigned to the given local column.
|
Column |
ForeignKey.getPrimaryKeyColumn(Column local)
Return the primary key column joined to the given local column.
|
Object |
ForeignKey.getPrimaryKeyConstant(Column pk)
Return the constant value assigned to the given primary key column.
|
Column |
Table.importColumn(Column col)
Import a column from another table.
|
boolean |
ColumnIO.isAllInsertable(Column[] cols,
boolean nullValue)
Equivalent to
isAllInsertable (cols.length, nullValue) . |
boolean |
ColumnIO.isAllUpdatable(Column[] cols,
boolean nullValue)
Equivalent to
isAllUpdatable (cols.length, nullValue) . |
boolean |
ColumnIO.isAnyInsertable(Column[] cols,
boolean nullValue)
Equivalent to
isAnyInsertable (cols.length, nullValue) . |
boolean |
ColumnIO.isAnyUpdatable(Column[] cols,
boolean nullValue)
Equivalent to
isAnyUpdatable (cols.length, nullValue) . |
boolean |
ColumnIO.isInsertable(Column col,
boolean nullValue)
Equivalent to
isInsertable (0, nullValue) , but returns
false if the given column is null. |
boolean |
ColumnIO.isUpdatable(Column col,
boolean nullValue)
Equivalent to
isUpdatable (0, nullValue) , but returns
false if the given column is null. |
void |
ForeignKey.join(Column local,
Column toPK)
Join a local column to a primary key column of another table.
|
void |
ForeignKey.joinConstant(Column col,
Object val)
Join a constant value to a local column of this table.
|
void |
ForeignKey.joinConstant(Object val,
Column toPK)
Join a constant value to a primary key column of another table.
|
boolean |
LocalConstraint.removeColumn(Column col)
Remove a column from the constraint.
|
boolean |
Table.removeColumn(Column col)
Remove the given column from the table.
|
boolean |
ForeignKey.removeJoin(Column col)
Remove any joins inolving the given column.
|
void |
LocalConstraint.setColumns(Column[] cols)
Set the columns the constraint spans.
|
void |
ForeignKey.setConstantJoins(Column[] cols,
Object[] consts)
Set the foreign key's constant joins.
|
void |
ForeignKey.setConstantJoins(Object[] consts,
Column[] pkCols)
Set the foreign key's constant joins.
|
void |
ForeignKey.setJoins(Column[] cols,
Column[] pkCols)
Set the foreign key's joins.
|
void |
ForeignKey.setJoins(Column[] cols,
Column[] pkCols)
Set the foreign key's joins.
|
Modifier and Type | Method and Description |
---|---|
Column[] |
StoredProcedure.getColumns() |
Column[] |
RowImpl.getColumns() |
Column[] |
HSQLDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
H2Dictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
InformixDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
FoxProDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
DBDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn)
Reflect on the schema to find columns matching the given table and
column patterns.
|
Column[] |
PointbaseDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
OracleDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
SQLServerDictionary.getColumns(DatabaseMetaData meta,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier tableName,
DBIdentifier columnName,
Connection conn) |
Column[] |
HSQLDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
H2Dictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
InformixDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
FoxProDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
DBDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn)
Deprecated.
|
Column[] |
PointbaseDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
OracleDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
AbstractSQLServerDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String colName,
Connection conn) |
Column[] |
SQLServerDictionary.getColumns(DatabaseMetaData meta,
String catalog,
String schemaName,
String tableName,
String columnName,
Connection conn) |
Column[] |
StoredProcedure.getInColumns() |
Column[] |
StoredProcedure.getInOutColumns() |
Column[] |
StoredProcedure.getOutColumns() |
Column[] |
StoredProcedure.getResultColumns() |
Column[] |
StoredProcedure.getReturnColumns() |
protected Column |
MySQLDictionary.newColumn(ResultSet colMeta) |
Column |
InformixDictionary.newColumn(ResultSet colMeta) |
protected Column |
DBDictionary.newColumn(ResultSet colMeta)
Create a new column from the information in the schema metadata.
|
protected Column |
MariaDBDictionary.newColumn(ResultSet colMeta) |
Modifier and Type | Method and Description |
---|---|
SQLBuffer |
SQLBuffer.append(Column col) |
protected String |
FoxProDictionary.appendSize(Column col,
String typeName) |
protected String |
DBDictionary.appendSize(Column col,
String typeName)
Helper method to add size properties to the specified type.
|
protected String |
FirebirdDictionary.appendSize(Column col,
String typeName)
On Firebird 1.5 reduce the size of indexed
VARCHAR column
to 252 or a value specified by user. 252 is the maximum Firebird 1.5 can
handle for one-column indexes. |
protected String |
InterbaseDictionary.appendSize(Column col,
String typeName) |
SQLBuffer |
SQLBuffer.appendValue(Object o,
Column col)
Append a system inserted parameter value for a specific column.
|
SQLBuffer |
SQLBuffer.appendValue(Object o,
Column col,
Parameter userParam)
Append a user parameter value for a specific column.
|
SQLBuffer |
SQLBuffer.appendValue(Object o,
Column col,
Parameter userParam,
boolean useParamToken) |
void |
RowImpl.clearRelationId(Column col)
Clear a circular relation id.
|
void |
PrimaryRow.clearRelationId(Column col) |
boolean |
Result.contains(Column col,
Joins joins)
Return true if the given column is available in the result.
|
boolean |
AbstractResult.contains(Column col,
Joins joins) |
boolean |
MergedResult.contains(Column col,
Joins joins) |
boolean |
Result.containsAll(Column[] cols,
Joins joins)
Return true if all the given columns are available in the result.
|
boolean |
AbstractResult.containsAll(Column[] cols,
Joins joins) |
boolean |
MergedResult.containsAll(Column[] cols,
Joins joins) |
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn) |
void |
DBDictionary.createIndexIfNecessary(Schema schema,
DBIdentifier table,
Column pkColumn) |
void |
DB2Dictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Create an index if necessary for some database tables
|
void |
DBDictionary.createIndexIfNecessary(Schema schema,
String table,
Column pkColumn)
Deprecated.
|
ResultSet |
SelectImpl.executeQuery(Connection conn,
PreparedStatement stmnt,
String sql,
JDBCStore store,
Object[] params,
Column[] cols)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing query.
|
String[] |
HSQLDictionary.getAddColumnSQL(Column column) |
String[] |
H2Dictionary.getAddColumnSQL(Column column) |
String[] |
DBDictionary.getAddColumnSQL(Column column)
Return a series of SQL statements to add the given column to
its table.
|
Array |
Result.getArray(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Array |
AbstractResult.getArray(Column col,
Joins joins) |
Array |
MergedResult.getArray(Column col,
Joins joins) |
InputStream |
Result.getAsciiStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
InputStream |
AbstractResult.getAsciiStream(Column col,
Joins joins) |
InputStream |
MergedResult.getAsciiStream(Column col,
Joins joins) |
protected String |
SolidDBDictionary.getAutoGenSeqName(Column col) |
BigDecimal |
Result.getBigDecimal(Column col,
Joins joins)
Return the value stored in the given column.
|
BigDecimal |
AbstractResult.getBigDecimal(Column col,
Joins joins) |
BigDecimal |
MergedResult.getBigDecimal(Column col,
Joins joins) |
BigInteger |
Result.getBigInteger(Column col,
Joins joins)
Return the value stored in the given column.
|
BigInteger |
AbstractResult.getBigInteger(Column col,
Joins joins) |
BigInteger |
MergedResult.getBigInteger(Column col,
Joins joins) |
InputStream |
Result.getBinaryStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
InputStream |
AbstractResult.getBinaryStream(Column col,
Joins joins) |
InputStream |
MergedResult.getBinaryStream(Column col,
Joins joins) |
Blob |
Result.getBlob(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Blob |
AbstractResult.getBlob(Column col,
Joins joins) |
Blob |
MergedResult.getBlob(Column col,
Joins joins) |
boolean |
Result.getBoolean(Column col,
Joins joins)
Return the value stored in the given column.
|
boolean |
AbstractResult.getBoolean(Column col,
Joins joins) |
boolean |
MergedResult.getBoolean(Column col,
Joins joins) |
byte |
Result.getByte(Column col,
Joins joins)
Return the value stored in the given column.
|
byte |
AbstractResult.getByte(Column col,
Joins joins) |
byte |
MergedResult.getByte(Column col,
Joins joins) |
byte[] |
Result.getBytes(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
byte[] |
AbstractResult.getBytes(Column col,
Joins joins) |
byte[] |
MergedResult.getBytes(Column col,
Joins joins) |
Calendar |
Result.getCalendar(Column col,
Joins joins)
Return the value stored in the given column.
|
Calendar |
AbstractResult.getCalendar(Column col,
Joins joins) |
Calendar |
MergedResult.getCalendar(Column col,
Joins joins) |
String |
DB2Dictionary.getCastFunction(Val val,
String func,
Column col)
Return the correct CAST function syntax
|
String |
DBDictionary.getCastFunction(Val val,
String func,
Column col)
Return the correct CAST function syntax.
|
char |
Result.getChar(Column col,
Joins joins)
Return the value stored in the given column.
|
char |
AbstractResult.getChar(Column col,
Joins joins) |
char |
MergedResult.getChar(Column col,
Joins joins) |
Reader |
Result.getCharacterStream(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Reader |
AbstractResult.getCharacterStream(Column col,
Joins joins) |
Reader |
MergedResult.getCharacterStream(Column col,
Joins joins) |
Clob |
Result.getClob(Column col,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Clob |
AbstractResult.getClob(Column col,
Joins joins) |
Clob |
MergedResult.getClob(Column col,
Joins joins) |
String |
Select.getColumnAlias(Column col)
Return the alias for the given column.
|
String |
SelectImpl.getColumnAlias(Column col) |
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col) |
String |
Select.getColumnAlias(Column col,
Joins joins)
Return the alias for the given column.
|
String |
SelectImpl.getColumnAlias(Column col,
Joins joins) |
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col,
Joins joins) |
String |
Select.getColumnAlias(Column col,
Object path)
Return the alias for the given column, without creating new table alias
|
String |
SelectImpl.getColumnAlias(Column col,
Object path)
Return the alias for the give column
|
String |
LogicalUnion.UnionSelect.getColumnAlias(Column col,
Object alias) |
String |
DBDictionary.getColumnDBName(Column column) |
DBIdentifier |
DBDictionary.getColumnIdentifier(Column column)
Returns the name of the column using database specific delimiters.
|
Date |
Result.getDate(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Date |
AbstractResult.getDate(Column col,
Calendar cal,
Joins joins) |
Date |
MergedResult.getDate(Column col,
Calendar cal,
Joins joins) |
Date |
Result.getDate(Column col,
Joins joins)
Return the value stored in the given column.
|
Date |
AbstractResult.getDate(Column col,
Joins joins) |
Date |
MergedResult.getDate(Column col,
Joins joins) |
protected int |
DBDictionary.getDateFractionDigits(Column col,
String typeName)
Only get's used if no explicit scale is used (@{code @Column(scale=0)} which is the default).
|
protected String |
SybaseDictionary.getDeclareColumnSQL(Column col,
boolean alter) |
protected String |
DBDictionary.getDeclareColumnSQL(Column col,
boolean alter)
Return the declaration SQL for the given column.
|
double |
Result.getDouble(Column col,
Joins joins)
Return the value stored in the given column.
|
double |
AbstractResult.getDouble(Column col,
Joins joins) |
double |
MergedResult.getDouble(Column col,
Joins joins) |
String[] |
SybaseDictionary.getDropColumnSQL(Column column) |
String[] |
DBDictionary.getDropColumnSQL(Column column)
Return a series of SQL statements to drop the given column from
its table.
|
String[] |
FirebirdDictionary.getDropColumnSQL(Column column)
Return
ALTER TABLE <table name> DROP <col name> . |
String[] |
EmpressDictionary.getDropColumnSQL(Column column) |
String[] |
InterbaseDictionary.getDropColumnSQL(Column column) |
float |
Result.getFloat(Column col,
Joins joins)
Return the value stored in the given column.
|
float |
AbstractResult.getFloat(Column col,
Joins joins) |
float |
MergedResult.getFloat(Column col,
Joins joins) |
Object |
DBDictionary.getGeneratedKey(Column col,
Connection conn)
Return the last generated value for the given column.
|
Object |
OracleDictionary.getGeneratedKey(Column col,
Connection conn) |
protected String |
DBDictionary.getGeneratedKeySequenceName(Column col)
Return the sequence name used by databases for the given autoassigned
column.
|
protected String |
OracleDictionary.getGeneratedKeyTriggerName(Column col)
Trigger name for simulating auto-assign values on the given column.
|
protected String |
SolidDBDictionary.getGeneratedKeyTriggerName(Column col)
Trigger name for simulating auto-assign values on the given column.
|
protected String |
DBDictionary.getGenKeySeqName(String query,
Column col) |
protected String |
SolidDBDictionary.getGenKeySeqName(String query,
Column col) |
int |
Result.getInt(Column col,
Joins joins)
Return the value stored in the given column.
|
int |
AbstractResult.getInt(Column col,
Joins joins) |
int |
MergedResult.getInt(Column col,
Joins joins) |
protected Object |
DBDictionary.getKey(ResultSet rs,
Column col)
This method is to provide override for non-JDBC or JDBC-like
implementation of getting key from the result set.
|
Locale |
Result.getLocale(Column col,
Joins joins)
Return the value stored in the given column.
|
Locale |
AbstractResult.getLocale(Column col,
Joins joins) |
Locale |
MergedResult.getLocale(Column col,
Joins joins) |
long |
Result.getLong(Column col,
Joins joins)
Return the value stored in the given column.
|
long |
AbstractResult.getLong(Column col,
Joins joins) |
long |
MergedResult.getLong(Column col,
Joins joins) |
String |
DBDictionary.getMarkerForInsertUpdate(Column col,
Object val)
Return parameter marker for INSERT and UPDATE statements.
|
String |
OracleDictionary.getMarkerForInsertUpdate(Column col,
Object val)
Oracle requires special handling of XML column.
|
Number |
Result.getNumber(Column col,
Joins joins)
Return the value stored in the given column.
|
Number |
AbstractResult.getNumber(Column col,
Joins joins) |
Number |
MergedResult.getNumber(Column col,
Joins joins) |
Object |
Result.getObject(Column col,
Object arg,
Joins joins)
Return the value stored in the given column.
|
Object |
AbstractResult.getObject(Column col,
Object arg,
Joins joins) |
Object |
MergedResult.getObject(Column col,
Object arg,
Joins joins) |
protected String |
OracleDictionary.getOpenJPA3GeneratedKeySequenceName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign sequence.
|
protected String |
SolidDBDictionary.getOpenJPA3GeneratedKeySequenceName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign sequence.
|
protected String |
OracleDictionary.getOpenJPA3GeneratedKeyTriggerName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign trigger.
|
protected String |
SolidDBDictionary.getOpenJPA3GeneratedKeyTriggerName(Column col)
Returns a OpenJPA 3-compatible name for an auto-assign trigger.
|
String |
HSQLDictionary.getPlaceholderValueString(Column col) |
String |
DBDictionary.getPlaceholderValueString(Column col)
Return a SQL string to act as a placeholder for the given column.
|
String |
FirebirdDictionary.getPlaceholderValueString(Column col)
Return
<value> AS <type> . |
String |
PostgresDictionary.getPlaceholderValueString(Column col)
Return a SQL string to act as a placeholder for the given column.
|
Ref |
Result.getRef(Column col,
Map map,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Ref |
AbstractResult.getRef(Column col,
Map map,
Joins joins) |
Ref |
MergedResult.getRef(Column col,
Map map,
Joins joins) |
RelationId |
PrimaryRow.getRelationIdCallback(Column col)
Return the recorded callbacks for the given relation id column.
|
OpenJPAStateManager |
PrimaryRow.getRelationIdSet(Column col)
Return the recorded value for the given relation id column.
|
Object |
RowImpl.getSet(Column col)
Return the value set for update on the given column.
|
short |
Result.getShort(Column col,
Joins joins)
Return the value stored in the given column.
|
short |
AbstractResult.getShort(Column col,
Joins joins) |
short |
MergedResult.getShort(Column col,
Joins joins) |
Object |
Result.getSQLObject(Column col,
Map map,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Object |
AbstractResult.getSQLObject(Column col,
Map map,
Joins joins) |
Object |
MergedResult.getSQLObject(Column col,
Map map,
Joins joins) |
String |
Result.getString(Column col,
Joins joins)
Return the value stored in the given column.
|
String |
AbstractResult.getString(Column col,
Joins joins) |
String |
MergedResult.getString(Column col,
Joins joins) |
Time |
Result.getTime(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Time |
AbstractResult.getTime(Column col,
Calendar cal,
Joins joins) |
Time |
MergedResult.getTime(Column col,
Calendar cal,
Joins joins) |
Timestamp |
Result.getTimestamp(Column col,
Calendar cal,
Joins joins)
Return the value stored in the given column; may not be supported
by results that are not backed by a SQL result set.
|
Timestamp |
AbstractResult.getTimestamp(Column col,
Calendar cal,
Joins joins) |
Timestamp |
MergedResult.getTimestamp(Column col,
Calendar cal,
Joins joins) |
String |
MySQLDictionary.getTypeName(Column col)
OPENJPA-740 Special case for MySql special column types,
like LONGTEXT, LONGBLOG etc..
|
String |
DBDictionary.getTypeName(Column col)
Return the preferred database type name for the given column's type
from
Types . |
String |
MariaDBDictionary.getTypeName(Column col)
OPENJPA-740 Special case for MySql special column types,
like LONGTEXT, LONGBLOG etc..
|
DBIdentifier |
DBDictionary.getVersionColumn(Column column,
DBIdentifier tableAlias) |
String |
DBDictionary.getVersionColumn(Column column,
String tableAlias)
Return version column name
|
Object |
RowImpl.getWhere(Column col)
Return the value set for where on the given column.
|
void |
Select.groupBy(Column col)
Group by the given column.
|
void |
SelectImpl.groupBy(Column col) |
void |
LogicalUnion.UnionSelect.groupBy(Column col) |
void |
Select.groupBy(Column[] cols)
Group by the given columns.
|
void |
SelectImpl.groupBy(Column[] cols) |
void |
LogicalUnion.UnionSelect.groupBy(Column[] cols) |
void |
Select.groupBy(Column[] cols,
Joins joins)
Group by the given columns.
|
void |
SelectImpl.groupBy(Column[] cols,
Joins joins) |
void |
LogicalUnion.UnionSelect.groupBy(Column[] cols,
Joins joins) |
void |
Select.groupBy(Column col,
Joins joins)
Group by the given column.
|
void |
SelectImpl.groupBy(Column col,
Joins joins) |
void |
LogicalUnion.UnionSelect.groupBy(Column col,
Joins joins) |
void |
DB2Dictionary.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 |
OracleDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
PostgresDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
DB2Dictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
void |
DBDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
void |
OracleDictionary.insertClobForStreamingLoad(Row row,
Column col,
Object ob) |
protected RowImpl |
SecondaryRow.newInstance(Column[] cols,
int action) |
protected RowImpl |
RowImpl.newInstance(Column[] cols,
int action)
Return a new row.
|
protected RowImpl |
PrimaryRow.newInstance(Column[] cols,
int action) |
int |
Select.orderBy(Column[] cols,
boolean asc,
boolean sel)
Order by the given columns.
|
int |
SelectImpl.orderBy(Column[] cols,
boolean asc,
boolean sel) |
int |
LogicalUnion.UnionSelect.orderBy(Column[] cols,
boolean asc,
boolean select) |
int |
Select.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel)
Order by the given columns.
|
int |
SelectImpl.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean sel) |
int |
LogicalUnion.UnionSelect.orderBy(Column[] cols,
boolean asc,
Joins joins,
boolean select) |
boolean |
Select.orderBy(Column col,
boolean asc,
boolean sel)
Order by the given column.
|
boolean |
SelectImpl.orderBy(Column col,
boolean asc,
boolean sel) |
boolean |
LogicalUnion.UnionSelect.orderBy(Column col,
boolean asc,
boolean select) |
boolean |
Select.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel)
Order by the given column.
|
boolean |
SelectImpl.orderBy(Column col,
boolean asc,
Joins joins,
boolean sel) |
boolean |
LogicalUnion.UnionSelect.orderBy(Column col,
boolean asc,
Joins joins,
boolean select) |
protected void |
LogicalUnion.UnionSelect.recordOrderColumns(Column[] cols,
boolean asc)
Record that we're ordering by the given columns.
|
boolean |
Select.select(Column col)
Select the given column.
|
boolean |
SelectImpl.select(Column col) |
boolean |
LogicalUnion.UnionSelect.select(Column col) |
int |
Select.select(Column[] cols)
Select the given columns.
|
int |
SelectImpl.select(Column[] cols) |
int |
LogicalUnion.UnionSelect.select(Column[] cols) |
int |
Select.select(Column[] cols,
Joins joins)
Select the given columns.
|
int |
SelectImpl.select(Column[] cols,
Joins joins) |
int |
LogicalUnion.UnionSelect.select(Column[] cols,
Joins joins) |
boolean |
Select.select(Column col,
Joins joins)
Select the given column.
|
boolean |
SelectImpl.select(Column col,
Joins joins) |
boolean |
LogicalUnion.UnionSelect.select(Column col,
Joins joins) |
boolean |
Select.selectIdentifier(Column col)
Select the given column as one that can be used to get a count of
distinct matches.
|
boolean |
SelectImpl.selectIdentifier(Column col) |
boolean |
LogicalUnion.UnionSelect.selectIdentifier(Column col) |
int |
Select.selectIdentifier(Column[] cols)
Select the given columns as ones that can be used to get a count of
distinct matches.
|
int |
SelectImpl.selectIdentifier(Column[] cols) |
int |
LogicalUnion.UnionSelect.selectIdentifier(Column[] cols) |
int |
Select.selectIdentifier(Column[] cols,
Joins joins)
Select the given columns as ones that can be used to get a count of
distinct matches.
|
int |
SelectImpl.selectIdentifier(Column[] cols,
Joins joins) |
int |
LogicalUnion.UnionSelect.selectIdentifier(Column[] cols,
Joins joins) |
boolean |
Select.selectIdentifier(Column col,
Joins joins)
Select the given column as one that can be used to get a count of
distinct matches.
|
boolean |
SelectImpl.selectIdentifier(Column col,
Joins joins) |
boolean |
LogicalUnion.UnionSelect.selectIdentifier(Column col,
Joins joins) |
void |
RowImpl.setArray(Column col,
Array val) |
void |
Row.setArray(Column col,
Array val)
Set the value of the given column in this row.
|
void |
DBDictionary.setArray(PreparedStatement stmnt,
int idx,
Array val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setAsciiStream(Column col,
InputStream val,
int length) |
void |
Row.setAsciiStream(Column col,
InputStream val,
int length)
Set the value of the given column in this row.
|
void |
DBDictionary.setAsciiStream(PreparedStatement stmnt,
int idx,
InputStream val,
int length,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setBigDecimal(Column col,
BigDecimal val) |
void |
Row.setBigDecimal(Column col,
BigDecimal val)
Set the value of the given column in this row.
|
void |
HSQLDictionary.setBigDecimal(PreparedStatement stmnt,
int idx,
BigDecimal val,
Column col) |
void |
DBDictionary.setBigDecimal(PreparedStatement stmnt,
int idx,
BigDecimal val,
Column col)
Set the given value as a parameter to the statement.
|
void |
SolidDBDictionary.setBigDecimal(PreparedStatement stmnt,
int idx,
BigDecimal val,
Column col) |
void |
RowImpl.setBigInteger(Column col,
BigInteger val) |
void |
Row.setBigInteger(Column col,
BigInteger val)
Set the value of the given column in this row.
|
void |
SybaseDictionary.setBigInteger(PreparedStatement stmnt,
int idx,
BigInteger val,
Column col) |
void |
DBDictionary.setBigInteger(PreparedStatement stmnt,
int idx,
BigInteger val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setBinaryStream(Column col,
InputStream val,
int length) |
void |
Row.setBinaryStream(Column col,
InputStream val,
int length)
Set the value of the given column in this row.
|
void |
DBDictionary.setBinaryStream(PreparedStatement stmnt,
int idx,
InputStream val,
int length,
Column col)
Set the given value as a parameter to the statement.
|
void |
OracleDictionary.setBinaryStream(PreparedStatement stmnt,
int idx,
InputStream val,
int length,
Column col) |
void |
RowImpl.setBlob(Column col,
Blob val) |
void |
Row.setBlob(Column col,
Blob val)
Set the value of the given column in this row.
|
void |
DBDictionary.setBlob(PreparedStatement stmnt,
int idx,
Blob val,
Column col)
Set the given value as a parameter to the statement.
|
void |
DBDictionary.setBlobObject(PreparedStatement stmnt,
int idx,
Object val,
Column col,
JDBCStore store)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setBoolean(Column col,
boolean val) |
void |
Row.setBoolean(Column col,
boolean val)
Set the value of the given column in this row.
|
void |
InformixDictionary.setBoolean(PreparedStatement stmnt,
int idx,
boolean val,
Column col) |
void |
DBDictionary.setBoolean(PreparedStatement stmnt,
int idx,
boolean val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setByte(Column col,
byte val) |
void |
Row.setByte(Column col,
byte val)
Set the value of the given column in this row.
|
void |
DBDictionary.setByte(PreparedStatement stmnt,
int idx,
byte val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setBytes(Column col,
byte[] val) |
void |
Row.setBytes(Column col,
byte[] val)
Set the value of the given column in this row.
|
void |
DB2Dictionary.setBytes(PreparedStatement stmnt,
int idx,
byte[] val,
Column col)
Set the given value as a parameter to the statement.
|
void |
DBDictionary.setBytes(PreparedStatement stmnt,
int idx,
byte[] val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setCalendar(Column col,
Calendar val) |
void |
Row.setCalendar(Column col,
Calendar val)
Set the value of the given column in this row.
|
void |
DBDictionary.setCalendar(PreparedStatement stmnt,
int idx,
Calendar val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setChar(Column col,
char val) |
void |
Row.setChar(Column col,
char val)
Set the value of the given column in this row.
|
void |
DBDictionary.setChar(PreparedStatement stmnt,
int idx,
char val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setCharacterStream(Column col,
Reader val,
int length) |
void |
Row.setCharacterStream(Column col,
Reader val,
int length)
Set the value of the given column in this row.
|
void |
DBDictionary.setCharacterStream(PreparedStatement stmnt,
int idx,
Reader val,
int length,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setClob(Column col,
Clob val) |
void |
Row.setClob(Column col,
Clob val)
Set the value of the given column in this row.
|
void |
DBDictionary.setClob(PreparedStatement stmnt,
int idx,
Clob val,
Column col)
Set the given value as a parameter to the statement.
|
void |
DBDictionary.setClobString(PreparedStatement stmnt,
int idx,
String val,
Column col)
Set the given value as a parameter to the statement.
|
void |
OracleDictionary.setClobString(PreparedStatement stmnt,
int idx,
String val,
Column col) |
void |
PostgresDictionary.setClobString(PreparedStatement stmnt,
int idx,
String val,
Column col)
If column is an XML column, PostgreSQL requires that its value is set
by using
PreparedStatement.setObject(int, Object, int)
with Types.OTHER as the third argument. |
void |
RowImpl.setDate(Column col,
Date val) |
void |
Row.setDate(Column col,
Date val)
Set the value of the given column in this row.
|
void |
RowImpl.setDate(Column col,
Date val,
Calendar cal) |
void |
Row.setDate(Column col,
Date val,
Calendar cal)
Set the value of the given column in this row.
|
void |
DBDictionary.setDate(PreparedStatement stmnt,
int idx,
Date val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement.
|
void |
DB2Dictionary.setDate(PreparedStatement stmnt,
int idx,
Date val,
Column col)
Set the given date value as a parameter to the statement.
|
void |
DBDictionary.setDate(PreparedStatement stmnt,
int idx,
Date val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setDouble(Column col,
double val) |
void |
Row.setDouble(Column col,
double val)
Set the value of the given column in this row.
|
void |
HSQLDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col) |
void |
DBDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col)
Set the given value as a parameter to the statement.
|
void |
EmpressDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col) |
void |
SolidDBDictionary.setDouble(PreparedStatement stmnt,
int idx,
double val,
Column col) |
void |
RowImpl.setFloat(Column col,
float val) |
void |
Row.setFloat(Column col,
float val)
Set the value of the given column in this row.
|
void |
DBDictionary.setFloat(PreparedStatement stmnt,
int idx,
float val,
Column col)
Set the given value as a parameter to the statement.
|
void |
EmpressDictionary.setFloat(PreparedStatement stmnt,
int idx,
float val,
Column col) |
void |
RowImpl.setInt(Column col,
int val) |
void |
Row.setInt(Column col,
int val)
Set the value of the given column in this row.
|
void |
DBDictionary.setInt(PreparedStatement stmnt,
int idx,
int val,
Column col)
Set the given value as a parameter to the statement.
|
void |
H2Dictionary.setLocalDate(PreparedStatement stmnt,
int idx,
LocalDate val,
Column col) |
void |
DBDictionary.setLocalDate(PreparedStatement stmnt,
int idx,
LocalDate val,
Column col)
Set the given LocalDate value as a parameter to the statement.
|
void |
PostgresDictionary.setLocalDate(PreparedStatement stmnt,
int idx,
LocalDate val,
Column col) |
void |
H2Dictionary.setLocalDateTime(PreparedStatement stmnt,
int idx,
LocalDateTime val,
Column col) |
void |
DBDictionary.setLocalDateTime(PreparedStatement stmnt,
int idx,
LocalDateTime val,
Column col)
Set the given LocalTime value as a parameter to the statement.
|
void |
SQLServerDictionary.setLocalDateTime(PreparedStatement stmnt,
int idx,
LocalDateTime val,
Column col) |
void |
PostgresDictionary.setLocalDateTime(PreparedStatement stmnt,
int idx,
LocalDateTime val,
Column col) |
void |
RowImpl.setLocale(Column col,
Locale val) |
void |
Row.setLocale(Column col,
Locale val)
Set the value of the given column in this row.
|
void |
DBDictionary.setLocale(PreparedStatement stmnt,
int idx,
Locale val,
Column col)
Set the given value as a parameter to the statement.
|
void |
H2Dictionary.setLocalTime(PreparedStatement stmnt,
int idx,
LocalTime val,
Column col) |
void |
DBDictionary.setLocalTime(PreparedStatement stmnt,
int idx,
LocalTime val,
Column col)
Set the given LocalTime value as a parameter to the statement.
|
void |
SQLServerDictionary.setLocalTime(PreparedStatement stmnt,
int idx,
LocalTime val,
Column col) |
void |
PostgresDictionary.setLocalTime(PreparedStatement stmnt,
int idx,
LocalTime val,
Column col) |
void |
RowImpl.setLong(Column col,
long val) |
void |
Row.setLong(Column col,
long val)
Set the value of the given column in this row.
|
void |
AccessDictionary.setLong(PreparedStatement stmnt,
int idx,
long val,
Column col) |
void |
DBDictionary.setLong(PreparedStatement stmnt,
int idx,
long val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setNull(Column col) |
void |
Row.setNull(Column col)
Set the value of the given column in this row.
|
void |
RowImpl.setNull(Column col,
boolean overrideDefault) |
void |
Row.setNull(Column col,
boolean overrideDefault)
Set the value of the given column in this row.
|
void |
FoxProDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col) |
void |
DBDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
Set null as a parameter to the statement.
|
void |
OracleDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col) |
void |
AbstractSQLServerDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col) |
void |
PostgresDictionary.setNull(PreparedStatement stmnt,
int idx,
int colType,
Column col)
Handle XML and bytea/oid columns in a PostgreSQL way.
|
void |
RowImpl.setNumber(Column col,
Number val) |
void |
Row.setNumber(Column col,
Number val)
Set the value of the given column in this row.
|
void |
DBDictionary.setNumber(PreparedStatement stmnt,
int idx,
Number num,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setObject(Column col,
Object val) |
void |
Row.setObject(Column col,
Object val)
Set the value of the given column in this row.
|
protected void |
RowImpl.setObject(Column col,
Object val,
int metaType,
boolean overrideDefault)
All set column methods delegate to this one.
|
protected void |
PrimaryRow.setObject(Column col,
Object val,
int metaType,
boolean overrideDefault) |
void |
DBDictionary.setObject(PreparedStatement stmnt,
int idx,
Object val,
int colType,
Column col)
Set the given value as a parameter to the statement.
|
void |
H2Dictionary.setOffsetDateTime(PreparedStatement stmnt,
int idx,
OffsetDateTime val,
Column col) |
void |
DBDictionary.setOffsetDateTime(PreparedStatement stmnt,
int idx,
OffsetDateTime val,
Column col)
Set the given LocalTime value as a parameter to the statement.
|
void |
SQLServerDictionary.setOffsetDateTime(PreparedStatement stmnt,
int idx,
OffsetDateTime val,
Column col) |
void |
PostgresDictionary.setOffsetDateTime(PreparedStatement stmnt,
int idx,
OffsetDateTime val,
Column col) |
void |
DBDictionary.setOffsetTime(PreparedStatement stmnt,
int idx,
OffsetTime val,
Column col)
Set the given LocalTime value as a parameter to the statement.
|
void |
RowImpl.setRaw(Column col,
String val) |
void |
Row.setRaw(Column col,
String value)
Set a DB understood value for the given column.
|
void |
DBDictionary.setRef(PreparedStatement stmnt,
int idx,
Ref val,
Column col)
Set the given value as a parameter to the statement.
|
void |
SecondaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
void |
RowImpl.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
void |
Row.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel)
Set the value of the given column to the identity of given instance,
using the given callback to create the column value.
|
void |
PrimaryRow.setRelationId(Column col,
OpenJPAStateManager sm,
RelationId rel) |
void |
RowImpl.setShort(Column col,
short val) |
void |
Row.setShort(Column col,
short val)
Set the value of the given column in this row.
|
void |
DBDictionary.setShort(PreparedStatement stmnt,
int idx,
short val,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setString(Column col,
String val) |
void |
Row.setString(Column col,
String val)
Set the value of the given column in this row.
|
void |
DBDictionary.setString(PreparedStatement stmnt,
int idx,
String val,
Column col)
Set the given value as a parameter to the statement.
|
void |
OracleDictionary.setString(PreparedStatement stmnt,
int idx,
String val,
Column col) |
void |
RowImpl.setTime(Column col,
Time val,
Calendar cal) |
void |
Row.setTime(Column col,
Time val,
Calendar cal)
Set the value of the given column in this row.
|
void |
DBDictionary.setTime(PreparedStatement stmnt,
int idx,
Time val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement.
|
void |
RowImpl.setTimestamp(Column col,
Timestamp val,
Calendar cal) |
void |
Row.setTimestamp(Column col,
Timestamp val,
Calendar cal)
Set the value of the given column in this row.
|
void |
DBDictionary.setTimestamp(PreparedStatement stmnt,
int idx,
Timestamp val,
Calendar cal,
Column col)
Set the given value as a parameter to the statement.
|
void |
DBDictionary.setTyped(PreparedStatement stmnt,
int idx,
Object val,
Column col,
int type,
JDBCStore store)
Set a column value into a prepared statement.
|
void |
DBDictionary.setUnknown(PreparedStatement stmnt,
int idx,
Column col,
Object val)
Set a completely unknown parameter into a prepared statement.
|
void |
DBDictionary.setUnknown(PreparedStatement stmt,
int idx,
Object val,
Column col)
Set a completely unknown parameter into a prepared statement.
|
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.
|
void |
RowImpl.whereArray(Column col,
Array val) |
void |
Row.whereArray(Column col,
Array val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereAsciiStream(Column col,
InputStream val,
int length) |
void |
Row.whereAsciiStream(Column col,
InputStream val,
int length)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBigDecimal(Column col,
BigDecimal val) |
void |
Row.whereBigDecimal(Column col,
BigDecimal val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBigInteger(Column col,
BigInteger val) |
void |
Row.whereBigInteger(Column col,
BigInteger val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBinaryStream(Column col,
InputStream val,
int length) |
void |
Row.whereBinaryStream(Column col,
InputStream val,
int length)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBlob(Column col,
Blob val) |
void |
Row.whereBlob(Column col,
Blob val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBoolean(Column col,
boolean val) |
void |
Row.whereBoolean(Column col,
boolean val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereByte(Column col,
byte val) |
void |
Row.whereByte(Column col,
byte val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereBytes(Column col,
byte[] val) |
void |
Row.whereBytes(Column col,
byte[] val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereCalendar(Column col,
Calendar val) |
void |
Row.whereCalendar(Column col,
Calendar val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereChar(Column col,
char val) |
void |
Row.whereChar(Column col,
char val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereCharacterStream(Column col,
Reader val,
int length) |
void |
Row.whereCharacterStream(Column col,
Reader val,
int length)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereClob(Column col,
Clob val) |
void |
Row.whereClob(Column col,
Clob val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereDate(Column col,
Date val) |
void |
Row.whereDate(Column col,
Date val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereDate(Column col,
Date val,
Calendar cal) |
void |
Row.whereDate(Column col,
Date val,
Calendar cal)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereDouble(Column col,
double val) |
void |
Row.whereDouble(Column col,
double val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereFloat(Column col,
float val) |
void |
Row.whereFloat(Column col,
float val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereInt(Column col,
int val) |
void |
Row.whereInt(Column col,
int val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereLocale(Column col,
Locale val) |
void |
Row.whereLocale(Column col,
Locale val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereLong(Column col,
long val) |
void |
Row.whereLong(Column col,
long val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereNull(Column col) |
void |
Row.whereNull(Column col)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereNumber(Column col,
Number val) |
void |
Row.whereNumber(Column col,
Number val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereObject(Column col,
Object val) |
void |
Row.whereObject(Column col,
Object val)
Set an equality condition on the value of the given column in this row.
|
protected void |
RowImpl.whereObject(Column col,
Object val,
int metaType)
All where column methods delegate to this one.
|
void |
RowImpl.whereRaw(Column col,
String val) |
void |
Row.whereRaw(Column col,
String value)
Set a DB understood where condition for the given column.
|
void |
RowImpl.whereShort(Column col,
short val) |
void |
Row.whereShort(Column col,
short val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereString(Column col,
String val) |
void |
Row.whereString(Column col,
String val)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereTime(Column col,
Time val,
Calendar cal) |
void |
Row.whereTime(Column col,
Time val,
Calendar cal)
Set an equality condition on the value of the given column in this row.
|
void |
RowImpl.whereTimestamp(Column col,
Timestamp val,
Calendar cal) |
void |
Row.whereTimestamp(Column col,
Timestamp val,
Calendar cal)
Set an equality condition on the value of the given column in this row.
|
Constructor and Description |
---|
PrimaryRow(Column[] cols,
int action,
OpenJPAStateManager owner) |
RowImpl(Column[] cols,
int action) |
SecondaryRow(Column[] cols,
int action) |
Modifier and Type | Method and Description |
---|---|
void |
PersistenceMappingDefaults.populateColumns(Version vers,
Table table,
Column[] cols) |
void |
PersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
DBIdentifier sName,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols) |
void |
PersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm,
String name,
Table local,
Table foreign,
Column col,
Object target,
boolean inverse,
int pos,
int cols) |
void |
PersistenceMappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
Object target,
int pos,
int cols) |
protected void |
AnnotationPersistenceMappingParser.setMapKeyColumn(FieldMapping fm,
MappingInfo info,
Column col,
int unique)
Set the given map key column as the map key column for
fm . |
protected void |
AnnotationPersistenceMappingParser.setTargetIdentifier(Column col,
String refColumnName) |
protected void |
XMLPersistenceMappingParser.setTargetIdentifier(Column col,
String refColumnName) |
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotationPersistenceMappingParser.setColumns(FieldMapping fm,
MappingInfo info,
List<Column> cols,
int unique)
Set the given columns as the columns for
fm . |
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.