ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@gridgain.com>
Subject Re: Slick and Ignite
Date Wed, 24 Jun 2015 09:56:34 GMT

in order to use Slick (or any similar framework) you need just configure
JDBC connection to the Ignite cluster using Ignite JDBC driver. See
documentation - http://apacheignite.readme.io/v1.1/docs/jdbc-driver.

In case of Slick you can configure as follows:

val db = Database.forURL("jdbc:ignite://localhost:11211/<cache_name>",

After it you can execute any read-only SQL queries.

Please note that Ignite JDBC URL contains cache name as database schema
name. If you want execute queries for different caches you should configure
different data sources or use cross cache queries.


On Wed, Jun 24, 2015 at 6:09 AM, Ognen Duzlevski <ognen.duzlevski@gmail.com>

> Can anyone offer any opinion on what it would take to make Slick (
> http://slick.typesafe.com/) work with Ignite? (I just stumbled upon Slick
> and it looks very nice, apologies if this had already been discussed).
> Given that Ignite exposes the caches via SQL - they just seem like a match
> made in heaven.
> Thanks!
> Ognen

Andrey Gura
GridGain Systems, Inc.

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