facebook

int value 1 interpretation in Hibernate query

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #243144 Reply

    Hi All,

    We are using Eclipse3.1.0 and MyEclipse4.0.0 . We have strange issue while interpreting interger vlaue 1.

    We write a Hibernate query like below

    select count(*) from CrashLog as CL where CL.xingId= 1 Where CL.xingId is int attribute. It is not at all considering value 1. If i put it is in ‘1’ query works with 0 records.Actually in the Database there are records for matching value 1 and not ‘1’.

    There is some issue in eclipse/myeclipse . Please how to resolve it and goahead .

    Really appriciate your suggestions and help.

    Regards
    Sreeni.

    #243202 Reply

    Riyad Kalla
    Member

    Sreeni,
    This is not a ME issue, this is a straight Hibernate query issue. I would encourage you to repost your question to the Hibernate forums.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: int value 1 interpretation in Hibernate query

You must be logged in to post in the forum log in