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 9209571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:52:29+00:00 2026-06-18T00:52:29+00:00

my sql Table and Hibernae Pojo class same as Message: –> column toList,fromList,deleteList .

  • 0

my sql Table and Hibernae Pojo class same as Message:–> column toList,fromList,deleteList.

i’m preparing Query:only in toList and fromList not in deleteList;

Query:select mb from Message mb where mb.toList LIKE :searchKey OR mb.fromList LIKE :searchKey

and How to Write NOT in DeleteList condition.

  • 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-18T00:52:31+00:00Added an answer on June 18, 2026 at 12:52 am

    See hibernate expression to all operands available in HQL.

    In your case according to:

    Query: only in toList and fromList not in deleteList;
    

    this should works properly:

    select mb from Message mb 
    where mb.toList LIKE :searchKey 
    AND mb.fromList LIKE :searchKey
    AND NOT mb.deleteList LIKE :searchKey
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My sql table is something like (message,created) I want to select those rows which
I've a sql table in which one of the column 'Codes' consists of multiple
my pojo looks like this: @Entity @Table(name = USERS) public class User { When
I've got the following named query in Hibernate: <sql-query name=CreateLogTable> CREATE TABLE IF NOT
I'm reading data from a table( from a MySQL Database) with Hibernate SQL Query.
I am getting java.sql.SQLException: The column ID in table METAL_HAREKET_IPTAL does not allow null
My SQL table has 2 fields that impact my problem: Priority as real, and
I have a SQL table with periodic measurements. I'd like to be able to
I have an sql table containing the gps coordinates of a device, updated every
I have a SQL table in which some columns, when viewed in SQL Server

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.