subPersistence is an abstract, light-weight yet flexible framework for working with O/R persistence mappers. It provides independence of a specific O/R mapper such as Hibernate or Castor. This decouples the application layer and the persistence layer.