Title_Documentation

Documentation

Contact Us

Visualizzazione Knowledge Base

Persistence Management

Persistence in HyperIoT Framework is handled through JPA and Hibernate. Following the principle of convention over coding, the framework exploits 100% of the potential of these technologies while minimizing the code that has to be written by developers.

The entire mechanism described below is based on the use of annotations.

Entity Validation Precedente

Articoli figli (4)

  • Duplicate Management And Database Unique Keys

    We know that in hibernate the definition of a unique key is done through the @UniqueConstraint annotation. Within this annotation, placed on the class, you can specify the fields that constitute...

  • Persitence Class Hierarchy

    The hierarchy of persistence classes within the HyperIoT Framework is as follows: Persistence Inheritance We start, clearly from the concept of a resource: HyperIoTBaseEntity is nothing but a...

  • Crud Pre/Post Actions

    As mentioned earlier, HyperIoT Framework allows you to be able to define custom logic hooked into the persistence cycle of any entity. With Pre/Posts Crud Actions, it is possible to register a...

  • HyperIoTQuery

    HyperIoT Framework allows some repository methods to be invoked by passing HyperIoTQuery as an argument. This class represents the abstraction (which will be exploited more and more within the...