Andrey, this is pretty nice - thanks! I was hoping it could just "plug and play" out of the box :) Ognen
On Wed, Jun 24, 2015 at 4:56 AM, Andrey Gura <ag...@gridgain.com> wrote: > Ognen, > > 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>", > driver="org.apache.ignite.IgniteJdbcDriver") > > > 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. > > Andrey. > > On Wed, Jun 24, 2015 at 6:09 AM, Ognen Duzlevski < > ognen.duzlev...@gmail.com> > wrote: > > > 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. > www.gridgain.com >