Configuring the components
Procedure
- 
            Double-click tFixedFlowInput to open its
                            Basic settings view.
            
               Select Use Inline Content (delimited file) in the Mode area.In the Content field, enter the data to write to the Mysql database, for example:AS2152;Washingto Berry Juice;2013-02-19 11:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 13:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 14:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6 AS2152;Washingto Berry Juice;2013-02-19 12:14:15;3.6Note that the orders listed are just for illustration of how tAssert functions and the number here is less than 20. - 
            Click the Edit schema button to open the
                        schema editor.
            
                - 
            Click the [+] button to add four columns,
                        namely product_id, product_name, date and price, of the
                            String, Date, Float types
                        respectively.
            Click OK to validate the setup and close the editor.
 - 
             Double-click tMysqlOutput to display the
                            Basic settings view.
            
                - In the Host, Port, Database, Username and Password fields, enter the connection details and the authentication credentials.
 - In the Table field, enter the name of the table, for example order.
 - In the Action on table list, select the option Drop table if exists and create.
 - In the Action on data list, select the option Insert.
 - 
            Double-click tAssert to display the
                            Basic settings view.
            
                - In the description field, enter the descriptive information for the purpose of tAssert in this case.
 - 
            In the expression field, enter the
                        expression allowing you to compare the data to a fixed number:
            
((Integer)globalMap.get("tMysqlOutput_1_NB_LINE_INSERTED"))>=20 - 
             Double-click tLogRow to display the
                            Basic settings view.
            
                - In the Mode area, select Table (print values in cells of a table) for a better display.
 
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!