DerivedTable.queryTable not setted [message #649315] |
Tue, 18 January 2011 12:33  |
Eclipse User |
|
|
|
Hi everyone,
we are reusing the SQL EMF model created in DTP, to perform some model
transformations. I noticed that DerivedTable has an attribute called
"queryExpression". However, no one seems to be setting it (nor I could
find calls to DerivedTable.setQueryExpression(QueryExpression)
We are interested in knowing, through this model, which is the query
that defines a View, so I guessed that may be the place to get it.
Can you confirm the implementation does no set this attribute? Is there
any chance to get it into the model?
Cheers,
Víctor.
|
|
|
|
Re: DerivedTable.queryTable not setted [message #649991 is a reply to message #649877] |
Fri, 21 January 2011 05:25  |
Eclipse User |
|
|
|
Thanks Brian, I'll give it a look and see if it can be used for other
connectivity implementations :)
Cheers!
Brian Payton escribió:
> Take a look at the parseView method in class DerbyDdlParser in plugin
> org.eclipse.datatools.connectivity.apache.derby for an example where the
> setQueryExpression is getting called. Also take a look at the
> DerbyCatalogView and DerbyTableLoader classes.
>
> On 1/18/2011 9:33 AM, Víctor Roldán Betancort wrote:
>> Hi everyone,
>>
>> we are reusing the SQL EMF model created in DTP, to perform some model
>> transformations. I noticed that DerivedTable has an attribute called
>> "queryExpression". However, no one seems to be setting it (nor I could
>> find calls to DerivedTable.setQueryExpression(QueryExpression)
>>
>> We are interested in knowing, through this model, which is the query
>> that defines a View, so I guessed that may be the place to get it.
>>
>> Can you confirm the implementation does no set this attribute? Is there
>> any chance to get it into the model?
>>
>> Cheers,
>> Víctor.
|
|
|
Powered by
FUDForum. Page generated in 0.06895 seconds