Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't read schema 'x'. Schema name can be configured... #18

Open
steffenlaursen opened this issue May 2, 2017 · 0 comments
Open

Can't read schema 'x'. Schema name can be configured... #18

steffenlaursen opened this issue May 2, 2017 · 0 comments

Comments

@steffenlaursen
Copy link

image

Using PostgreSQL. Driver: postgresql-42.0.0.jar. I built by project using SBT "hello" and working my way from there. Also using sbt-eclipse to create Eclipse project definitions (added system properties to eclipse.ini, added the driver's jar file to my system's PATH variable for it to be able to find the PostgreSQL driver). I'm trying to use Eclipse to run my project, but the same happens using SBT from console. I'm quite the noob, but I've tried collecting as much info as possible.
The database is hosted locally and is called tut_sqltyped1, with a schema named public. Doesn't matter if I omit the schema property or not.

image

SBT build:
import Dependencies._

lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "dk.stldev.tut",
scalaVersion := "2.11.8",
version := "0.1.0-SNAPSHOT",
crossScalaVersions := Seq("2.12.2", "2.11.0")
)),
name := "Hello",
libraryDependencies += scalaTest % Test,
libraryDependencies += "fi.reaktor" % "sqltyped_2.11" % "0.4.3"
)

initialize ~= { _ =>
System.setProperty("sqltyped.url", "jdbc:postgresql://localhost:5432/tut_sqltyped1")
System.setProperty("sqltyped.driver", "org.postgresql.Driver")
System.setProperty("sqltyped.username", "postgres")
System.setProperty("sqltyped.password", "todoroot")
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant