| Package | Description |
|---|---|
| org.batoo.jpa.core.impl.deployment | |
| org.batoo.jpa.core.impl.jdbc | |
| org.batoo.jpa.core.impl.manager | |
| org.batoo.jpa.core.impl.model | |
| org.batoo.jpa.core.jdbc.adapter |
| Modifier and Type | Method and Description |
|---|---|
static void |
DdlManager.perform(DataSourceImpl datasource,
MetamodelImpl metamodel,
DDLMode ddlMode)
Performs the DDL operations.
|
| Constructor and Description |
|---|
ConnectionFactory(DataSourceImpl dataSource) |
| Constructor and Description |
|---|
EntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory,
MetamodelImpl metamodel,
DataSourceImpl datasource,
Map<String,Object> properties,
JdbcAdaptor jdbcAdaptor) |
JtaEntityManagerImpl(JtaEntityManagerFactoryImpl entityManagerFactory,
MetamodelImpl metamodel,
DataSourceImpl datasource,
Map<String,Object> properties,
JdbcAdaptor jdbcAdaptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
MetamodelImpl.dropAllTables(DataSourceImpl datasource)
Drops all the tables in the database.
|
void |
MetamodelImpl.performForeignKeysDdl(DataSourceImpl datasource,
DDLMode ddlMode,
EntityTypeImpl<?> entity)
Performs the foreign key DDL operations.
|
void |
MetamodelImpl.performSequencesDdl(DataSourceImpl datasource,
DDLMode ddlMode)
Performs the sequence generators DDL operations.
|
void |
MetamodelImpl.performTableGeneratorsDdl(DataSourceImpl datasource,
DDLMode ddlMode)
Performs the table generator DDL operations.
|
void |
MetamodelImpl.performTablesDdl(DataSourceImpl datasource,
DDLMode ddlMode,
EntityTypeImpl<?> entity)
Performs the table DDL operations.
|
void |
MetamodelImpl.preFillGenerators(DataSourceImpl datasource)
Prefills the id generators.
|
| Constructor and Description |
|---|
SequenceQueue(JdbcAdaptor jdbcAdaptor,
DataSourceImpl datasource,
ExecutorService idExecuter,
String sequenceName,
int allocationSize) |
TableIdQueue(JdbcAdaptor jdbcAdaptor,
DataSourceImpl datasource,
ExecutorService idExecuter,
TableGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
void |
JdbcAdaptor.createForeignKey(DataSourceImpl datasource,
ForeignKey foreignKey)
Creates a foreign key on the table
|
protected void |
JdbcAdaptor.createIndex(DataSourceImpl datasource,
EntityTable table,
String indexName,
BasicColumn[] columns)
Creates the index for the table.
|
void |
JdbcAdaptor.createOrUpdateTable(AbstractTable table,
DataSourceImpl datasource,
DDLMode ddlMode)
Creates or update the table.
|
void |
JdbcAdaptor.createTableGeneratorIfNecessary(DataSourceImpl datasource,
TableGenerator table)
Creates the table generator if not exists.
|
void |
JdbcAdaptor.dropAllForeignKeys(DataSourceImpl datasource,
Set<AbstractTable> tables) |
void |
JdbcAdaptor.dropAllSequences(DataSourceImpl datasource,
Collection<SequenceGenerator> sequences) |
void |
JdbcAdaptor.dropAllTables(DataSourceImpl datasource,
Collection<AbstractTable> tables)
Drops the tables in the database
|
long |
PostgreSqlAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
H2Adaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
abstract long |
JdbcAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
OracleAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
MsSqlAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
DerbyAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
HsqlAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
long |
MySqlAdaptor.getNextSequence(DataSourceImpl datasource,
String sequenceName)
Returns next sequence number from the database.
|
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.