//Delete any message properties.
pstmt = con.prepareStatement(DELETE_MESSAGE_PROPERTIES);
pstmt.setInt(1, message.getID());
pstmt.execute();
ForumEvent event = new ForumEvent(message);
for (int i = 0; i < listeners.size(); i++) {
((ForumListener) listeners.get(i)).objectDeleted(event);
}