Author |
Boris Capitanu |
Creation date |
06/06/2011 |
Firing policy |
any |
Package |
org.seasr.meandre.components.tools.db |
DESCRIPTION
This component persists (serializes) the input into a database
INPUTS
Name |
Description |
Example |
|---|---|---|
username |
The user name to authenticate to the DB server TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
password |
The password TYPE: java.lang.String TYPE: org.seasr.datatypes.BasicDataTypes.Strings TYPE: byte[] TYPE: org.seasr.datatypes.BasicDataTypes.Bytes TYPE: java.lang.Object |
|
data1 |
The data to be persisted in the database TYPE: java.lang.Object |
|
OUTPUTS
Name |
Description |
Example |
|---|---|---|
error |
This port is used to output any unhandled errors encountered during the execution of this component |
|
id |
Identifier for the persisted data TYPE: org.seasr.datatypes.BasicDataTypes.Strings |
|
PROPERTIES
Name |
Description |
Default value |
|---|---|---|
port1_name |
The port name of the component's output port that's connected to this component's 'data1' port |
|
_debug_level |
Controls the verbosity of debug messages printed by the component during execution. Possible values are: off, severe, warning, info, config, fine, finer, finest, all Append ',mirror' to any of the values above to mirror that output to the server logs. |
info |
db_driver |
jdbc driver to be loaded, jar must be in classpath |
com.mysql.jdbc.Driver |
db_table |
The table name where to store the persisted data (will be created if it doesn't exist) |
|
_stream_id |
Defines the stream id used to identify a particular stream of data |
|
_ignore_errors |
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component |
false |
db_url |
The url of the database connection. (example: jdbc:mysql://localhost/myDB) |
jdbc:mysql:// |
Add Comment