« Return to Thread: Stuck in CWM

Stuck in CWM

by Matt Casters :: Rate this Message:

Reply to Author | View in Thread

Hi MDR-Folks!
 
I've been looking at a ClosureViolationException for some time now and I just can't seem to get past it.
I'm sure a basic misunderstanding of MDR is at the core of this, because what I'm trying to do is very simple: add a TaggedValue to a ModelElement.
The ModelElement in this case is a Column (from a the Relational package)
 
However, this...

    corePackage.getTaggedElement().add(column, taggedValue);

...fails with a ClosureViolationException.  Going through the specs I found out that this would be because the CWM Core and Relational packages are stored in different extents.
However, I don't see how I could possibly instantiate both CWM packages in the same extent.
 
Any help or pointer on this is greatly appreciated!
 
Kind regards,
 
Matt
____________________________________________
Matt Casters, Chief Data Integration
Pentaho, Open Source Business Intelligence
http://www.pentaho.org  -- mcasters@...
Tel. +32 (0) 486 97 29 37
 

 « Return to Thread: Stuck in CWM

LightInTheBox - Buy quality products at wholesale price!