简体   繁体   中英

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM