Plain SQL Query return empty List (newbie level)

22 views
Skip to first unread message

Fufuzu

unread,
Aug 4, 2016, 9:58:20 AM8/4/16
to Slick / ScalaQuery
Hi, everyone. (Slick 3.1.1)

I have simpliest code, only for test.

import com.typesafe.slick.driver.ms.SQLServerDriver.api._

object FRMTest extends App {

val db = Database.forURL( driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver", url = "jdbc:sqlserver://**.**.**.***", user = "*****", password = "*******")

val q = sql"select * from [****].dbo.Meta_Types".as[Int]

val r = db.run(q)


}

db.run return only empty List(). Where i'm wrong?
Thanks.
Reply all
Reply to author
Forward
0 new messages