ph dao - phax/ph-commons GitHub Wiki
Simple library with Data Access Object (DAO) support for reading and writing XML files in a transactional manner, using write ahead logging (WAL).
Highlights:
-
AbstractDAO/IDAO- base DAO interface and lifecycle -
AbstractSimpleDAO- simplified DAO for straightforward XML file storage -
AbstractWALDAO- write-ahead-log DAO for crash-safe persistence -
AbstractMapBasedWALDAO- WAL DAO with map-based in-memory data
Add the following to your pom.xml to use this artifact:
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-dao</artifactId>
<version>x.y.z</version>
</dependency>Note: the Maven groupId changed in v10 from com.helger to com.helger.commons