labs-labs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Gianni (JIRA)" <>
Subject [jira] Commented: (LABS-162) If database-jpa-web is not installed, all saves will fail with no warning
Date Thu, 05 Feb 2009 03:45:59 GMT


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:
>             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:
For additional commands, e-mail:

View raw message