You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Jakub Neubauer (JIRA)" <ji...@apache.org> on 2017/09/29 11:15:00 UTC
[jira] [Commented] (METAMODEL-86) Let a query inside an
UpdateCallback reuse existing transaction inside
[ https://issues.apache.org/jira/browse/METAMODEL-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185699#comment-16185699 ]
Jakub Neubauer commented on METAMODEL-86:
-----------------------------------------
Having DB transactions limited only to update/insert is really not very cool. How many real-life programming situations are satisfied with it? Please, consider increasing priority. Thanks.
> Let a query inside an UpdateCallback reuse existing transaction inside
> -----------------------------------------------------------------------
>
> Key: METAMODEL-86
> URL: https://issues.apache.org/jira/browse/METAMODEL-86
> Project: Apache MetaModel
> Issue Type: Improvement
> Affects Versions: 4.2.0-incubating
> Environment: JDK 8 on Windows 7
> Reporter: Dennis Du Krøger
> Priority: Minor
>
> Currently, there is really no easy way to have a query and an update inside the same transaction. If a callback.getDataContext.query/executeQuery could reuse the existing transaction, that would no longer be an issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)