6.1. JDOHelper
JDOHelper is a concrete class that facilitates the bootstrapping of a JDO implementation. It also provides applications with methods to interrogate the state of JDO instances. Although it contains a constructor, all of the methods it defines are static and are commonly executed on the class name directly without first obtaining a JDOHelper instance.
The UML for JDOHelper is shown in Figure 6.1.
Figure 6.1. UML for JDOHelper
6.1.1. State interrogation
The following methods are used to determine the state of an instance:
isDirty(Object pc)
Returns true for persistence-capable instances that have been changed in the current transaction. ...
Get 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.