Skip to main content

Source Tables Made Easy

For our Teiid Designer 7.6 release we introduced a couple of new ways to create new source tables in your relational models.




If you have an existing model that needs a new table, select the model and choose the "New Child > Base Table ..." context action to launch the New Relational Table Wizard dialog. This wizard contains the options necessary to construct a relational table complete with columns, unique keys and foreign key definitions.





Another new way to create tables is to import an XML input file which you can generate using the new RelationalModel.xsd schema.  Launch the Import wizard and select Teiid Designer's "Designer Text File >> Source or View Models" option.  Then choose the "Relational Model (XML Format)" import type.

Select Next> to get to the file selection page. Browse to select your XML file and select a target model location for your new tables.






When finished your new tables will be displayed in the model's package diagram.




Happy Modeling....

Teiid Designer Team

Comments

Popular posts from this blog

Access Teiid from node.js

Are you writing a "node.js" application and would like to access Teiid VDB from it? If "yes", this is currently possible using NPM package "pg" .  Since, Teiid supports the PG transport, you can use this PostgreSQL client for "node.js" for accessing the Teiid. For example if you have VDB called "northwind" deployed on your Teiid server, and it has table called "customers" and you are using default configuration such as user = 'user' password = 'user' host = 127.0.0.1 port = 35432 then you can use following to write simple access program to Teiid var pg = require('pg'); var connectionString = "pg://user:user@localhost:35432/northwind" pg.connect(connectionString, function(err, client) { client.query('SELECT CustomerID, ContactName, ContactTitle FROM Customers', function(err, result) { console.log(result.rows) }); }); If you want ...

Teiid 8.13.3 Released

Teiid 8.13.3 is now  available .  In total 8.13.3 addresses 10 issues since 8.13.2: [ TEIID-4028 ] - adding salesforce-34 resource adapter does not work through the cli [ TEIID-4066 ] - Odata translator ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl [ TEIID-4070 ] - Issues with resource adapters with api modules in wildfly [ TEIID-4089 ] - Teiid JDBC driver does not reset the update count when calling getMoreResults(int) [ TEIID-4093 ] - OData authentication fails with NPE when gss-pattern related properties are included in VDB [ TEIID-4096 ] - AssertionError with independent side of a dependent join that has an ordered limit [ TEIID-3050 ] - allow for more incremental insert with iterator [ TEIID-4075 ] - Netezza translator to support common table expressions [ TEIID-4098 ] - Always preserve columns order in google spreadsheets models [ TEIID-4046 ] - OData - $skip is bee...

Teiid 8.8 Beta1

Teiid 8.8 Beta1 has just been posted to the downloads .  Notable features since alpha1 include: TEIID-2263 More control over MAKE (NOT) DEP hints via syntax that allows for traversing views.  See the reference for more. TEIID-2263 Common Table (WITH) planning improvements such that the usage of a WITH clause in a view or inline view no longer inhibits planning as part of the larger query. There has also been quite a bit of general issues addressed (including several with MongoDB), so this should be a fairly stable pre-release.  We have also seen that the Resteasy patch is now also required for SOAP WS translator/resource adapter operations, so please apply the patch proactively. Thanks again for all the feedback.  Be sure to let us know of any issues as there is still plenty of time to get them addressed before the final release. Thanks, Steve