[
https://issues.jboss.org/browse/TEIIDDES-2812?page=com.atlassian.jira.plu...
]
Van Halbert edited comment on TEIIDDES-2812 at 8/24/16 10:13 AM:
-----------------------------------------------------------------
Need a couple additions to this, as these came about after the initial design work was
done.
- When creating materialized table, create a duplicate copy (for staging), but prefixing
the name with "ST_"
- need to create/add a medata extension property to the staging table.
Also, as had been previous discussed, is the creation a connection profile for JDG.
Settings:
- JNDI Name
- cacheTypeMap where the format is:
cacheName:className[;pkFieldName[:cacheKeyJavaType]]
cacheName = name of the primary cache in JDG
className = pojo class name for the object stored in JDG (this would be
class of the pojo created)
pkFieldName = name of the attribute that is identified as the key value to
the object stored in the JDG cache map (key=value)
cacheKeyJavaType = [optional] java type of the pkFieldName when its java
type of the key value is different from its pojo attribute java type
- How to connect to JDG
a. CacheJndiName - find cache using JNDI
b. RemoteServerList - Server list, specify 1 or more host:port[,host:port] to connect
to
c. HotRodClientPropertiesFile - HotRod client properties file
- Being using for materialization
a. StagingCacheName - jdg cache used for staging
b. AliasCacheName - JDG cache used for storing/tracking cache aliasing (can be shared
for all JDG materializations)
was (Author: van.halbert):
Need a couple additions to this, as these came about after the initial design work was
done.
- When creating materialized table, create a duplicate copy (for staging), but prefixing
the name with "ST_"
- need to create/add a medata extension property to the staging table.
Also, as had been previous discussed, is the creation a connection profile for JDG.
Settings:
- JNDI Name
- cacheTypeMap where the format is:
cacheName:className[;pkFieldName[:cacheKeyJavaType]]
cacheName = name of the primary cache in JDG
className = pojo class name for the object stored in JDG
pkFieldName = name of the attribute that is identified as the key value to
the object stored in the JDG cache map (key=value)
cacheKeyJavaType = [optional] java type of the pkFieldName when its java
type of the key value is different from its pojo attribute java type
- How to connect to JDG
a. CacheJndiName - find cache using JNDI
b. RemoteServerList - Server list, specify 1 or more host:port[,host:port] to connect
to
c. HotRodClientPropertiesFile - HotRod client properties file
- Being using for materialization
a. StagingCacheName - jdg cache used for staging
b. AliasCacheName - JDG cache used for storing/tracking cache aliasing (can be shared
for all JDG materializations)
Add ability to reverse engineer into a Pojo object from a table or
view
-----------------------------------------------------------------------
Key: TEIIDDES-2812
URL:
https://issues.jboss.org/browse/TEIIDDES-2812
Project: Teiid Designer
Issue Type: Feature Request
Components: Modeling, Usability
Affects Versions: 9.0.6
Reporter: Van Halbert
Assignee: Barry LaFond
Priority: Blocker
Fix For: 10.0.2
Attachments: Infinispan_Materialization.mxd, jdg-module-generated-files.png,
materialize-action.png, materialize-wizard-page-1.png, materialize-wizard-page-2.png,
materialized-table-property-value.png
The scenario is: select table/view, right mouse click select Create Pojo, present
dialog, need a file chooser to select location to save output.
Label of action: Create Pojo (or something to indicates the process)
Dialog title: Create Pojo from Table [tableName]
Message: This will create a Pojo class, and packaged in a jar, that is meant to be used
when JDG will be used in materialization or accessed as a data source.
Options:
- file chooser option to select folder to save pojo jar
- drop-down: <select option>
Access JDG in Library Mode
Access JDG via Hot Rod Client
- pojo package name (default = org.teiid.pojo)
- pojo jar name (default = pojo.jar)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)