Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Embedding SQLBuilder Component
Embedding SQLBuilder Component [message #659889] Tue, 15 March 2011 22:07 Go to next message
Hani Chalouati is currently offline Hani Chalouati
Messages: 1
Registered: March 2011
Junior Member
Hi,

I'm a student and I want to embed the SQLQuery Builder component in a Dialog within a plugin I've developed. I've found this article: http://wiki.eclipse.org/SQL_Query_Builder_Component_API but it doesn't help so much since there is other details I need to know.

I've also tested the example in the CVS Repository but never succeeded to integrate it.

What I need to do is to provide a JDBC connection Profile( in a futur perspective, I will need to use JPA and JPQL), Open the SQLBuilder and after designing the query get a String containing the query.

Can I have some help !
Best regards,
Hani
Re: Embedding SQLBuilder Component [message #662024 is a reply to message #659889] Mon, 28 March 2011 22:36 Go to previous message
Brian Payton is currently offline Brian Payton
Messages: 152
Registered: July 2009
Senior Member
Since you have already looked at SQL Query Builder doc, the only thing I
can suggest is that you look at and adapt the code where the SQL Query
Builder is integrated with the SQL Editor. Take a look at the "run"
method in the DMLDialogSelectionSQLAction class in the
org.eclipse.datatools.sqltools.sqleditor plugin.

On 3/15/2011 3:07 PM, Hani Chalouati wrote:
> Hi,
>
> I'm a student and I want to embed the SQLQuery Builder component in a
> Dialog within a plugin I've developed. I've found this article:
> http://wiki.eclipse.org/SQL_Query_Builder_Component_API but it doesn't
> help so much since there is other details I need to know.
>
> I've also tested the example in the CVS Repository but never succeeded
> to integrate it.
>
> What I need to do is to provide a JDBC connection Profile( in a futur
> perspective, I will need to use JPA and JPQL), Open the SQLBuilder and
> after designing the query get a String containing the query.
>
> Can I have some help !
> Best regards,
> Hani
Previous Topic:SQL Editor -Update Connection Profile programmatic way
Next Topic:Various issues
Goto Forum:
  


Current Time: Tue Sep 30 12:03:47 GMT 2014

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

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