5.5. Additional APIs

JDO defines two additional classes that are usable by an application:

  • JDOHelper

  • I18NHelper

5.5.1. JDOHelper Class

This class defines a number of static methods that a persistence-capable class or JDO application can use. Each method simply delegates to other JDO classes, like PersistenceManager and PersistenceManagerFactory, as well as classes defined in the javax.jdo.spi package like PersistenceCapable.

5.5.1.1. Method summary

This class defines methods that can be used as a bootstrap mechanism for creating a PersistenceManagerFactory instance, as well as convenience methods for interacting with persistent objects.

static PersistenceManager getPersistenceManager (Object pc)

This method returns the PersistenceManager instance ...

Get Core Java™ Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.