Menu

#60 Return code from storeDocument

open
nobody
5
2001-08-23
2001-08-23
No

From Adam Flinton:

Should we return a value from storeDocument? JDBC
returns a SQL code even where there is no error. A
return code might help in a two-phase commit. For
example, wait until storeDocument returns a 0, then
call commit. This is particularly useful when storing
documents on multiple databases, as you wait for a
successful return from storeDocument, then call commit
on all databases.

Discussion


Log in to post a comment.