|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| DBOConfig | DBOConfiguration stores most structures and preferences related to developing a web deployed application, specifically managed entities, navigation rules, resource paths, database log-in, logger configuration. |
| Annotation Types Summary | |
|---|---|
| DBO | DBO annotations are required for all persistent objects. |
Provides the classes for the DBO (database-object) persistence package. DBO contains all classes for unrestricted access to the database.
Following is an example use of the main classes in this package. This example includes a reference to a Person class which is not a part of the package. The Person class may be any Java object that conforms to the DBO annonation specification.
DBOUserConfig.init(configDirectory, deploymentName);
Collection<Person> people = SQLRead.list(Person.class, new Equals("firstName", "John");
SQLRead.getCollection(people,"works",null);
The configuration directory and deployment name should point to the directory which
contains at minimum deployments.xml. This file contains 2 essential preferences:
database access and a base directory for resources. Resources (any File field) are
managed outside the database in the standard file system and referenced by a path
relative to the base directory.
com.posttool.dbo,
DBO,
Deployments
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||