facebook

HQL editor with NamingStrategy

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

    Farhad
    Member

    I am using MyEclipse 10.0 with Hibernate 3.3 and JVM 1.6. I have implemented a custom NamingStrategy which as long as I use my SessionFactory there are no problem. Issue is, I can’t use HQL editor since it is using DefaultNamingStrategy and all mappings would fail. Is there a way I can use my SessionFactory or NamingStrategy when using HQL Configuration?

    #324621 Reply

    support-swapna
    Moderator

    farhad ,

    I have escalated it to a dev team member. They will get back to you.
    Sorry for the inconvenience.

    #324687 Reply

    Brian Fernandes
    Moderator

    Farhad,

    Where have you defined your custom NamingStrategy? Is it in referenced in your hibernate.cfg.xml file?

    #325222 Reply

    Farhad
    Member

    No, I am setting it in my SessionFactory and registering it like:
    configuration.setNamingStrategy(namingStrategy);
    Also, it package-info.java is not being read, it seems like custom info’s are not being loaded from HQL but it is working for application.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: HQL editor with NamingStrategy

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