The process of mapping a class can be split into the following areas
At runtime with JDO you start with the creation of a PersistenceManagerFactory (PMF) which provides the connectivity to the datastore. The connection to the datastore is dependent on a set of persistence properties defining the datastore location, URL etc as well as behaviour of the persistence process. With JDO, to persist/retrieve objects you require a PersistenceManager (PM) that provides the interface to persistence and querying of the datastore. You can perform persistence and querying within a transaction if required, or just use it non-transactionally. JDO allows querying of the datastore using a range of query languages. The most utilised is JDOQL providing an object-oriented form of querying, whereas some datastores also permit SQL. If in doubt about how things fit together, please make use of the JDO Tutorial If you just want to get the JDO API javadocs, then you can access those here (Apache JDO) |