db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6403) Doc for export/import in ref man should mention automatic commit after operation.
Date Wed, 06 Nov 2013 21:38:17 GMT

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

Dag H. Wanvik commented on DERBY-6403:
--------------------------------------

Thanks, Kim! Yes, I think it's good to include that extra piece of advice also. The last added
sentence is slightly confusing I think, now that I read it again: "Derby issues a COMMIT or
a ROLLBACK statement after each import and export procedure is run." It sounds as if we throw
the dice... perhaps say "COMMIT if the import/export procure completes successfully, or a
ROLLBACK otherwise"... or some such.

Also, the first sentence is really predicated on the second: it is sound to COMMIT or ROLLBACK
before the export/import since the latter end a transaction. An error in import/export and
ensuing ROLLBACK would throw away any changes performed before the export/import took place,
and vice versa: any unsound changes before the export/import that shouldn't be committed could
be committed automatically.  Perhaps we should elucidate this here also, or point to the other
manual (?)


> Doc for export/import in ref man should mention automatic commit after operation.
> ---------------------------------------------------------------------------------
>
>                 Key: DERBY-6403
>                 URL: https://issues.apache.org/jira/browse/DERBY-6403
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.10.1.1
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>         Attachments: DERBY-6403.diff, DERBY-6403.stat, DERBY-6403.zip
>
>
> In the admin guide (in older releases, e.g 10.7, this section is to be found in the tools
guilde) we can find this sentence in  http://db.apache.org/derby/docs/10.10/adminguide/cadminimport27052.html:
> "Derby issues a COMMIT or a ROLLBACK statement after each import and export procedure
is run."
> However, the documentation for the individual export/import procedures do not mention
is important fact; I believe they should.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message