Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Connectivity to PostgreSQL?
Connectivity to PostgreSQL? [message #6983] Sun, 15 January 2006 09:18 Go to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
Hi,

Is there a way to connect to a PostgreSQL database? If so, where can I
find any software/docs/howto's/examples ? If not, is there anyone
working at such connectivity?

TIA

Joost


Cheers,

Joost
Re: Connectivity to PostgreSQL? [message #7057 is a reply to message #6983] Wed, 18 January 2006 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jograham.sybase.com

Joost Kraaijeveld wrote:

> Hi,

> Is there a way to connect to a PostgreSQL database? If so, where can I
> find any software/docs/howto's/examples ? If not, is there anyone
> working at such connectivity?

> TIA

> Joost

Joost,

I was able to get a very rudimentary connection to a PostgreSQL database
by creating a driver definition (choose "Apache Derby" then change the
name and values). The following values where specified:

Driver File: <point at your JDBC driver for PostgreSQL>
Driver Class: org.postgresql.Driver
Datbase Name: postgres
Connection URL: jdbc:postgresql:postgres
User ID: postgres
Password: <your password>

Upon connection, I was able to expand down to the "Schemas" level in the
Data Source Explorer. The reason why a full tree is not shown is because
we do not yet have a generic JDBC model and content provider. We are
working on these currently, and hope to have them available in the near
term. Once this is in place, then you should be able to connect to any
JDBC enabled database and get a tree in the Data Source Explorer that
shows essential content based on JDBC. The idea would then be to
specialize this model and content provider for particular databases, to
enable access to specific characteristics and features.

-- John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #7103 is a reply to message #7057] Thu, 19 January 2006 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jograham.sybase.com

Update: We expect to have the generic JDBC functionality available in the
M3 build on 1/20.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.

John Graham wrote:

> Joost Kraaijeveld wrote:

>> Hi,

>> Is there a way to connect to a PostgreSQL database? If so, where can I
>> find any software/docs/howto's/examples ? If not, is there anyone
>> working at such connectivity?

>> TIA

>> Joost

> Joost,

> I was able to get a very rudimentary connection to a PostgreSQL database
> by creating a driver definition (choose "Apache Derby" then change the
> name and values). The following values where specified:

> Driver File: <point at your JDBC driver for PostgreSQL>
> Driver Class: org.postgresql.Driver
> Datbase Name: postgres
> Connection URL: jdbc:postgresql:postgres
> User ID: postgres
> Password: <your password>

> Upon connection, I was able to expand down to the "Schemas" level in the
> Data Source Explorer. The reason why a full tree is not shown is because
> we do not yet have a generic JDBC model and content provider. We are
> working on these currently, and hope to have them available in the near
> term. Once this is in place, then you should be able to connect to any
> JDBC enabled database and get a tree in the Data Source Explorer that
> shows essential content based on JDBC. The idea would then be to
> specialize this model and content provider for particular databases, to
> enable access to specific characteristics and features.

> -- John Graham
> Eclipse Data Tools Platform PMC
> Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #7126 is a reply to message #7103] Thu, 19 January 2006 16:40 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
John Graham wrote:
> Update: We expect to have the generic JDBC functionality available in
> the M3 build on 1/20.
I am looking forward to it.


Cheers,

Joost
Re: Connectivity to PostgreSQL? [message #7148 is a reply to message #7126] Fri, 20 January 2006 22:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jograham.sybase.com

Joost Kraaijeveld wrote:

> John Graham wrote:
>> Update: We expect to have the generic JDBC functionality available in
>> the M3 build on 1/20.
> I am looking forward to it.

Joost,

It's there in M3! :-) If you create a generic JDBC driver definition
using the values mentioned earlier in this thread, then a connection
profile based on that, then I am able to get a full content tree in DSE.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #7262 is a reply to message #7148] Sat, 21 January 2006 15:33 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
Hi John,

John Graham wrote:
> It's there in M3! :-) If you create a generic JDBC driver definition
> using the values mentioned earlier in this thread, then a connection
> profile based on that, then I am able to get a full content tree in DSE.

Yep, I get a tree also. The columns of the tables however do not show
the correct types (it displays "bigint" for "text") . I also get the
same exception as Haris Peco.

Is there a document that descibes clearly what to expect from this and
the final release of the DTP in terms of functionality?

Joost


Cheers,

Joost
Re: Connectivity to PostgreSQL? [message #8091 is a reply to message #7262] Thu, 26 January 2006 15:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jograham.sybase.com

Hi Joost,

> Yep, I get a tree also. The columns of the tables however do not show
> the correct types (it displays "bigint" for "text") . I also get the
> same exception as Haris Peco.

We are investigating why the correct types are not displayed. The
exception noticed by Haris has been fixed, and that code will appear in
the next iteration build this week.

> Is there a document that descibes clearly what to expect from this and
> the final release of the DTP in terms of functionality?

There's a variety of documents on the three DTP project sites (Model Base,
Connectivity, SQL Dev) about plans and designs -- we do not have a
consolidated document for these. For generic JDBC connections we intend to
show a base amount of information that the generic models can deliver
without further database-specific specialization. We hope that this it
useful in itself, and also serves as a base where the community can build
out specializations for particular databases.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Re: Connectivity to PostgreSQL? [message #8155 is a reply to message #7262] Thu, 02 February 2006 15:12 Go to previous message
Eclipse UserFriend
Originally posted by: jograham.sybase.com

Hi Joost,

You might be interested in the following thread on the dtp-dev mailing
list:

http://dev.eclipse.org/mhonarc/lists/dtp-dev/msg00171.html


Regards,
John Graham
Eclipse Data Tools Platform PMC
Staff Software Engineer
Sybase
Re: Connectivity to PostgreSQL? [message #569675 is a reply to message #6983] Wed, 18 January 2006 16:36 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Joost Kraaijeveld wrote:

> Hi,

> Is there a way to connect to a PostgreSQL database? If so, where can I
> find any software/docs/howto's/examples ? If not, is there anyone
> working at such connectivity?

> TIA

> Joost

Joost,

I was able to get a very rudimentary connection to a PostgreSQL database
by creating a driver definition (choose "Apache Derby" then change the
name and values). The following values where specified:

Driver File: <point at your JDBC driver for PostgreSQL>
Driver Class: org.postgresql.Driver
Datbase Name: postgres
Connection URL: jdbc:postgresql:postgres
User ID: postgres
Password: <your password>

Upon connection, I was able to expand down to the "Schemas" level in the
Data Source Explorer. The reason why a full tree is not shown is because
we do not yet have a generic JDBC model and content provider. We are
working on these currently, and hope to have them available in the near
term. Once this is in place, then you should be able to connect to any
JDBC enabled database and get a tree in the Data Source Explorer that
shows essential content based on JDBC. The idea would then be to
specialize this model and content provider for particular databases, to
enable access to specific characteristics and features.

-- John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #569754 is a reply to message #7057] Thu, 19 January 2006 16:31 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Update: We expect to have the generic JDBC functionality available in the
M3 build on 1/20.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.

John Graham wrote:

> Joost Kraaijeveld wrote:

>> Hi,

>> Is there a way to connect to a PostgreSQL database? If so, where can I
>> find any software/docs/howto's/examples ? If not, is there anyone
>> working at such connectivity?

>> TIA

>> Joost

> Joost,

> I was able to get a very rudimentary connection to a PostgreSQL database
> by creating a driver definition (choose "Apache Derby" then change the
> name and values). The following values where specified:

> Driver File: <point at your JDBC driver for PostgreSQL>
> Driver Class: org.postgresql.Driver
> Datbase Name: postgres
> Connection URL: jdbc:postgresql:postgres
> User ID: postgres
> Password: <your password>

> Upon connection, I was able to expand down to the "Schemas" level in the
> Data Source Explorer. The reason why a full tree is not shown is because
> we do not yet have a generic JDBC model and content provider. We are
> working on these currently, and hope to have them available in the near
> term. Once this is in place, then you should be able to connect to any
> JDBC enabled database and get a tree in the Data Source Explorer that
> shows essential content based on JDBC. The idea would then be to
> specialize this model and content provider for particular databases, to
> enable access to specific characteristics and features.

> -- John Graham
> Eclipse Data Tools Platform PMC
> Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #569776 is a reply to message #7103] Thu, 19 January 2006 16:40 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
John Graham wrote:
> Update: We expect to have the generic JDBC functionality available in
> the M3 build on 1/20.
I am looking forward to it.


Cheers,

Joost
Re: Connectivity to PostgreSQL? [message #569813 is a reply to message #7126] Fri, 20 January 2006 22:29 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Joost Kraaijeveld wrote:

> John Graham wrote:
>> Update: We expect to have the generic JDBC functionality available in
>> the M3 build on 1/20.
> I am looking forward to it.

Joost,

It's there in M3! :-) If you create a generic JDBC driver definition
using the values mentioned earlier in this thread, then a connection
profile based on that, then I am able to get a full content tree in DSE.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Sybase, Inc.
Re: Connectivity to PostgreSQL? [message #569989 is a reply to message #7148] Sat, 21 January 2006 15:33 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
Hi John,

John Graham wrote:
> It's there in M3! :-) If you create a generic JDBC driver definition
> using the values mentioned earlier in this thread, then a connection
> profile based on that, then I am able to get a full content tree in DSE.

Yep, I get a tree also. The columns of the tables however do not show
the correct types (it displays "bigint" for "text") . I also get the
same exception as Haris Peco.

Is there a document that descibes clearly what to expect from this and
the final release of the DTP in terms of functionality?

Joost


Cheers,

Joost
Re: Connectivity to PostgreSQL? [message #570385 is a reply to message #7262] Thu, 26 January 2006 15:05 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Hi Joost,

> Yep, I get a tree also. The columns of the tables however do not show
> the correct types (it displays "bigint" for "text") . I also get the
> same exception as Haris Peco.

We are investigating why the correct types are not displayed. The
exception noticed by Haris has been fixed, and that code will appear in
the next iteration build this week.

> Is there a document that descibes clearly what to expect from this and
> the final release of the DTP in terms of functionality?

There's a variety of documents on the three DTP project sites (Model Base,
Connectivity, SQL Dev) about plans and designs -- we do not have a
consolidated document for these. For generic JDBC connections we intend to
show a base amount of information that the generic models can deliver
without further database-specific specialization. We hope that this it
useful in itself, and also serves as a base where the community can build
out specializations for particular databases.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Re: Connectivity to PostgreSQL? [message #570530 is a reply to message #7262] Thu, 02 February 2006 15:12 Go to previous message
John Graham is currently offline John GrahamFriend
Messages: 183
Registered: July 2009
Senior Member
Hi Joost,

You might be interested in the following thread on the dtp-dev mailing
list:

http://dev.eclipse.org/mhonarc/lists/dtp-dev/msg00171.html


Regards,
John Graham
Eclipse Data Tools Platform PMC
Staff Software Engineer
Sybase
Previous Topic:DTP and MySQL
Next Topic:Drag from Database Explorer
Goto Forum:
  


Current Time: Thu Apr 25 17:14:24 GMT 2024

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

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

Back to the top