Akka Projections - Ditch the Message Broker, Go Faster - Read Blog

Typesafe Announces Slick Database Connector

Typesafe Announces Scala Language Integrated Connection Kit

Slick Connector to Enable Modern, Seamless Data Access for Scala

MENLO PARK, CA -- (Marketwire August 8, 2012) Typesafe today announced the Scala Language Integrated Connection Kit (Slick). Slick provides a framework for Scala programmers to easily connect to databases (both relational and NoSQL) and other data sources. It integrates databases into Scala, allowing stored and remote data to be queried and processed in the same way as in-memory data using ordinary Scala classes and collections. This enables full control over when a database access happens and which data is transferred.

 Slick provides a front-end layer that integrates queries transparently using ordinary Scala types. As a result, queries can be processed and validated at compile time, even in user-provided database backends. Using Slick, programmers can directly write database queries in Scala, benefitting from the static checking, compile-time safety and compositionality of Scala. Slick also allows for writing SQL queries and executing them with an API optimized for Scala instead of using JDBC.

Key features of the Slick database connector include:

  • Work with stored data as if they are normal Scala collections.
  • Retain full control over when a database access happens and which data is transferred.
  • Write your database queries in Scala instead of SQL, thus profiting from the static checking, compile-time safety and compositionality of Scala.

Slick, the database connector, will enhance the capabilities of Scala in multiple dimensions including web, parallel scalability across multiple cores, and horizontal scalability across multiple machines,” said Michael Azoff, principal analyst with Ovum, in his May 10 blog post “Typesafe’s roadmap indicates the maturing of Scala.”

Slick features an extensible query compiler that can generate code for different backends. The following database systems are directly supported for type-safe queries (using the query language or Scala code lifted to database queries):  

  • Derby/JavaDB
  • H2
  • Microsoft Access
  • Microsoft SQL Server
  • MySQL
  • PostgreSQL
  • SQLite

“With more modern, efficient database query and access capabilities, Slick delivers a powerful framework for Scala programmers, said Mark Brewer, CEO of Typesafe. “With the introduction of our new database connector, we are making it even easier for developers to build next-generation distributed applications using Scala.”

Online Resources:

About Typesafe

Typesafe provides the most scalable software platform designed for the computing architectures of the future—multicore, parallel and cloud applications. It does this through the Typesafe Stack, a 100% Java compatible software suite that combines the Akka middleware framework, the Play web framework, and the Scala programming language, proven in production with some of the world’s most highly trafficked web properties including Foursquare, LinkedIn and Twitter. The company’s Typesafe Subscription complements the Typesafe Stack with commercial support, maintenance, and operations tools. Typesafe also offers training and consulting services for organizations to ease adoption of Akka, Play, and Scala. Typesafe was co-founded by Martin Odersky, the creator of Scala, and is backed by Greylock Partners.