Hi Brendan, this is great! I agree with Carsten's feedback in the ticket that we should stick in the naming and in the code (RepositoryException e.g.) to the resource persistence layer. Also, i would find interesting to have an option to defer the commit to an upper layer, in case you have many "persist" operations in a row, this would be suboptimal. Something like an autosave flag.
Le lun. 3 juin 2019 à 12:12, Brendan Robert <[email protected]> a écrit : > I have submitted a new module for consideration which adds a new > persistence service. This service allows saving a java bean back to the > JCR. This allows sling models to be 2-way model beans, useful for all > kinds of business logic automation and integration scenarios. > > For more information and the donated code including unit test coverage, > see the jira issue SLING-8450. > > https://issues.apache.org/jira/browse/SLING-8450 > > Thanks for considering this feature! > -Brendan Robert >
