Subject | Re: DatabaseMetaData |
---|---|
Author | rrokytskyy |
Post date | 2002-04-20T19:57:52Z |
This seems to be bug in implementation, I will check it. You might
try not providing wildcard at all, should work.
Thanks!
Roman Rokytskyy
try not providing wildcard at all, should work.
Thanks!
Roman Rokytskyy
--- In Firebird-Java@y..., "Massimo Ferrari" <massimo@r...> wrote:
> Hi, I get an error executing this code
>
> DatabaseMetaData dmd = conn.getMetaData();
> ResultSet rs = dmd.getTables(null, null, "%", new String[]
{"TABLE"});
>
> java.sql.SQLException: GDSException:
org.firebirdsql.gds.GDSException:
> Dynamic SQL Error
> SQL error code = -901
> feature is not supported
> at
> org.firebirdsql.jdbc.FBPreparedStatement.<init>
(FBPreparedStatement.java:89)
> at
> org.firebirdsql.jdbc.FBConnection.prepareStatement
(FBConnection.java:178)
> at
> org.firebirdsql.jdbc.FBDatabaseMetaData.getStatement
(FBDatabaseMetaData.java
> :4172)
> at
> org.firebirdsql.jdbc.FBDatabaseMetaData.doQuery
(FBDatabaseMetaData.java:4189
> )
> at
> org.firebirdsql.jdbc.FBDatabaseMetaData.getTables
(FBDatabaseMetaData.java:20
> 50)
>
> Hovewer, I don't think it is firebird that dose not support that
feature,
> since the same code with interclient works.
> Are there any alternatives?
>
> Regards
> Massimo