SolarMetric Kodo JDO Developers Guide
Next
SolarMetric Kodo™ JDO Developers Guide
Copyright © 2002 SolarMetric Inc.
Table of Contents
I.
Introduction
1.
Introduction to SolarMetric Kodo JDO
II.
Java Data Objects
1.
Introduction
1.1.
Intended Audience
1.2.
Transparent Persistence
2.
Why JDO?
3.
JDO Architecture
3.1.
JDO Exceptions
4.
PersistenceCapable
4.1.
Enhancers
4.2.
Persistence-Capable vs. Persistence-Aware
4.3.
Restrictions on Persistent Classes
4.3.1.
Inheritance
4.3.2.
Persistent Fields
4.3.3.
Conclusions
4.4.
InstanceCallbacks
4.5.
JDO Identity
4.5.1.
Datastore Identity
4.5.2.
Application Identity
4.6.
Conclusions
5.
Metadata
5.1.
Metadata DTD
5.2.
Metadata Placement
6.
JDOHelper
6.1.
Persistence-Capable Operations
6.2.
Lifecycle Operations
6.3.
PersistenceManagerFactory Construction
7.
PersistenceManagerFactory
7.1.
Obtaining a PersistenceManagerFactory
7.2.
PersistenceManagerFactory Properties
7.2.1.
Connection Configuration
7.2.2.
PersistenceManagerFactory and Transaction Defaults
7.2.3.
PersistenceManager Pooling
7.3.
Obtaining PersistenceManagers
7.4.
Properties and Supported Options
8.
PersistenceManager
8.1.
User Object Association
8.2.
Configuration Properties
8.3.
Transaction Association
8.4.
Persistence-capable Lifecycle Management
8.5.
JDO Identity Management
8.6.
Extent Factory
8.7.
Query Factory
8.8.
Closing
9.
Transaction
9.1.
Transaction Types
9.2.
The JDO Transaction Interface
10.
Extent
11.
Query
11.1.
Required Query Elements
11.2.
Optional Query Elements
11.3.
JDOQL
11.4.
Executing Queries
11.5.
Query Compilation
III.
Kodo JDO Reference Guide
11.
Introduction
11.1.
Intended Audience
12.
Configuration Framework
12.1.
JDO Standard Properties
12.2.
Kodo JDO Properties
13.
Creating Persistent Classes
13.1.
Application Identity Class Generation
13.2.
Enhancement
13.3.
Auto-Generating Classes from a Schema
13.3.1.
Schema File DTD
13.4.
Smart Proxies
14.
Metadata
14.1.
Class-level Extensions
14.2.
Field-level Extensions
14.3.
Extensions Under Application Identity
14.4.
Examples
14.5.
Multi-table Inheritance Mapping
15.
JDBC Configuration
15.1.
Supported Databases
15.2.
Accessing Multiple Databases
15.3.
Connection Management
15.4.
Large Result Sets
15.5.
Schema Manipulation
15.6.
Persistent Types List
16.
Standard Features
16.1.
Manipulating Datastore Identity Objects
16.2.
ExtentImpl
16.3.
PersistenceManager Extension
16.4.
Custom Proxies
16.5.
Access to SQL Connections
17.
Enterprise Features
17.1.
EEPersistenceManager object listeners
17.2.
EEPersistenceManager transaction listeners
17.3.
Datastore Cache
17.3.1.
Overview of Kodo JDO Datastore Caching
17.3.2.
Kodo JDO Cache Usage
17.3.3.
Cache Extension
17.3.4.
Important notes about the DataCache
17.3.5.
Known issues and limitations
17.4.
Query Extensions
17.4.1.
Using extensions in queries
17.4.2.
Included Kodo Extensions
17.4.3.
Writing custom extensions
17.4.4.
Configuring Extensions
18.
Third Party Integration Features
18.1.
Overview of Third Party Integration features in Kodo
18.2.
Apache Ant
18.2.1.
Common Ant Configuration Options
18.2.2.
JDOEnhancer Ant Task
18.2.3.
SchemaTool Ant Task
18.3.
XDoclet
18.4.
Borland JBuilder
18.4.1.
Installing Kodo into JBuilder
18.4.2.
Kodo Configuration from JBuilder
18.4.3.
Creating and building JDO projects in JBuilder
18.4.4.
Editing JDO Metadata from JBuilder
18.4.5.
Running the SchemaTool from JBuilder
18.4.6.
JBuilder Project Sample
19.
Enterprise Integration
19.1.
Overview of Enterprise Integration features in Kodo
19.2.
Using Kodo JDO via the Java Connector Architecture
19.2.1.
Overview of the JCA
19.2.2.
Deploying on JBoss 3.0
20.
Kodo JDO Implementation Notes
20.1.
PersistenceCapable.jdoFlags field and fields in the Default Fetch Group
IV.
Kodo JDO Tutorial
0.
Introduction to the Kodo JDO Tutorial
0.1.
Tutorial Requirements
10.
The Pet Shop
10.1.
Included Files
10.2.
Important Utilities
11.
Getting Started
12.
Inventory Maintenance
13.
Inventory Growth
14.
Behavioral Analysis
15.
Extra Features
A.
JDO Resources
B.
Optional JDO Features
C.
SQL Types
D.
Release Notes
E.
Known Bugs and Limitations
F.
Supported Databases
F.1.
Example properties for Pointbase JDBC driver (Pointbase)
F.2.
Example properties for InstantDB JDBC driver (InstantDB)
F.3.
Example properties for Cloudscape JDBC driver (Cloudscape)
F.4.
Example properties for DB2 JDBC driver (DB2)
F.5.
Example properties for Oracle JDBC driver (Oracle)
F.6.
Example properties for PostgreSQL Native Driver (PostgreSQL)
F.7.
Example properties for SQLServer (Microsoft SQL Server)
F.8.
Example properties for jConnect (Sybase Adaptive Server Enterprise)
F.9.
Example properties for Hypersonic (Hypersonic Database Engine)
F.10.
Example properties for MM MySQL Driver (MySQL)