[JBoss JIRA] (TEIIDDES-2812) Add ability to reverse engineer into a Pojo object from a table or view
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2812?page=com.atlassian.jira.plu... ]
Barry LaFond reopened TEIIDDES-2812:
------------------------------------
The 2 translator override properties were not yet applied to the source model.
Re-opening
> 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
> Labels: release_notes, verified_jbdsis-9.0.3
> 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
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2970) Set default MatView Extension Properties for JDG materialization
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2970?page=com.atlassian.jira.plu... ]
Van Halbert updated TEIIDDES-2970:
----------------------------------
Description:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''swap cache names'');
{code}
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''truncate cache'');
{code}
teiid_rel:MATERIALIZED_STAGE_TABLE -
{code}
{jdgsourcemodelname}.{stagingTable}
{code}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
was:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
execute {jdgsourcemodelname}.native(''swap cache names'');
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
execute {jdgsourcemodelname}.native(''truncate cache'');
teiid_rel:MATERIALIZED_STAGE_TABLE -
{jdgsourcemodelname}.{stagingTable}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
> Set default MatView Extension Properties for JDG materialization
> ----------------------------------------------------------------
>
> Key: TEIIDDES-2970
> URL: https://issues.jboss.org/browse/TEIIDDES-2970
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Fix For: 10.0.2
>
>
> When a view is being materialized for JDG, set the following extension properties:
> teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
> {code}
> execute {jdgsourcemodelname}.native(''swap cache names'');
> {code}
> teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
> {code}
> execute {jdgsourcemodelname}.native(''truncate cache'');
> {code}
> teiid_rel:MATERIALIZED_STAGE_TABLE -
> {code}
> {jdgsourcemodelname}.{stagingTable}
> {code}
> where {jdgsourcemodelname} as the new JDG Source Model that is created.
> note: do not add tic's around these, like 'execute......),'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2970) Set default MatView Extension Properties for JDG materialization
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2970?page=com.atlassian.jira.plu... ]
Van Halbert updated TEIIDDES-2970:
----------------------------------
Description:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''swap cache names'');
{code}
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''truncate cache'');
{code}
teiid_rel:MATERIALIZED_STAGE_TABLE -
{code}
{jdgsourcemodelname}.{stagingTable}
{code}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
but do add the double tic's inside the native call
was:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''swap cache names'');
{code}
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
{code}
execute {jdgsourcemodelname}.native(''truncate cache'');
{code}
teiid_rel:MATERIALIZED_STAGE_TABLE -
{code}
{jdgsourcemodelname}.{stagingTable}
{code}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
> Set default MatView Extension Properties for JDG materialization
> ----------------------------------------------------------------
>
> Key: TEIIDDES-2970
> URL: https://issues.jboss.org/browse/TEIIDDES-2970
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Fix For: 10.0.2
>
>
> When a view is being materialized for JDG, set the following extension properties:
> teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
> {code}
> execute {jdgsourcemodelname}.native(''swap cache names'');
> {code}
> teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
> {code}
> execute {jdgsourcemodelname}.native(''truncate cache'');
> {code}
> teiid_rel:MATERIALIZED_STAGE_TABLE -
> {code}
> {jdgsourcemodelname}.{stagingTable}
> {code}
> where {jdgsourcemodelname} as the new JDG Source Model that is created.
> note: do not add tic's around these, like 'execute......),'
> but do add the double tic's inside the native call
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2970) Set default MatView Extension Properties for JDG materialization
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2970?page=com.atlassian.jira.plu... ]
Van Halbert updated TEIIDDES-2970:
----------------------------------
Description:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
execute {jdgsourcemodelname}.native(''swap cache names'');
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
execute {jdgsourcemodelname}.native(''truncate cache'');
teiid_rel:MATERIALIZED_STAGE_TABLE -
{jdgsourcemodelname}.{stagingTable}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
was:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''swap cache names'');
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''truncate cache'');
teiid_rel:MATERIALIZED_STAGE_TABLE - {jdgsourcemodelname}.{stagingTable}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
> Set default MatView Extension Properties for JDG materialization
> ----------------------------------------------------------------
>
> Key: TEIIDDES-2970
> URL: https://issues.jboss.org/browse/TEIIDDES-2970
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Fix For: 10.0.2
>
>
> When a view is being materialized for JDG, set the following extension properties:
> teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT -
> execute {jdgsourcemodelname}.native(''swap cache names'');
> teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT -
> execute {jdgsourcemodelname}.native(''truncate cache'');
> teiid_rel:MATERIALIZED_STAGE_TABLE -
> {jdgsourcemodelname}.{stagingTable}
> where {jdgsourcemodelname} as the new JDG Source Model that is created.
> note: do not add tic's around these, like 'execute......),'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2970) Set default MatView Extension Properties for JDG materialization
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2970?page=com.atlassian.jira.plu... ]
Van Halbert updated TEIIDDES-2970:
----------------------------------
Description:
When a view is being materialized for JDG, set the following extension properties:
teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''swap cache names'');
teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''truncate cache'');
teiid_rel:MATERIALIZED_STAGE_TABLE - {jdgsourcemodelname}.{stagingTable}
where {jdgsourcemodelname} as the new JDG Source Model that is created.
note: do not add tic's around these, like 'execute......),'
was:
When a view is being materialized for JDG, set the following extension properties:
<vhalbert> "teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT" 'execute {jdgsourcemodelname}.native(''swap cache names'');'
<vhalbert> "teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT" 'execute {jdgsourcemodelname}.native(''truncate cache'');',
teiid_rel:MATERIALIZED_STAGE_TABLE" '{jdgsourcemodelname}.{stagingTable}')
where {jdgsourcemodelname} as the new JDG Source Model that is created.
> Set default MatView Extension Properties for JDG materialization
> ----------------------------------------------------------------
>
> Key: TEIIDDES-2970
> URL: https://issues.jboss.org/browse/TEIIDDES-2970
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Fix For: 10.0.2
>
>
> When a view is being materialized for JDG, set the following extension properties:
> teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''swap cache names'');
> teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT - execute {jdgsourcemodelname}.native(''truncate cache'');
> teiid_rel:MATERIALIZED_STAGE_TABLE - {jdgsourcemodelname}.{stagingTable}
> where {jdgsourcemodelname} as the new JDG Source Model that is created.
> note: do not add tic's around these, like 'execute......),'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (TEIIDDES-2960) Synchronized button doesn't work correctly
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2960?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2960.
------------------------------------
Resolution: Done
resolved as part of TEIIDDES-2956: https://github.com/Teiid-Designer/teiid-designer/commit/bad352bcbbb7bc7f9...
> Synchronized button doesn't work correctly
> ------------------------------------------
>
> Key: TEIIDDES-2960
> URL: https://issues.jboss.org/browse/TEIIDDES-2960
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Fedora 24
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: test.mkv
>
>
> When I have VDB and I change something in any model, VDB editor shows that the model is not synchronized. I click on the "Synchronize All" and model looks synchronized. When I close VDB editor and open it again, the model is synchronized. It works but when I change something in the model again and I do previous steps (open VDB editor,synchronize,close VDBeditor and open it again), the model is still not synchronized.
> I noticed that only first time it works properly. So when I change something after that I had already synchronized the vdb, I have to delete VDB and create new because any new changes aren't saved. This is very annoying when I have set some properties and overriding translator in the vdb and I have to set it again.
> I attach the video
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months