Package | Description |
---|---|
org.castor.cpa.persistence.sql.connection | |
org.castor.jdo.conf | |
org.castor.jdo.util |
Modifier and Type | Method and Description |
---|---|
static DataSource |
DataSourceConnectionFactory.loadDataSource(DataSource confDataSource,
ClassLoader loader)
Initialize JDBC DataSource instance with the given database configuration
instances and the given class loader.
|
Constructor and Description |
---|
DataSourceConnectionFactory(DataSource dataSource,
boolean useProxies,
ClassLoader loader)
Constructs a new DataSourceConnectionFactory with given database and mapping.
|
Modifier and Type | Method and Description |
---|---|
DataSource |
DatabaseChoice.getDataSource()
Returns the value of field 'dataSource'.
|
static DataSource |
DataSource.unmarshal(Reader reader)
Method unmarshal.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseChoice.setDataSource(DataSource dataSource)
Sets the value of field 'dataSource'.
|
Modifier and Type | Method and Description |
---|---|
static DataSource |
JDOConfFactory.createDataSource(String datasource,
Properties props)
Create a JDO datasource configuration from a JDBC DataSource instance
and apply the supplied property entries.
|
Modifier and Type | Method and Description |
---|---|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
DataSource ds)
Create a database configuration with given name, engine and datasource
configuration.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
DataSource ds,
String mapping)
Deprecated.
create database w/o mapping.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
DataSource ds,
String[] mappings)
Deprecated.
create database w/o mappings.
|
Copyright © 2016. All rights reserved.