logo       

Re: [PATCH] NPE in meta data getPrimaryKeys(): msg#00145

Subject: Re: [PATCH] NPE in meta data getPrimaryKeys()
Actually, I had a look at the spec more carefully and what i wrote
earlier will not work nor should it

in the jdk 1.4 docs catalog, and schema can be null, but table can't be
null, it has to match exactly, so it is true, either the driver iterates
through all the tables, or the user and since the spec indicates that
the user should, then  I think the driver is correctly implemented

Dave
On Tue, 2002-12-17 at 13:04, Dave Cramer wrote:
> Have you tried getPrimaryKeys(null, "", "%");
> 
> This should give you all the primaryKeys
> 
> Dave
> On Tue, 2002-12-17 at 12:44, Daniel Serodio wrote:
> > On Tue, 2002-12-17 at 15:36, Anders Hermansen wrote:
> > > * Daniel Serodio (daniel@xxxxxxxxxxxxxxxxx) wrote:
> > > > Old Javadoc indeed. I'm using 1.3.1. I can't recall right now, is the
> > > > JDBC in Java 1.3.1 is JDBC2? Maybe the app (reversedb) should try to
> > > > find out if it's talking to JDBC2 or JDBC3, then use table=null or not
> > > > accordingly. Is this viable?
> > > 
> > > At what we have found out here, it should not use table=null in either
> > > case. Right?
> > 
> > Right. Sorry, I meant to say schema=null
> > 
> > > But this "extension" (table=null) must work with some database drivers
> > > since it is in OJB. Maybe it is an "extension" that postgresql driver
> > > should also have?
> > > 
> > > If this "extension" is not available then reversedb must iterate through
> > > every table and do very many getPrimeryKeys, this will probably need a
> > > lot more computer power?
> > 
> > If I understand this correctly, if we were to implement this
> > functionality in the PostgreSQL driver, the driver would have to iterate
> > thru every table, so the only difference is where the iteration is done
> > (reversedb X postgresql driver).
> > 
> > > Anders
> > > 
> > > --
> > > Anders Hermansen
> > > YoYo Mobile as
-- 
Dave Cramer <Dave@xxxxxxxxxxxxxxxxxxxx>


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe