Package | Description |
---|---|
org.castor.jdo.conf | |
org.castor.jdo.engine | |
org.castor.jdo.util |
Modifier and Type | Method and Description |
---|---|
Database[] |
JdoConf.getDatabase()
Method getDatabase.Returns the contents of the collection in
an Array.
|
Database |
JdoConf.getDatabase(int index)
Method getDatabase.
|
Database |
JdoConf.removeDatabaseAt(int index)
Method removeDatabaseAt.
|
static Database |
Database.unmarshal(Reader reader)
Method unmarshal.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<? extends Database> |
JdoConf.enumerateDatabase()
Method enumerateDatabase.
|
Iterator<? extends Database> |
JdoConf.iterateDatabase()
Method iterateDatabase.
|
Modifier and Type | Method and Description |
---|---|
void |
JdoConf.addDatabase(Database vDatabase) |
void |
JdoConf.addDatabase(int index,
Database vDatabase) |
boolean |
JdoConf.removeDatabase(Database vDatabase)
Method removeDatabase.
|
void |
JdoConf.setDatabase(Database[] vDatabaseArray) |
void |
JdoConf.setDatabase(int index,
Database vDatabase) |
Modifier and Type | Method and Description |
---|---|
Database |
DatabaseContext.getDatabase()
Get the database configuration.
|
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.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Driver driver)
Create a database configuration with given name, engine and driver
configuration.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Driver driver,
String mapping)
Deprecated.
create database w/o mapping.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Driver driver,
String[] mappings)
Deprecated.
create database w/o mappings.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Jndi jndi)
Create a database configuration with given name, engine and JNDI
configuration.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Jndi jndi,
String mapping)
Deprecated.
create database w/o mapping.
|
static Database |
JDOConfFactory.createDatabase(String name,
String engine,
Jndi jndi,
String[] mappings)
Deprecated.
create database w/o mappings.
|
Modifier and Type | Method and Description |
---|---|
static JdoConf |
JDOConfFactory.createJdoConf(Database database)
Create a JDO configuration with local transaction demarcation and given database.
|
static JdoConf |
JDOConfFactory.createJdoConf(Database[] databases)
Create a JDO configuration with local transaction demarcation and given databases.
|
static JdoConf |
JDOConfFactory.createJdoConf(Database[] databases,
TransactionDemarcation tx)
Create a JDO configuration with given databases and transaction demarcation.
|
static JdoConf |
JDOConfFactory.createJdoConf(Database database,
TransactionDemarcation tx)
Create a JDO configuration with given database and transaction demarcation.
|
Copyright © 2016. All rights reserved.