Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5089

Using Teiid Conn. importer in Designer, the cache name is set to "default"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0, 8.12.11.6_4
    • 8.12.11.6_4
    • Infinispan
    • None

      When using the Teiid Connection importer in Designer to reversen engineer the source table from an existing JDG cache. The following is an example of the DDL returned by teiid:

      SET NAMESPACE 'http://www.teiid.org/translator/infinispan/2017' AS teiid_ispn;
      
      CREATE FOREIGN TABLE Person (
      	id integer OPTIONS (ANNOTATION '@Id', SEARCHABLE 'Searchable', NATIVE_TYPE 'int32', "teiid_ispn:TAG" '1'),
      	name string OPTIONS (SEARCHABLE 'Searchable', NATIVE_TYPE 'string', "teiid_ispn:TAG" '2'),
      	salary double OPTIONS (SEARCHABLE 'Searchable', NATIVE_TYPE 'double', "teiid_ispn:TAG" '3'),
      	CONSTRAINT PK_ID PRIMARY KEY(id)
      ) OPTIONS (ANNOTATION '@Indexed', NAMEINSOURCE 'JDGPersonCache.Person', UPDATABLE TRUE, "teiid_ispn:CACHE" 'default');
      

              rhn-engineering-rareddy Ramesh Reddy
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: