Table of Content

DB-VA Programmers Guide for Java Cover

Chapter 1 - Generating Java, Database and Persistent Library

Introduction
Configuring Database
Generating Database
Generating Java Code
Selecting Optional Jar for Persistent Library

Chapter 2 - Configuring Source and Library in Eclipse

Copying Generated Source and Library to Eclipse Project
Configuring the Library
Modifying the Sample Program to Test the Generated Java Model

Chapter 3 - Developing Java Enterprise Web Application

Introduction
Configuring Web Application Deployment Descriptor
Creating Object and Saving to Database
Querying Object from Database
Updating Object and Saving to Database
Deleting Object in Database

Chapter 4 - Developing Standalone Java Application

Introduction
Generating Java Source and Database
Using PersistentManager and Transaction
Start Transaction
Commit Transaction
Rollback Transaction
Creating Object and Saving to Database
Querying Object from Database
Updating Object and Save to Database
Deleting Object in Database

Chapter 5 - Querying Database

Introductions
Creating Test Data
Using ORM Qualifier
Defining ORM Qualifier
Retrieving from ORM Qualifier
Using Criteria
Configuring Criteria Class Generation
Description of Criteria Class
Comparing the Criteria Class and SQL Query

Chapter 6 - Generating Object-Oriented Java Source from Relational Database

Introduction
Creating Simulate Data
Start Generating Code from Database Wizard
Configuring Database
Selecting Table
Configuring Generated Class Details
Specifying Code Generation Details
Using Generated Sample