Tag Archives: slick

Reverse engineering using Slick 3.2 and Scala

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 … Continue reading

Posted in Functional Programming, Reactive, Scala, Slick | Tagged , , , , , , , , , , , , | 2 Comments

SQL made easy and secure with Slick

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 … Continue reading

Posted in database, Scala, Security, Slick, sql, Tutorial | Tagged , , , , , | Leave a comment

Easiest Way To Insert Scala Collection into PostgreSQL using Slick

Few days ago, I had a scenario, in which I had to insert scala collection into postgreSQL using Slick. My postgreSQL table has some columns with data types such as Arrays, hstore  etc.. I tried to do this using slick, … Continue reading

Posted in Scala, sql | Tagged , , , | 4 Comments

Easiest Way To Map Optional Nested Case Class with Slick in Scala

Few days ago, I had a scenario, in which I was supposed to map optional nested case class in slick using Scala. I was trying to do this mapping the way, I have explained below. But I was getting below … Continue reading

Posted in Java, Scala | Tagged , | 2 Comments