Bug 781158 (SOA-3659)

Summary: When sequencing of Teiid Virtual model, the transformation (transform_selectSql) is not being found in the [transform:withSql] table when using jdbc interface
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: jolee
Component: EDSAssignee: jolee
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 GACC: jolee
Target Milestone: ---   
Target Release: One Off Releases   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3659
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-15 21:56:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 781075    
Bug Blocks: 781155    

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