Search code examples
javaplayframeworkslick

play framework using slick with java


I want to start a new play framework project, and I want to use a database mapper. For Scala there is slick.

Can I use Slick with java as well? Or is there a nice pendant for java?


Solution

  • The straightforward answer is no. You may be using it in Scala (eg. write DAO layer in Scala) and then use that in your Java but honestly it may be too much of a hustle.

    There is no straightforword alternative - you would need to use Hibernate or Ebean.