[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Keir Haywood updated CAUSEWAY-3704:
------------------------------------------
    Fix Version/s:     (was: 2.1.0)

> Support manual management of transactions at the edge through a config prop
> ---------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3704
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3704
>             Project: Causeway
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0
>            Reporter: Daniel Keir Haywood
>            Priority: Major
>
> Some folk might want to use the framework without the built-in persistence 
> mechanisms, and roll their own, eg using JOOQ or (even) event sourcing.  Or 
> they might use JPA but prefer to minimize the length of transactions and set 
> jpa open-in-view to false .
> useful reference on this: 
> [https://www.baeldung.com/spring-open-session-in-view.]
> To support this, suggest we introduce a flag which if set means that the 
> framework no longer auto-manages the transaction at the edge.  Perhaps a 
> metamodel validation should then also enforce that there are no 
> `@DomainObject(nature=ENTITY)` to be found in the domain model. 
> Perhaps the property is called causeway.core.view-models-only? 
> Or alternatively causeway.core.explicit-transaction-management?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to