Customer Portal

DBOutputTable error

Comments 3

  • Avatar
    Lukas Cholasta
    0
    Comment actions Permalink
    Hi Loris89,

    This is actually not an error it's just a warning and as such won't cause the graph failure. However, the graph (or the component) cannot inform you whether the fields in the DBOutputTable are compatible with the fields in the database and that may cause an error (if they don't match). This warning is there because the driver cannot provide this compatibility check and is more or less useless (the information itself). There is already a ticket in our system and this warning will be probably removed in some of our future releases.

    So if the component is set correctly, then the records are successfully written into the database as you can see when you check the database via some external tool.

    The reason why you are getting some invalid values from the DBExecute is that it is not designed for input and select statements. For these operations you should always use DBInputTable and DBOutputTable. It is quite hard to set the DBExecute to read/write information from/to a database. Therefore we have three basic database components. So if you want to load the records from the database, please use the DBInputTable.

    Best regards,
  • Avatar
    loris89
    0
    Comment actions Permalink
    Thank you! So, which is the purpose of the DBExecute component?
  • Avatar
    Lukas Cholasta
    0
    Comment actions Permalink
    The DBExecute is being used basically for every other operation besides select (DBInputTable), insert, update and delete (DBOutputTable). For example create table, manual begin and commit/rollback transaction, select and insert inside a database (not for (un)loading data from/to DB), etc.

    Best regards,

Please sign in to leave a comment.