You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2004/04/28 12:47:52 UTC
DO NOT REPLY [Bug 28651] New: -
removeRevisionDescriptors not overwritten in PostgresRDBMSAdapater
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28651>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28651
removeRevisionDescriptors not overwritten in PostgresRDBMSAdapater
Summary: removeRevisionDescriptors not overwritten in
PostgresRDBMSAdapater
Product: Slide
Version: 2.0
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Stores
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: oliver.archner@bitoek.uni-bayreuth.de
public void removeRevisionDescriptors(Connection connection, Uri uri) throws
ServiceAccessException {
PreparedStatement statement = null;
try {
statement =
connection.prepareStatement(
"delete from VERSION_PREDS where VERSION_PREDS.VERSION_ID =
VERSION_HISTORY.VERSION_ID and VERSION_HISTORY.URI_ID = URI.URI_ID and
URI.URI_STRING = ?");
statement.setString(1, uri.toString());
statement.executeUpdate();
} catch (SQLException e) {
throw createException(e, uri.toString());
} finally {
close(statement);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org