https://www.playframework.com/documentation/2.6.x/api/java/play/db/Database.html 문서에는 있는데.
play.db.Database를 import하려고 하려면 에러가 난다.
import play.db._
libraryDependencies += jdbc 를 추가하면 된다. 기본적으로 추가가 되어 있지 않다..
'scala' 카테고리의 다른 글
[play2] globalsetting (0) | 2017.11.02 |
---|---|
play2에서 apache phoenix 드라이버 사용 이슈. (0) | 2017.10.31 |
[sbt] dependency 추가시 %%(double percent)와 %(percent) 차이점 (0) | 2017.10.30 |
[spark2] groupByKey를 쓰지 않도록 한다 (0) | 2017.08.10 |
[spark2] mapPartitionWithIndex 예제 (0) | 2017.08.10 |