|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MetaDatabase | |
|---|---|
| org.ujorm.orm | The ORM support. |
| org.ujorm.orm.dialect | |
| org.ujorm.orm.metaModel | |
| Uses of MetaDatabase in org.ujorm.orm |
|---|
| Methods in org.ujorm.orm that return MetaDatabase | |
|---|---|
MetaDatabase |
UjoSequencer.getDatabase()
Returns model of the database |
| Methods in org.ujorm.orm that return types with arguments of type MetaDatabase | |
|---|---|
List<MetaDatabase> |
OrmHandler.getDatabases()
Returns all database |
| Methods in org.ujorm.orm with parameters of type MetaDatabase | |
|---|---|
Connection |
SqlDialect.createConnection(MetaDatabase db)
Create a new database connection |
InitialContext |
SqlDialect.createJndiInitialContext(MetaDatabase db)
Get or create an Initial Context for the JNDI lookup. |
Connection |
Session.getConnection(MetaDatabase database,
boolean toModify)
Get or create a Connection for a required database with an autocommit na false. |
JdbcStatement |
Session.getStatement(MetaDatabase database,
CharSequence sql,
boolean toModify)
Create new statement and assigng Savepoint for a trnasaction sase. |
JdbcStatement |
Session.getStatementCallable(MetaDatabase database,
String sql,
boolean toModify)
Create new statement |
Appendable |
SqlDialect.printSequenceTable(MetaDatabase db,
Appendable out)
Print SQL CREATE SEQUENCE. |
| Uses of MetaDatabase in org.ujorm.orm.dialect |
|---|
| Methods in org.ujorm.orm.dialect with parameters of type MetaDatabase | |
|---|---|
Appendable |
MSSqlDialect.printSequenceTable(MetaDatabase db,
Appendable out)
Print SQL CREATE SEQUENCE. |
Appendable |
MySqlDialect.printSequenceTable(MetaDatabase db,
Appendable out)
|
| Uses of MetaDatabase in org.ujorm.orm.metaModel |
|---|
| Fields in org.ujorm.orm.metaModel declared as MetaDatabase | |
|---|---|
protected MetaDatabase |
MetaDbService.db
Meta Database from constructor |
| Fields in org.ujorm.orm.metaModel with type parameters of type MetaDatabase | |
|---|---|
static Key<MetaProcedure,MetaDatabase> |
MetaProcedure.DATABASE
Database |
static Key<MetaTable,MetaDatabase> |
MetaTable.DATABASE
Database |
static ListKey<MetaRoot,MetaDatabase> |
MetaRoot.DATABASES
List of tables |
static Key<MetaDatabase,Class<? extends SqlDialect>> |
MetaDatabase.DIALECT
SQL dialect type of Class<SqlDialect> |
static Key<MetaDatabase,String> |
MetaDatabase.ID
The meta-model id |
static Key<MetaDatabase,String> |
MetaDatabase.JDBC_DRIVER
JDBC Driver |
static Key<MetaDatabase,String> |
MetaDatabase.JDBC_URL
JDBC URL connection |
static ListKey<MetaDatabase,String> |
MetaDatabase.JNDI
JNDI (java naming and directory interface) connection string |
static Key<MetaDatabase,Integer> |
MetaDatabase.ORDER
Database order number |
static Key<MetaDatabase,Orm2ddlPolicy> |
MetaDatabase.ORM2DLL_POLICY
A policy to defining the database structure by a DDL. |
static Key<MetaDatabase,String> |
MetaDatabase.PASSWORD
DB password of the user |
static ListKey<MetaDatabase,MetaProcedure> |
MetaDatabase.PROCEDURES
List of procedures |
static Key<MetaDatabase,Boolean> |
MetaDatabase.READ_ONLY
The default state read-only for the database. |
static Key<MetaDatabase,OrmUjo> |
MetaDatabase.ROOT
An instance of the DB class. |
static Key<MetaDatabase,String> |
MetaDatabase.SCHEMA
MetaDatabase default schema |
static Key<MetaDatabase,Class<? extends UjoSequencer>> |
MetaDatabase.SEQUENCER
The sequencer class for tables of the current database. |
static ListKey<MetaDatabase,MetaTable> |
MetaDatabase.TABLES
List of tables |
static Key<MetaDatabase,String> |
MetaDatabase.USER
DB user |
| Methods in org.ujorm.orm.metaModel that return MetaDatabase | |
|---|---|
MetaDatabase |
MetaProcedure.getDatabase()
Returns the database |
MetaDatabase |
MetaTable.getDatabase()
Returns the database |
MetaDatabase |
MetaRoot.getDatabase()
Returns the first database or return null |
MetaDatabase |
MetaRoot.getDatabase(String name)
Returns the first database with required name or returns null. |
MetaDatabase |
MetaRoot.removeDb(String databaseId)
Returns the first database with the same schemaName - and remove it from the list. |
| Methods in org.ujorm.orm.metaModel with parameters of type MetaDatabase | |
|---|---|
void |
MetaRoot.add(MetaDatabase database)
Add a new database into repository. |
int |
MetaDatabase.compareTo(MetaDatabase o)
Compare the object by ORDER. |
void |
MetaDbService.create(MetaDatabase metaDatabase,
Session session)
Create DB |
| Constructors in org.ujorm.orm.metaModel with parameters of type MetaDatabase | |
|---|---|
MetaDatabase(OrmHandler ormHandler,
OrmUjo database,
MetaDatabase param,
Integer order)
Create a new Database. |
|
MetaProcedure(MetaDatabase database,
Key dbProperty,
MetaProcedure parProcedure)
Create the new stored procedure meta-model. |
|
MetaTable(MetaDatabase database,
RelationToMany<?,?> dbProperty,
MetaTable parTable)
Create new MetaTable. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||