DatabaseWriter
org.sdm.spa.DatabaseWriter

This actor reads a SQL update string from its input and execute the update on the database specified by the databaseURL parameter. FIXME: I am convinced that we should pass the db connection around if we need more than one db actors to connect to the same database. (the alternative is to combine DatabaseReader and DatabaseWriter to one class. but this makes the actor interface a little nasty...

Author(s): Yang Zhao
Version:$Id: DatabaseWriter.java,v 1.3 2005/11/01 20:39:14 ruland Exp $


updateSQL
The input port for the SQL update string.

updateResult
The output port for the update result.



databaseURL
The URL of the database to query from. This parameter contains a StringToken.

refresh
The flag that indicates whether to reconnect to the database between each reading. This is a boolean, and defaults to false.