Embedding SQLBuilder Component [message #659889] |
Tue, 15 March 2011 18:07  |
Eclipse User |
|
|
|
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 18:36  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.25459 seconds