Skip to main content



      Home
Home » Eclipse Projects » DTP » DerivedTable.queryTable not setted
DerivedTable.queryTable not setted [message #649315] Tue, 18 January 2011 12:33 Go to next message
Eclipse UserFriend
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 #649877 is a reply to message #649315] Thu, 20 January 2011 15:03 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: DerivedTable.queryTable not setted [message #649991 is a reply to message #649877] Fri, 21 January 2011 05:25 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Newbie: Problem with DSE and PostgreSQL 8.4 [SOLVED]
Next Topic:Usage of DTP - Questions
Goto Forum:
  


Current Time: Sat Jul 12 17:04:00 EDT 2025

Powered by FUDForum. Page generated in 0.06895 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top