Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8212081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:38:45+00:00 2026-06-07T10:38:45+00:00

Squeryl just isn’t having it today. I’ve got a nasty error that I have

  • 0

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: character varying = bigint
  Hint: No operator matches the given name and argument type(s). You might need
to add explicit type casts.
  Position: 722

Not sure why this error is thrown, except that I am storing a Scala Long in a bigint field and then running queries on it. Am I doing something wrong?

All of this runs on the Squeryl ORM so I’m 90% confident my types are correct. My code compiles, too.

Edit

This is literally the code I’m using to query. Not much…

from(DB.relays)(r =>
where((r.userId === userId))
select (r))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:38:47+00:00Added an answer on June 7, 2026 at 10:38 am

    I am a terrible person.

    Spent nearly two hours on this, but it all came down to a poisonous database evolution.

    I had no idea, and I’m confused on how it got away, but that userId column was actually a text field. I didn’t find the error until I started printing table structure.

    I’m shocked at how it got in there without being detected since I was entering records like crazy with no errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Running a Squeryl call for some data that pulls from multiple locations, but for
I have a web site that collects high scores for a game - the
I've got a Scala def that takes parameters from an HTTP POST and parses
Using the Play! Framework 1.2.4. I've got a nifty trait that checks an API
I have a bit of COM code that uses interface pointers. The original author
I have a VB6 program that uses a n Access backend. The query that
I'm new to squeryl and I have a question in squeryl full updates.. Can
I'm looking for a stripped down (so NOT like squeryl, or anything that creates
My issue is i have QUERY_STRING enabled in my codeigniter setup so that links
sI have an XML file that looks like the following... <a> <b> <version>1.0</version> <c>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.