[ https://issues.apache.org/jira/browse/LABS-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670622#action_12670622 ]
Simone Gianni commented on LABS-162: ------------------------------------ Should be solved by LABS-282 when it will be done. > If database-jpa-web is not installed, all saves will fail with no warning > ------------------------------------------------------------------------- > > Key: LABS-162 > URL: https://issues.apache.org/jira/browse/LABS-162 > Project: Labs > Issue Type: Improvement > Components: Magma > Affects Versions: Current > Reporter: Simone Gianni > Assignee: Simone Gianni > Fix For: Future > > > If in a web project database-jpa-web is not present, everything will work > apparently correct, except that transactions will never be closed by anyone, > so data will not be persisted and instead it will be stored in memory. > So the user will see no error but nothing will be written to the database. > This is unacceptable. > Probably the simplest solution is to merge database-jpa-web directly inside > database-jpa, still making database-jpa not dependant on foundation-website, > using AspectJ loosely typed approach to have a working system both if > foundation-website is present or not. > If foundation-website was not providing so much functionalities, but only > declaring interfaces or basic apis, it would not be a problem to have > database-jpa depend on it (see LABS-152) > Probably inthe future it could be possible to merge the JPA "close the > session" problem together with the handler reset problem in LABS-156 in a > single API that resets a thread (thus committing here, cleaning there etc..). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org For additional commands, e-mail: labs-h...@labs.apache.org