Right-click the Mappings node in your project and click New Mapping.The TRG_CUSTOMERS table is added to the model. In ODI expand the Models accordion in the Designer navigator and double-click the Sales Administration node in the ODI_DEMO folder.The following query defines a few columns that match the Customers table in QuickBooks Online:ĬREATE TABLE ODI_DEMO.TRG_CUSTOMERS (BALANCE NUMBER(20,0),DisplayName VARCHAR2(255)) Enter the following query to create a new target table in the sample data warehouse, which is in the ODI_DEMO schema.From a command prompt enter the following: Right-click the node for your database in the Connections pane and click new SQL Worksheet.Īlternatively you can use SQLPlus. Open SQL Developer and connect to your Oracle database. You will load Customers entities into the sample data warehouse included in the ODI Getting Started VM. Click Save Changes when you are finished making changes.įollow the steps below to create an ETL from QuickBooks Online. Click Refresh to pick up any changes to the data. To edit and save QuickBooks Online data, expand the Models accordion in the Designer navigator, right-click a table, and click Data. In the opened model click Reverse Engineer to retrieve the metadata for QuickBooks Online tables.Īfter reverse engineering you can now work with QuickBooks Online data in ODI.Schema (Work Schema): Enter QuickBooksOnline.Schema (Schema): Enter QuickBooksOnline.On the Physical Schema screen, enter the following information:.Jdbc:quickbooksonline:InitiateOAuth=GETANDREFRESH Java -jar įill in the connection properties and copy the connection string to the clipboard. Either double-click the JAR file or execute the jar file from the command-line. See the Getting Started chapter of the help documentation for a guide to using OAuth.įor assistance in constructing the JDBC URL, use the connection string designer built into the QuickBooks Online JDBC Driver. Additionally, if you want to connect to sandbox data, set UseSandbox to true.
To authenticate using OAuth, you can use the embedded OAuthClientId, OAuthClientSecret, and CallbackURL or you can obtain your own by registering an app with Intuit. OAuth requires the authenticating user to log in through the browser. QuickBooks Online uses the OAuth authentication standard. URL: Enter the JDBC URL containing the connection string.
Driver List: Select Oracle JDBC Driver.On the Data Server screen of the resulting dialog, enter the following information:.Logical Schema: Enter QuickBooksOnline.Technology: Select Generic SQL (for ODI Version 12.2+, select Microsoft SQL Server).On the Model screen of the resulting dialog, enter the following information:.In ODI, connect to your repository and click New -> Model and Topology Objects. After reverse engineering, you can query real-time QuickBooks Online data and create mappings based on QuickBooks Online tables.
Reverse engineering the model retrieves metadata about the driver's relational view of QuickBooks Online data. Restart ODI to complete the installation. lic file, located in the installation folder, into the ODI userlib directory:
To install the driver, copy the driver JAR and. After reverse engineering a data model of QuickBooks Online entities, you will create a mapping and select a data loading strategy - since the driver supports SQL-92, this last step can easily be accomplished by selecting the built-in SQL to SQL Loading Knowledge Module. This article walks through a JDBC-based ETL - QuickBooks Online to Oracle. As with an RDBMS, you can use the driver to connect directly to the QuickBooks Online APIs in real time instead of working with flat files. JDBC connectivity enables you to work with QuickBooks Online just as you would any other database in ODI. Through drop-in integration into ETL tools like Oracle Data Integrator (ODI), the CData JDBC Driver for QuickBooks Online connects real-time QuickBooks Online data to your data warehouse, business intelligence, and Big Data technologies. Leverage existing skills by using the JDBC standard to read and write to QuickBooks Online: