You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2019/03/11 05:25:00 UTC

[jira] [Comment Edited] (JCRVLT-333) Allow to import a package without committing the session

    [ https://issues.apache.org/jira/browse/JCRVLT-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789165#comment-16789165 ] 

Tobias Bocanegra edited comment on JCRVLT-333 at 3/11/19 5:24 AM:
------------------------------------------------------------------

this should already be possible by setting the autosave threshold to {{Integer.MAX_VALUE}}:
https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AutoSave.java#L143


was (Author: tripod):
this should already be possible by setting the autosave threshold to MAX_INTEGER:
https://github.com/apache/jackrabbit-filevault/blob/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AutoSave.java#L143

> Allow to import a package without committing the session
> --------------------------------------------------------
>
>                 Key: JCRVLT-333
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-333
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Christian Schneider
>            Priority: Major
>
> We would like to be able to combine a commit of a package import with some other repository changes in the same transactional commit.
> To make this work we would like to be able to call Importer.run but make it not commit the session. Instead we would do the commit outside.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)