|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Db
Use the annotation to mark a Key static field like XML Attribute.
| Required Element Summary | |
|---|---|
Class<? extends SqlDialect> |
dialect
SQL dialect by a DB Vendor. |
| Optional Element Summary | |
|---|---|
String |
jdbcDriver
JDBC Driver |
String |
jdbcUrl
JDBC Url |
String[] |
jndi
The JNDI (java naming and directory interface) connection string. |
Orm2ddlPolicy |
Orm2ddlPolicy
Parameter to control how the DLL (Data Definition Language) statements will be used to a defining data structure modification. |
String |
password
Connection password |
boolean |
readOnly
Default read-only state for all database tables. |
String |
schema
Default name of table schema is copied into table models if thay are empty. |
Class<? extends UjoSequencer> |
sequencer
The sequencer class for tables of the current database. |
String |
user
Connection User |
| Element Detail |
|---|
public abstract Class<? extends SqlDialect> dialect
public abstract String schema
Table.schema()public abstract String[] jndi
public abstract String jdbcUrl
public abstract String jdbcDriver
public abstract String user
public abstract String password
public abstract Class<? extends UjoSequencer> sequencer
public abstract boolean readOnly
Table.readOnly()public abstract Orm2ddlPolicy Orm2ddlPolicy
CREATE_OR_UPDATE_DDL
will be used.
Orm2ddlPolicy.CREATE_OR_UPDATE_DDL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||