Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
ValueMapping.setColumnIO(ColumnIO io)
I/O information on the foreign key, or columns if this value doesn't
have a key.
|
void |
MappingInfo.setColumnIO(ColumnIO io)
I/O for the columns created by the last call to
MappingInfo.createColumns(org.apache.openjpa.meta.MetaDataContext, java.lang.String, org.apache.openjpa.jdbc.schema.Column[], org.apache.openjpa.jdbc.schema.Table, boolean) ,
or for the foreign key created by the last call to
MappingInfo.createForeignKey(org.apache.openjpa.meta.MetaDataContext, java.lang.String, java.util.List<org.apache.openjpa.jdbc.schema.Column>, org.apache.openjpa.jdbc.meta.MappingInfo.ForeignKeyDefaults, org.apache.openjpa.jdbc.schema.Table, org.apache.openjpa.jdbc.meta.ClassMapping, org.apache.openjpa.jdbc.meta.ClassMapping, boolean, boolean) . |
void |
Discriminator.setColumnIO(ColumnIO io)
I/O information on the discriminator columns.
|
void |
Version.setColumnIO(ColumnIO io)
I/O information on the version columns.
|
void |
ClassMapping.setColumnIO(ColumnIO io)
I/O information on the key columns / join key.
|
void |
ValueMappingImpl.setColumnIO(ColumnIO io) |
void |
FieldMapping.setColumnIO(ColumnIO io) |
void |
FieldMapping.setJoinColumnIO(ColumnIO io)
I/O information on the join columns.
|
void |
FieldMapping.setOrderColumnIO(ColumnIO io)
I/O information for order column.
|
Modifier and Type | Field and Description |
---|---|
protected ColumnIO |
HandlerFieldStrategy._io |
Modifier and Type | Method and Description |
---|---|
ColumnIO |
HandlerFieldStrategy.getColumnIO() |
ColumnIO |
PrimitiveFieldStrategy.getColumnIO() |
ColumnIO |
StringFieldStrategy.getColumnIO() |
ColumnIO |
RelationFieldStrategy.getColumnIO() |
ColumnIO |
EmbedFieldStrategy.getColumnIO() |
ColumnIO |
HandlerRelationMapTableFieldStrategy.getKeyColumnIO() |
Modifier and Type | Method and Description |
---|---|
Column[] |
EnumValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
BlobValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
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[] |
ImmutableValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
Column[] |
CharArrayStreamValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt) |
protected void |
EmbedValueHandler.map(ValueMapping vm,
DBIdentifier name,
ColumnIO io,
boolean adapt,
List cols,
List args)
Maps embedded value and gathers columns and arguments into given lists.
|
Column[] |
EnumValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
BlobValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt) |
Column[] |
UntypedPCValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
ByteArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
CharArrayValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
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.
|
Column[] |
ImmutableValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
ElementEmbedValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt)
Deprecated.
|
Column[] |
CharArrayStreamValueHandler.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.
|
protected void |
EmbedValueHandler.map(ValueMapping vm,
String name,
ColumnIO io,
boolean adapt,
List cols,
List args)
Deprecated.
|
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.
|
Modifier and Type | Field and Description |
---|---|
static ColumnIO |
ColumnIO.UNRESTRICTED |
Modifier and Type | Method and Description |
---|---|
ColumnIO |
PrimaryRow.getForeignKeyIO(ForeignKey fk)
Return the I/O information for the given set foreign key.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
RowImpl.canSet(ColumnIO io,
int i,
boolean nullValue)
Return true if the given column index is settable.
|
protected boolean |
RowImpl.canSetAny(ColumnIO io,
int i,
boolean nullValue)
Return true if any of the given column indexes are settable.
|
void |
PrimaryRow.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
Row.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm)
Set the value of the given foreign key to the given object.
|
void |
RowImpl.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
SecondaryRow.setForeignKey(ForeignKey fk,
ColumnIO io,
OpenJPAStateManager sm) |
void |
PrimaryRow.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm) |
void |
Row.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm)
Set the primary key to represent the given object.
|
void |
RowImpl.setPrimaryKey(ColumnIO io,
OpenJPAStateManager sm) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.