pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Ryoji Sawa <Ryoji.Sawa@Sun.COM>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [Fwd: Q: database schema from JDBC driver and netbeans.]
Date: Thu, 5 Aug 2004 09:22:20 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0408050919360.19085@leary.csoft.net> (raw)
In-Reply-To: <4112052D.B3192531@Sun.COM>
References: <4112052D.B3192531@Sun.COM>


>  Hi,
> 
>  I'm using JDBC driver 'postgres74.214.jdbc3.jar' with Sun Java Studio
> Enterprise 6 (based on netbeans 3.42).
>  I'm struggling to create a database schema from a postgres
> table. I can create a database schema from it, but it does not
> have its primary key.
>  If anyone know this issue or has any solution, please kindly share 
> with me. I attached the database schema created by netbeans.
> 
> The dump data is here. The table 'postalcode' has a primary key.
> However, I could not create a database schema with primary key.
> 

It is not clear what Java/JDBC has to do with your question.  You've shown 
part of pg_dump output said something about netbeans.  Are you having 
problems importing your dump?  Are you trying to create constraints with 
JDBC?  Are you trying to view constraints with DatabaseMetaData?  I have 
no idea what you are asking.

Kris Jurka



view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0408050919360.19085@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0408050919360.19085@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0408050919360.19085@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, Ryoji.Sawa@Sun.COM
  Subject: Re: [Fwd: Q: database schema from JDBC driver and netbeans.]
  In-Reply-To: <Pine.BSO.4.56.0408050919360.19085@leary.csoft.net>
  References: <4112052D.B3192531@Sun.COM> <Pine.BSO.4.56.0408050919360.19085@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox