Scala Slick 3 Relationship to self

Scala icon

This post comes from a question I wrote and answered myself in Stack Overflow about the same topic. I will reorder it here and try to explain the solution I came across. Initial situation First of all I will explain what I had so you can understand the problem. I had the following Categories table:

[…]

Filter Option with Slick 3.0.1

Scala icon

After 15 minutes trying to figure out why Slick wan’t giving me the possibility to filter an Option column, I will write a little post about it. Base camp My problem started because of the schema definition that I had. Notice that in order to tell Slick that it should map bar as Option, I was doing it […]

Can’t connect to database with play framework and Heroku?

Deploying a Play framework application to Heroku is really easy, normally you just set Heroku as a git remote branch and push the your code there. Simple. If your app has a database, you will have to configure it for the different environments, so that you don’t get that awful “Cannot connect to database” message. On Saturday I […]

Javascript doesn’t work in Internet Explorer

Have you ever got a weird bug in which your Javascript doesn’t work in Internet Explorer but do work in other browsers like Google Chrome or Firefox? Then you go to Internet Explorer, open the Developer Tools (F12), refresh the page and then suddenly everything works again? If this is your case, you may have Javascript code that […]

Get all Play Framework’s source files on your ScalaIDE

After testing and building pet projects in my free time with several technologies like MEAN JS (Mongo + Express + Angular + Node), Ruby on Rails and Play Framework I have decided to go serious with the last one, this time combined with Scala. When I am learning a framework or language, I really like […]

Scala at work

Hi there! I have just written my two first classes and my first trait in Scala at work! It may sound a little bit weird, but I thought, hey, why not? So I wanted to celebrate it and share it with us 🙂 This means that Scala isn’t for me a free time thing anymore, […]

JBoss AS 7 Video Review from Pack Publishing and Java Masterclass

Hello everyone! Last week I received just the breeze of fresh air that one needs. Pack Publishing is preparing a video course about JBoss Application Server 7 and they have contacted me to review it. First of all I want to thank Pack Publishing for contacting me and for offering me this opportunity. It comes […]

Is it time for functional programming?

Speaking yesterday with my friend Miguel (@miguelcamba), he told me, “hey, take a look at Erlang, it will be very important in the future!” (more or less, because translating our everyday Spanish expressions to English can be almost impossible) I started to think about Erlang and functional programming, because Miguel is some of those early […]

First impressions about Ruby

Since a few months I started to have interest on the Ruby programming language. As I am an agile enthusiast, I also wanted to give a try to a language that focus itself on coding and not on superfluous keywords or programming conventions, to a web framework (RoR, more of this on later posts) that […]

Enterprise Java Masterclass

In vier Wochen zum Enterprise Java Consultant! In Logica, now part of CGI, haben wir ein neues Trainee-Programm! Willst du mehr darüber erfahren? Meine Kollegen haben viele interessante Themen und ich halte die JBoss Application Server 7 Vorlesung, deswegen werde ich hier eine Postserie anfangen, um mit euch den Inhalt meiner Vorlesung zu teilen. Am […]