Questions tagged [squeryl]

Squeryl is a strongly typed, declarative and SQL like DSL for manipulating database objects from within the Scala language.

Squeryl is a strongly typed, declarative and SQL like DSL for manipulating database objects from within the Scala language.

201 questions
0
votes
1 answer

New Play! class compiler error: "update not member..."

Using Play! in Scala with Squeryl ORM. I have no idea what's causing the problem, but when I added a new model to Play! it now won't compile with a very strange error: value update is not a member of models.OauthCred The compiler points specifically…
crockpotveggies
  • 12,682
  • 12
  • 70
  • 140
0
votes
1 answer

Why are JodaTime timestamps not re-initializing in Squeryl?

Using Scala, JodaTime, and Squeryl for ORM. There's an annoying problem where once the application starts up, a Timestamp generated using JodaTime doesn't re-initialize every time it's called. Instead it sets the time once and annoyingly doesn't…
crockpotveggies
  • 12,682
  • 12
  • 70
  • 140
0
votes
1 answer

How can I print the contents of a org.squeryl.dsl.Group?

Using Squeryl ORM and Scala. For the first time I did a JOIN statement that used grouping. Admittedly, I can't figure out how to start iterating through the contents. Here's the JOIN: join(DB.jobs, DB.users.leftOuter, DB.clients.leftOuter,…
crockpotveggies
  • 12,682
  • 12
  • 70
  • 140
0
votes
1 answer

Squeryl ORM fails using Long, bigints, and operators?

Squeryl just isn't having it today. I've got a nasty error that I have so far unsuccessfully worked around. The error thrown by Postgres: Caused by: java.lang.RuntimeException: Exception while executing statement : ERR OR: operator does not exist:…
crockpotveggies
  • 12,682
  • 12
  • 70
  • 140
0
votes
1 answer

when save record it'cause java.util.prefs.BackingStoreException: Raw Records don't save themselves

User.scala import net.liftweb.record.{ MegaProtoUser, MetaMegaProtoUser } import net.liftweb.squerylrecord.RecordTypeMode._ import net.liftweb.common._ import net.liftweb.util.FieldError import net.liftweb.http.S class User extends…
sjbwylbs
  • 151
  • 14
-1
votes
1 answer

Squeryl: how to make case insensitive search for optional properties?

I got stuck with the following problem. I have search method which works fine: override def search(code: Option[String], title: Option[String], employmentStatusCd: Option[Int], employerId: Int) =…
1 2 3
13
14