Search code examples
scalaplayframeworkslickslick-3.0

How to overcome the 22 columns limit in Slick 3.2?


I switched from Java/EJB to Scala/Play/Slick, and in the middle of my project I found out that there's a limitation in Slick 3.2 to have more than 22 columns. What is the best workaround? I don't want to use external libraries such as this one where I may not know what to do if they break in production.


Solution

  • Here is perhaps an approach that would solve your problem: https://stackoverflow.com/a/42414478/2239369

    I am yet to find out a situation in which this limit would effectively be of any relevance (unless you use generated code that you cannot change).