facebook

Open HQL Editor

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #316911 Reply

    Hi, I am using MyEclipse 8.6. I trying to open the HQL Editor by “right clicking” over the proyect -> MyEclipse -> “Open HQL Editor”. The proyect has the MyEclipse “Hibernate Capabilities”.

    When I execute an HQL statement, the “Hibernate Query Result” tab shown the results of the query without invoking the toString method of the class. So I saw something like this:

    HQL: “from Customer”

    Result TAB:
    test.Customer@234f423
    test.Customer@31ed424
    test.Customer@2ab42da
    test.Customer@2111s64

    Of course, Customer.java has overwrited the toString method

    Any one can help me?

    Thanks !

    #317063 Reply

    support-swapna
    Moderator

    pablosz,

    Sorry for the delayed response.

    Can you answer some more questions ?

    1) What exact statement are you executing in the HQL editor ?

    2) Can you list out steps in detail from project creation to executing the statement in the HQL editor for me to be able to replicate it at my end?

    3) Do you see any specific errors of interest logged in the .log file which is located at <workspace dir>/.metadata/.log ? If yes then paste them here for me.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Open HQL Editor

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