The DBBean Framework |
Introduction Main Objects Batch Sql Files Bean Generation Basic Operations Advanced Operations API - JavaDocs Download Alpha Developers / Contact |
The Main Objects
com.sidman.db.DB One DB object is required for each actual database. One instance of this object should be created at application startup and used throughout the application. Consult the JavaDocs for the constructor parameters, which include things like the driver, URL, username and password for the database.. The DB object manipulates DBBean objects:
DB myDB = new DB([args]); com.sidman.db.DBBean DBBean objects represent a view into the database. One DBBean object represents one row from a SQL select statement. It may be from one table or an inner or outer join of many tables. There are currently three subclasses of the base DBBean class:
|