ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: Specifying schema name with thin JDBC driver
Date Wed, 13 Sep 2017 08:19:13 GMT
Valya,

Schema name can be specified through Connection.setSchema() method. In the
nearest release it would also be possible to specify schema in connection
string. E.g. "jdbc:ignite:thin://myHost/*mySchema*".

On Mon, Sep 11, 2017 at 10:22 PM, Valentin Kulichenko <
valentin.kulichenko@gmail.com> wrote:

> Guys,
>
> Is there a way to specify default schema name when connecting to a cluster
> using thin JDBC driver? This seems to be possible with other versions of
> JDBC driver, but not with thin one. This forces users to prefix each table
> with cache name in all queries, which is not very usable. Do we have any
> plans to improve this?
>
> Looks like this user faced this exact problem:
> https://stackoverflow.com/questions/46158641/apache-
> ignite-jdbc-thin-client-does-not-work-with-existing-cache
>
> -Val
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message