ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergi Vladykin <sergi.vlady...@gmail.com>
Subject Re: Getting h2 jdbc url from cpp api
Date Thu, 16 Mar 2017 15:35:46 GMT
Hi,

What are you trying to achieve? This URL is not a public API or something
you can use in your app.

Sergi


2017-03-16 17:13 GMT+03:00 mhergul <mhergul43@gmail.com>:

> Hi,
> I'm using Apache Ignite 1.9 C++ api. I want to get h2 jdbc url (like:
> jdbc:h2:mem:b552f121-9fc6-47f0-9a12-eba7693ed180 ) from C++ API. How can
> I do that?
>
> I'm trying to get catalog name (e.g. "b552f121-9fc6-47f0-9a12-eba7693ed180"
> ) with following SQL query:
>
> ignite::cache::query::SqlFieldsQuery query("SELECT CATALOG_NAME FROM INFORMATION_SCHEMA.CATALOGS;");
>
> But, it gives *"Unsupported query: Unexpected Table implementation
> [cls=MetaTable]"* error.
> Thanks
> ------------------------------
> View this message in context: Getting h2 jdbc url from cpp api
> <http://apache-ignite-users.70518.x6.nabble.com/Getting-h2-jdbc-url-from-cpp-api-tp11239.html>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>

Mime
View raw message