Giter VIP home page Giter VIP logo

dvdemo's Introduction

JBoss Data Virtualization Simple Muti-Datasource Demo

This demo project deals with a simple scenario of two disparate data sources:

  • US Customers database in MySQL, total # of records 17
  • EU Customers database in Postgres, total # of records 18

The view table Customers.all_customers does a UNION of these two tables and one can notice getting a total of 35 records back when the following query is run

select * from Customers.all_customers

###Prerequsites

  • JBoss Data Virtualization runtime (EAP 6.4 + JDV 6.2 combo) installed and patched (if any)
  • JBoss Developer Studio 8.1.0.GA with Integration Stack and JBoss Data Virtualization Development plugins installed

###Setup

  1. Import the project and open the project in Teiid Designer
  2. Refer to the README.md document in the drivers folder, download and save them in the same folder
  3. Highlight/Select both the drivers, right-click and choose Mark as Deployable.
  4. Right-click on the dvdemo.vdb and choose Modeling โ†’ Execute to push the drivers and setup the datasources on the JDV runtime
  5. You may be prompted for password for both US_Customers and EU_Customers, use dvuser as the password in each case
  6. For any further changes to the models, resynchronize the contents in the dvdemo.vdb and Execute the VDB for testing

Note: Since the project does not contain relevant database connection profiles (those which typically exist in the workspace) that can be reused to preview the individual source tables, it is important to first run the step #4 in the above list to be able to push the JDBC drivers to the running JDV runtime before planning on previewing the source tables.

dvdemo's People

Contributors

vchintal avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.