Package | Description |
---|---|
org.apache.openjpa.jdbc.conf |
OpenJPA-JDBC Configuration
|
org.apache.openjpa.jdbc.identifier | |
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
|
org.apache.openjpa.persistence.jdbc |
OpenJPA JPA-JDBC
|
org.apache.openjpa.slice.jdbc |
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
|
Modifier and Type | Class and Description |
---|---|
class |
JDBCConfigurationImpl
Default implementation of the
JDBCConfiguration interface. |
Constructor and Description |
---|
JDBCConfigurationImpl(JDBCConfiguration conf)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
JDBCConfiguration |
DBIdentifierUtilImpl.getConfiguration()
System configuration.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConfiguration |
AbstractUpdateManager.conf |
Modifier and Type | Method and Description |
---|---|
JDBCConfiguration |
TableJDBCSeq.getConfiguration() |
JDBCConfiguration |
NativeJDBCSeq.getConfiguration() |
JDBCConfiguration |
JDBCStoreManager.getConfiguration() |
JDBCConfiguration |
JDBCStore.getConfiguration()
Return the configuration for this runtime.
|
abstract JDBCConfiguration |
AbstractJDBCSeq.getConfiguration()
Return the
JDBCConfiguration for this sequence. |
Modifier and Type | Method and Description |
---|---|
protected ResultSet |
TableJDBCSeq.executeQuery(JDBCConfiguration conf,
Connection conn,
PreparedStatement stmnt,
SQLBuffer buf)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing query.
|
protected int |
TableJDBCSeq.executeUpdate(JDBCConfiguration conf,
Connection conn,
PreparedStatement stmnt,
SQLBuffer buf,
int opcode)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing update.
|
static boolean |
ValueTableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
TableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
NativeJDBCSeq.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
ClassTableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
TableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
String action)
Run the tool.
|
static boolean |
NativeJDBCSeq.run(JDBCConfiguration conf,
String[] args,
String action)
Run the tool.
|
static boolean |
ValueTableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
String action,
MappingRepository repos,
ClassLoader loader)
Run the tool.
|
static boolean |
ClassTableJDBCSeq.run(JDBCConfiguration conf,
String[] args,
String action,
MappingRepository repos,
ClassLoader loader)
Run the tool.
|
void |
JDBCStoreManager.setContext(StoreContext ctx,
JDBCConfiguration conf) |
protected void |
JDBCBrokerFactory.synchronizeMappings(ClassLoader loader,
JDBCConfiguration conf)
Synchronize the mappings of the classes listed in the configuration.
|
Constructor and Description |
---|
JDBCBrokerFactory(JDBCConfiguration conf)
Construct the factory with the given option settings; however, the
factory construction methods are recommended.
|
Modifier and Type | Method and Description |
---|---|
JDBCConfiguration |
ReverseMappingTool.getConfiguration()
Return the configuration provided on construction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MappingTool.ImportExport.exportMappings(JDBCConfiguration conf,
Class<?>[] act,
boolean meta,
Log log,
Writer writer)
Export mappings for the given classes based on the given arguments.
|
boolean |
MappingTool.ImportExport.importMappings(JDBCConfiguration conf,
Class<?>[] act,
String[] args,
boolean meta,
Log log,
ClassLoader loader)
Import mappings for the given classes based on the given arguments.
|
protected static ReverseMappingTool |
ReverseMappingTool.newInstance(JDBCConfiguration conf) |
static boolean |
MappingTool.run(JDBCConfiguration conf,
String[] args,
MappingTool.Flags flags,
ClassLoader loader)
Run the tool.
|
static boolean |
ReverseMappingTool.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
MappingTool.run(JDBCConfiguration conf,
String[] args,
Options opts,
ClassLoader loader)
Run the tool.
|
static boolean |
ReverseMappingTool.run(JDBCConfiguration conf,
String[] args,
Options opts,
Map<Class<?>,String> output)
Run the tool and write to the optionally provided map.
|
static void |
ReverseMappingTool.run(JDBCConfiguration conf,
String[] args,
ReverseMappingTool.Flags flags,
ClassLoader loader)
Run the tool.
|
static void |
ReverseMappingTool.run(JDBCConfiguration conf,
String[] args,
ReverseMappingTool.Flags flags,
ClassLoader loader,
Map<Class<?>,String> output)
Run the tool and write to the optionally provided map
|
Constructor and Description |
---|
MappingTool(JDBCConfiguration conf,
String action,
boolean meta)
Constructor.
|
MappingTool(JDBCConfiguration conf,
String action,
boolean meta,
ClassLoader loader)
Constructor.
|
ReverseMappingTool(JDBCConfiguration conf)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConfiguration |
SchemaTool._conf |
protected JDBCConfiguration |
DBCPDriverDataSource.conf |
Modifier and Type | Method and Description |
---|---|
JDBCConfiguration |
TableSchemaFactory.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static DecoratingDataSource |
DataSourceFactory.decorateDataSource(DataSource ds,
JDBCConfiguration conf,
boolean factory2)
Install listeners and base decorators.
|
static String |
Schemas.getNewTableSchema(JDBCConfiguration conf)
Deprecated.
|
static DBIdentifier |
Schemas.getNewTableSchemaIdentifier(JDBCConfiguration conf) |
static DecoratingDataSource |
DataSourceFactory.installDBDictionary(DBDictionary dict,
DecoratingDataSource ds,
JDBCConfiguration conf,
boolean factory2)
Install things deferred until the DBDictionary instance is available.
|
static DataSource |
DataSourceFactory.newDataSource(JDBCConfiguration conf,
boolean factory2)
Create a datasource using the given configuration.
|
static boolean |
TableSchemaFactory.run(JDBCConfiguration conf,
String action)
Run the tool.
|
static boolean |
TableSchemaFactory.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
SchemaTool.run(JDBCConfiguration conf,
String[] args,
Options opts)
Run the tool.
|
static boolean |
SchemaTool.run(JDBCConfiguration conf,
String[] args,
SchemaTool.Flags flags,
ClassLoader loader)
Run the tool.
|
Constructor and Description |
---|
SchemaGenerator(JDBCConfiguration conf)
Constructor.
|
SchemaTool(JDBCConfiguration conf)
Default constructor.
|
SchemaTool(JDBCConfiguration conf,
String action)
Construct a tool to perform the given action.
|
XMLSchemaParser(JDBCConfiguration conf)
Constructor.
|
XMLSchemaSerializer(JDBCConfiguration conf)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConfiguration |
DBDictionary.conf |
Modifier and Type | Method and Description |
---|---|
JDBCConfiguration |
SelectImpl.getConfiguration() |
JDBCConfiguration |
SelectExecutor.getConfiguration()
Return the select configuration.
|
JDBCConfiguration |
SQLFactoryImpl.getConfiguration()
System configuration.
|
JDBCConfiguration |
LogicalUnion.getConfiguration() |
JDBCConfiguration |
LogicalUnion.UnionSelect.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
static DBDictionary |
DBDictionaryFactory.calculateDBDictionary(JDBCConfiguration conf,
String url,
String driver,
String props)
Attempt to create the dictionary from the given connection URL and
driver name, either or both of which may be null.
|
static DBDictionary |
DBDictionaryFactory.newDBDictionary(JDBCConfiguration conf,
DataSource ds,
String props)
Create the dictionary using connection metadata to determine its type.
|
static DBDictionary |
DBDictionaryFactory.newDBDictionary(JDBCConfiguration conf,
String dclass,
String props)
Create the dictionary for the given class name and properties.
|
void |
DBDictionary.setTimeouts(PreparedStatement stmnt,
JDBCConfiguration conf,
boolean forUpdate)
FIXME - OPENJPA-957 - lockTimeout is a server-side function and
shouldn't be using client-side setQueryTimeout for lock timeouts.
|
Constructor and Description |
---|
LogicalUnion(JDBCConfiguration conf,
int sels)
Constructor.
|
LogicalUnion(JDBCConfiguration conf,
int sels,
Select[] seeds)
Delegate constructor.
|
LogicalUnion(JDBCConfiguration conf,
Select[] seeds)
Constructor used to seed the internal selects.
|
SelectImpl(JDBCConfiguration conf)
Constructor.
|
Constructor and Description |
---|
AnnotationPersistenceMappingParser(JDBCConfiguration conf) |
AnnotationPersistenceMappingSerializer(JDBCConfiguration conf)
Constructor.
|
XMLPersistenceMappingParser(JDBCConfiguration conf)
Constructor; supply configuration.
|
XMLPersistenceMappingSerializer(JDBCConfiguration conf)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DistributedJDBCConfiguration
A distributed configuration that is a ordered collection of
JDBCConfigurations.
|
Modifier and Type | Class and Description |
---|---|
class |
DistributedJDBCConfigurationImpl
A specialized configuration embodies a set of Slice configurations.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.