| Package | Description |
|---|---|
| org.batoo.jpa.core.impl.model | |
| org.batoo.jpa.jdbc |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityTypeImpl<X>
Implementation of
EntityType. |
| Modifier and Type | Method and Description |
|---|---|
EntityTypeDescriptor |
JoinTable.getEntity()
Returns the oner entity of the table.
|
EntityTypeDescriptor |
EntityTable.getEntity()
Returns the entity of the EntityTable.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractColumn[] |
AbstractTable.getInsertColumns(EntityTypeDescriptor entity,
int size)
Returns the columns for the insert.
|
protected String |
AbstractTable.getInsertSql(EntityTypeDescriptor entity,
int size)
Returns the insert statement for the table specifically.
|
protected AbstractColumn[] |
AbstractTable.getUpdateColumns(EntityTypeDescriptor entity)
Returns the columns for the update.
|
protected String |
AbstractTable.getUpdateSql(EntityTypeDescriptor entity,
Map<String,AbstractColumn> pkColumns)
Returns the update statement for the table specifically.
|
void |
ForeignKey.link(AssociationMapping<?,?,?> mapping,
EntityTypeDescriptor targetEntity)
Links the foreign key.
|
void |
CollectionTable.link(EntityTypeDescriptor entity,
EmbeddableTypeDescriptor type,
String defaultName,
RootMapping<?> elementMapping)
Links the collection table.
|
void |
JoinTable.link(EntityTypeDescriptor source,
EntityTypeDescriptor destination) |
void |
CollectionTable.link(EntityTypeDescriptor entity,
TypeDescriptor type,
String defaultName,
ColumnMetadata metadata,
javax.persistence.EnumType enumType,
javax.persistence.TemporalType temporalType,
boolean lob)
Links the collection table.
|
void |
EntityTable.performInsert(Connection connection,
EntityTypeDescriptor entityType,
Object[] instances,
int size)
Performs inserts to the table for the managed instance or joins.
|
void |
EntityTable.performUpdate(Connection connection,
EntityTypeDescriptor type,
Object instance,
Object oldVersion)
Performs update to the table for the managed instance or joins.
|
boolean |
EntityTable.performUpdateWithUpdatability(Connection connection,
EntityTypeDescriptor type,
Object instance,
Object oldVersion)
Performs update to the table for the managed instance or joins.
|
| Constructor and Description |
|---|
EntityTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor entity,
TableMetadata metadata) |
ForeignKey(JdbcAdaptor jdbcAdaptor,
SecondaryTable table,
EntityTypeDescriptor entity,
List<PrimaryKeyJoinColumnMetadata> metadata) |
JoinTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor entity,
AssociationMapping<?,?,?> mapping,
JoinTableMetadata metadata) |
SecondaryTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor entity,
SecondaryTableMetadata metadata)
Default secondary table constructor.
|
SecondaryTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor entity,
TableMetadata metadata)
Constructor primary table as join table in inheritance.
|
Copyright © 2012-2013 Batoo. All Rights Reserved.