db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: DatabaseMetaData.getTables() resultset empty?
Date Mon, 10 Nov 2008 15:58:47 GMT
Hi,

I left the catalog as null:

ResultSet resultSet2 = metaData.getTables(null, "%", "%", types);

but the resultset is still empty.  I did manage to duplicate Dyre's test though.  I'll comment
more in that thread.

Thanks,
- Ole

 

Suavi Ali Demir wrote:
> Plz leave catalog as null.
> Ali
> 
> 
> --- On Sun, 11/9/08, Ole Ersoy <ole.ersoy@gmail.com> wrote:
> 
>> From: Ole Ersoy <ole.ersoy@gmail.com>
>> Subject: Re: DatabaseMetaData.getTables() resultset empty?
>> To: "Derby Discussion" <derby-user@db.apache.org>
>> Date: Sunday, November 9, 2008, 8:29 PM
>> Ali,
>>
>> I had percentage for the tableNamePattern argument, so I
>> assume you mean try it for the other arguments as well:
>>
>> 		String[] types = {"TABLE", "VIEW"};
>> //		ResultSet resultSet2 = metaData.getTables(null, null,
>> "%", types);
>> 		ResultSet resultSet2 = metaData.getTables("%",
>> "%", "%", types);
>> Still no love.
>>
>> Thanks though,
>> - Ole
> 
> 
>       
> 

Mime
View raw message