Questions tagged [slick-pg]

Slick extensions for PostgreSQL, to support a series of pg data types and related operators/functions.

extensions for , to support a series of pg data types and related operators/functions.

Currently supported pg types:

  • ARRAY
  • Date/Time
  • Enum
  • Range
  • Hstore
  • LTree
  • JSON
  • Inet/MacAddr
  • text Search
  • postgis Geometry

Currently supported pg features:

  • inherits
  • composite type (basic)

More info in GitHub: https://github.com/tminglei/slick-pg

19 questions
0
votes
1 answer

Cannot run tests on h2 in-memory database, rather it runs on PostgreSQL

(I have multiple related questions, so I highlight them as bold) I have a play app. play: 2.6.19 scala: 2.12.6 h2: 1.4.197 postgresql: 42.2.5 play-slick/play-slick-evolutions: 3.0.1 slick-pg: 0.16.3 I am adding a test for DAO, and I believe it…
yiksanchan
  • 1,890
  • 1
  • 13
  • 37
0
votes
1 answer

Slick timestamp calculation

I am using the pg-slick extension for postgres. I try to do a calculation in the where clause but i don't get it working. It always says: value - is not a member of java.sql.Timestamp Filter clause: .filter(r => Timestamp.from(Instant.now()) -…
perotom
  • 851
  • 13
  • 33
0
votes
1 answer

Enum in Plain SQL when using Slick 3.1

I'm using Slick 3.1.0 and Slick-pg 0.10.0. I have an enum as: object UserProviders extends Enumeration { type Provider = Value val Google, Facebook = Value } Following the test case, it works fine with the column mapper simply adding the…
DANG Fan
  • 854
  • 11
  • 21
-2
votes
1 answer

SQLTimeOutException with slickpg and playframework

I'm in troubles, I don't know why I can't connect to the database, all was ok. play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[SQLTimeoutException: Timeout after 60001ms of waiting for a connection.]] at…
s709t
  • 3
  • 1
  • 2
1
2