The JDO instance lifecycle has been explained in this chapter to give an in-depth understanding of the dynamic aspects of persistent and transactional instances. This chapter has provided information about how and when to use state interrogation functions as well as callback methods . JDO optional states like persistent non-transactional and transient transactional were introduced, and a commonly usable class to explore and trace JDO states has been developed. With the understanding of the JDO object lifecycle, it should be possible to drill into more complex problems and design JDO applications. For a complete table of state transitions, refer to Appendix A. |