Bug 781158 (SOA-3659) - When sequencing of Teiid Virtual model, the transformation (transform_selectSql) is not being found in the [transform:withSql] table when using jdbc interface
Summary: When sequencing of Teiid Virtual model, the transformation (transform_selectS...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3659
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: One Off Releases
Assignee: jolee
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On: SOA-3564
Blocks: 781155
TreeView+ depends on / blocked
 
Reported: 2011-12-09 19:37 UTC by jolee
Modified: 2011-12-15 21:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-15 21:56:25 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3659 0 Major Closed When sequencing of Teiid Virtual model, the transformation (transform_selectSql) is not being found in the [transform:wi... 2016-03-03 17:37:22 UTC

Description jolee 2011-12-09 19:37:27 UTC
project_key: SOA

Using the PartsVirtual.xmi model that used in the unit test for the teiid sequencer.

1)  attached is the test.log that prints when ModelSequencerTest.shouldSequencePartsSupplierVirtualRelationalModel test is run.   It shows the transformation thats defined for SupplierInfo

2)  published the model to a SOA server, used the jdbc.war, using jndi name java:ModeShapeDS, issue query: select * from [transform:withSql]         and it returned zero rows.

3)  used the FireFox json plugin to view Supplier info:  http://localhost:8080/modeshape-rest/eds/default/items/sequenced/teiid/models/teiid/PartsVirtual/SupplierInfo
(see attachment)  and its there:

{code}
"transform:selectSql": "SELECT PartSupplier_Oracle.SUPPLIER_PARTS.SUPPLIER_ID, PartSupplier_Oracle.SUPPLIER_PARTS.PART_ID, PartSupplier_Oracle.SUPPLIER_PARTS.QUANTITY, PartSupplier_Oracle.SUPPLIER_PARTS.SHIPPER_ID, PartsSupplier_SQLServer.SUPPLIER.SUPPLIER_NAME, PartsSupplier_SQLServer.SUPPLIER.SUPPLIER_STATUS, PartsSupplier_SQLServer.SUPPLIER.SUPPLIER_CITY, PartsSupplier_SQLServer.SUPPLIER.SUPPLIER_STATE FROM PartSupplier_Oracle.SUPPLIER_PARTS, PartsSupplier_SQLServer.SUPPLIER WHERE PartSupplier_Oracle.SUPPLIER_PARTS.SUPPLIER_ID = PartsSupplier_SQLServer.SUPPLIER.SUPPLIER_ID",
{code}

Not sure why its not coming thru the jdbc interface.

Comment 1 jolee 2011-12-09 19:37:28 UTC
Link: Added: This issue Cloned from SOA-3564


Comment 2 jolee 2011-12-09 19:37:29 UTC
Link: Added: This issue is a dependency of SOA-3656


Comment 4 jolee 2011-12-09 19:38:43 UTC
Link: Added: This issue depends SOA-3564


Comment 5 jolee 2011-12-09 19:38:52 UTC
Link: Removed: This issue Cloned from SOA-3564 


Comment 6 jolee 2011-12-15 21:53:08 UTC
git commit: 5787bb367d23d9cdcc58b3be9865d14ba05f9781 on git://github.com/ModeShape/modeshape.git

Comment 7 jolee 2011-12-15 21:54:35 UTC
git://github.com/ModeShape/modeshape.git#5787bb367d23d9cdcc58b3be9865d14ba05f9781


Note You need to log in before you can comment on or make changes to this bug.