The persistence in OpenNaaS is implemented through the following components:

The classes that manage the persistence (e.g. ResourceDescriptorRepository) extend of GenericOSGiJpaRepository and execute the methods declared in the interface GenericRepository.

The persisted entities must be annotated.