Updated: helianto 0.4.3-SNAPSHOT document fields

Helianto relies on Jpa and Spring Data Jpa to create a persistence layer. For some time we’ve been using special classes to optimize reading. We named them with the suffix ReadAdapter. They allowed us to retrieve ids, instead the full instances, when fields are mapped as “ManyToOne”. This has become very convenient, once data are typically being read via Ajax from a JavaScript front end.

The current snapshot will start deprecation of ReadAdapters in favor of the domain classes as earlier. The difference is that domain classes will now include read constructors and transient fields to do the same job. An example is now available in the Document hierarchy.

Please,  update your projects.

The Helianto Team.

Leave a Reply

Your email address will not be published. Required fields are marked *