|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MetaDatabase | |
|---|---|
| org.ujoframework.orm | The ORM support. |
| org.ujoframework.orm.dialect | |
| org.ujoframework.orm.metaModel | |
| Uses of MetaDatabase in org.ujoframework.orm |
|---|
| Methods in org.ujoframework.orm that return MetaDatabase | |
|---|---|
MetaDatabase |
UjoSequencer.getDatabase()
Returns model of the database |
| Methods in org.ujoframework.orm that return types with arguments of type MetaDatabase | |
|---|---|
java.util.List<MetaDatabase> |
OrmHandler.getDatabases()
Returns all database |
| Methods in org.ujoframework.orm with parameters of type MetaDatabase | |
|---|---|
java.sql.Connection |
SqlDialect.createConnection(MetaDatabase db)
Create a new database connection |
javax.naming.InitialContext |
SqlDialect.createJndiInitialContext(MetaDatabase db)
Get or create an Initial Context for the JNDI lookup. |
java.sql.Connection |
Session.getConnection(MetaDatabase database)
Get connection for a required database with an autocommit na false. |
JdbcStatement |
Session.getStatement(MetaDatabase database,
java.lang.CharSequence sql)
Create new statement |
JdbcStatement |
Session.getStatementCallable(MetaDatabase database,
java.lang.String sql)
Create new statement |
java.lang.Appendable |
SqlDialect.printSequenceTable(MetaDatabase db,
java.lang.Appendable out)
Print SQL CREATE SEQUENCE. |
| Constructors in org.ujoframework.orm with parameters of type MetaDatabase | |
|---|---|
CriterionDecoder(Criterion criterion,
MetaDatabase database,
java.util.List<UjoProperty> orderByItems)
|
|
| Uses of MetaDatabase in org.ujoframework.orm.dialect |
|---|
| Methods in org.ujoframework.orm.dialect with parameters of type MetaDatabase | |
|---|---|
java.lang.Appendable |
MySqlDialect.printSequenceTable(MetaDatabase db,
java.lang.Appendable out)
|
| Uses of MetaDatabase in org.ujoframework.orm.metaModel |
|---|
| Fields in org.ujoframework.orm.metaModel with type parameters of type MetaDatabase | |
|---|---|
static Property<MetaTable,MetaDatabase> |
MetaTable.DATABASE
Database |
static Property<MetaProcedure,MetaDatabase> |
MetaProcedure.DATABASE
Database |
static ListProperty<MetaRoot,MetaDatabase> |
MetaRoot.DATABASES
List of tables |
static Property<MetaDatabase,java.lang.Class> |
MetaDatabase.DIALECT
SQL dialect type of Class<SqlDialect> |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.ID
The meta-model id |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.JDBC_DRIVER
JDBC Driver |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.JDBC_URL
JDBC URL connection |
static ListProperty<MetaDatabase,java.lang.String> |
MetaDatabase.JNDI
JNDI (java naming and directory interface) connection string |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.PASSWORD
DB password |
static ListProperty<MetaDatabase,MetaProcedure> |
MetaDatabase.PROCEDURES
List of procedures |
static Property<MetaDatabase,OrmUjo> |
MetaDatabase.ROOT
An instance of the DB class. |
static Property<MetaDatabase,java.lang.Class> |
MetaDatabase.SEQUENCER
The sequencer class for tables of the current database. |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.SCHEMA
MetaDatabase default schema |
static ListProperty<MetaDatabase,MetaTable> |
MetaDatabase.TABLES
List of tables |
static Property<MetaDatabase,java.lang.String> |
MetaDatabase.USER
DB user |
| Methods in org.ujoframework.orm.metaModel that return MetaDatabase | |
|---|---|
MetaDatabase |
MetaTable.getDatabase()
Returns the database |
MetaDatabase |
MetaRoot.getDatabase()
Returns the first database or return null |
MetaDatabase |
MetaProcedure.getDatabase()
Returns the database |
MetaDatabase |
MetaRoot.getDatabase(java.lang.String name)
Returns the first database with required name or returns null. |
MetaDatabase |
MetaRoot.removeDb(java.lang.String schemaName)
Returns the first database with the same schemaName - and remove it from the list. |
| Methods in org.ujoframework.orm.metaModel with parameters of type MetaDatabase | |
|---|---|
void |
MetaRoot.add(MetaDatabase database)
Add a new database into repository. |
| Constructors in org.ujoframework.orm.metaModel with parameters of type MetaDatabase | |
|---|---|
MetaDatabase(OrmHandler ormHandler,
OrmUjo database,
MetaDatabase param)
Create a new Database. |
|
MetaProcedure(MetaDatabase database,
UjoProperty 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 | |||||||||