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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to