facebook

Problem with HQL Editor in Hibernate Tutorial

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

    IgnatzMouse
    Member

    Folks’es,

    I’m trying to learn Hibernate and came across MyEclipse (what a great tool!).
    I installed MyEclipse Blue 10.6 and followed the “Hibernate Introductory Tutorial”.

    Everything works just fine until I try section 4.1 “Using the HQL Editor”.
    If I enter a “from” statement with one of my tables I get the following error:

    org.hibernate.hql.ast.QuerySyntaxException: counter is not mapped [from counter]

    As far as I can tell mytables are all mapped, as I see the classes/DAOs/hbm.xml for each of them.

    What is missing/am I doing wrong/need to check to get the HQL Editor to work?

    Thanx,
    Thomas

    #335762 Reply

    support-swapna
    Moderator

    Thomas,

    Thank you for trying MyEclipse.

    The Entity names are case sensitive in HQL. Can you please recheck your code for the same ?
    I also suggest you cross post to Hibernate forums for better support about this issue.

    Let us know how it works for you.

    #335763 Reply

    IgnatzMouse
    Member

    great, the upper case did the trick!

    thanks for the quick reply

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem with HQL Editor in Hibernate Tutorial

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