Slick

Using Microsoft SQL Server with Scala Slick

Reading Time: 3 minutes This blog post shows simple CRUD operations on Microsoft SQL Server using Scala Slick version 3.2.3. You might be thinking what’s really great about it? Duh! But until Scala Slick 3.2.x was released, using commercial databases was within the horizon of an additional closed source package know as Slick Extensions which supported Slick drivers for following databases Oracle IBM DB2 Microsoft SQL Server ¬† Library Continue Reading

Streaming data from PostgreSQL using Akka Streams and Slick in Play Framework

Reading Time: 4 minutes In this blog post I’ll try to explain the process wherein you can stream data directly from PostgreSQL database using Scala Slick (which is Scala’s database access/query library) and Akka Streams (which is an implementation of Reactive Streams specification on top of Akka toolkit) in Play Framework. The process is going to be pretty straightforward in terms of implementation where data is read from one Continue Reading

Getting Started Cockroach with Scala: An Introduction

Reading Time: 2 minutes Today we are going to discuss that how can we use the Scala with the Cockroach DB? As we all know that Cockroach DB is a distributed SQL database built on top of a transactional and consistent key-value store and now we are going to use it with the Scala. But before starting the journey, To those who have caught the train late,ūüėČ this is Continue Reading

Reverse engineering using Slick 3.2 and Scala

Reading Time: < 1 minute Sometime, we have requirements for create classes corresponding to the existing database or Sometimes, in our initial phase of project, we are going to design database and tables first, after that, we are going to create classes for mapping our tables. As we know, Slick is a FRM(Functional Relational Mapping) for scala. Its a kind of ORM but for scala, it supports Functional and Reactive Continue Reading

SQL made easy and secure with Slick

Reading Time: 5 minutes Slick stands for Scala Language-Integrated Connection Kit. It is Functional Relational Mapping (FRM) library for Scala that makes it easy to work with relational databases. Slick can be considered as a replacement of writing SQL queries as Strings with a nicer API for handling connections, fetching results and using a query language, which is integrated more nicely into Scala. You can write your database queries Continue Reading

Best Practices for Using Slick on Production

Reading Time: 5 minutes Slick is most popular library for relational database access in Scala ecosystem. When we are going to use Slick for production , then some questions arise  like where should the mapping tables be defined and how to join with other tables, how to write unit tests. Apart from this there is lack of clarity on the design guidelines. In this blog post , I am Continue Reading

Scala in Business | Knoldus Newsletter – April 2015

Reading Time: < 1 minute Hello Folks We are back again with April 2015, Newsletter. Here is this Scala in Business | Knoldus Newsletter РApril 2015 In this newsletter, you will get the business related news for Scala. How organisation are adopting Scala for their business, how Scala related technologies increasing the performance of application and how Scala is getting popular in the industry So, if you haven’t subscribed to Continue Reading

Play with Reactive Slick: A Simple CRUD application in Play! framework using Slick 3.0

Reading Time: 2 minutes Recently Typesafe¬†released¬†Slick 3.0.0-RC1, the first release candidate for “Reactive Slick”. Reactive Slick has many new features like Support for Reactive Streams API, a new API for composing and executing database actions and many more. Before moving forward, we recommended you to go through the Slick 3.0.0-RC1 Upgrade guide.¬†So, that you can get a hint¬†of major changes in Slick 3.0. In this post, we will see Continue Reading

Play-Slick-PostgreSQL: Reactive Play application with Slick extensions for PostgreSQL

Reading Time: < 1 minute playing-slick-pg Building Reactive Play application with Slick extensions for PostgreSQL This is a classic CRUD application, backed by a PostgreSQL database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, using Slick. Achieving, table pagination and sorting functionality. Embedded JS & CSS libraries with WebJars. Play and Scala-based template engine implementation Integrating with a CSS Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!