Announcement Announcement Module
No announcement yet.
Announcement : Tutorial for using Spring with JPOX JDO Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Announcement : Tutorial for using Spring with JPOX JDO

    Spring provides support for various forms of data persistence. Java Data Objects (JDO) is approaching an important milestone with the JDO 2.0 specification currently under review, adding numerous features that will make the use of JDO much simpler.

    A tutorial for using Spring with the popular Open-Source JDO implementation Java Persistent Objects JDO (JPOX) has been written, using various JDO 2 features (namely attach/detach and fetch-groups). The Tutorial provides guidance on the design of the data-access layer using JDO and Spring, and also provides an updated version of the Spring sample "Petclinic" using JPOX.

  • #2
    I've now updated the tutorial to use JDO 2 inheritance strategy "no-table" so that the original Petclinic base classes can now be used. In addition it now uses JDO 2 "SingleFieldIdentity" meaning that no primary key classes are needed. As a result the source code is pretty much Petclinic, and so JDO can be used interchangeably with IBatis, JDBC, Hibernate.