Typesafe Slick - Bay Area Scala Enthusiasts - October 2012

preview_player
Показать описание
This talk presents Slick, Typesafe's library for accessing databases, the successor of the popular ScalaQuery library. With Slick, database queries can be expressed using Scala code, which is composable, more convenient than Java APIs like JPA and safer than string-based query languages like SQL.

Slick queries use the familiar for-comprehension construct and a collection-like API. They are type-safe and checked by the Scala compiler. It is possible to call custom stored procedures and even fall back to SQL if required. Slick currently supports MySQL, Microsoft SQL Server, SQLite, PostgreSQL, Derby/JavaDB, H2, HSQLDB/HyperSQL, Microsoft Access. Other databases are coming up.

The Slick team is working on making Slick extensible to custom data sources e.g. NoSQL databases. We are also developing an even easier API and the ability to schedule queries over multiple backends.

The presentation will feature live-demos of user-code and a look behind the scenes.

Sample code is here:

Slides are here:

Visit the event pages at:

Рекомендации по теме