Menu

No query results, no errors...

Help
Gino M.
2004-02-24
2013-04-09
  • Gino M.

    Gino M. - 2004-02-24

    Bit of a problem using Hibernator..

    All of my mapping files are loaded correctly, and dependencies loaded.  There are no errors neither in the Hibernator log nor in the .metadata/.log file.

    When I execute a query, the "Executing Query"  appears briefly, disappears, and the query is echoed in green text into the Hibernator Log window.  This happens regardless of whether the query is bogus or valid HQL.

    I am using Eclipse 3.0 M6 with the following plugins installed: JFaceDbc, XmlBuddy, Sysdeo Tomcat, EIMP messenger.  Using the Oracle9i thin JDBC driver.

    These mapping files work fine from within our application.  What could be going wrong?

    Thanks for your help!
    -Gino

     
    • gregg

      gregg - 2004-03-08

      I'm having the same problem with this plugin too. Using WSAD 5.1, when I run the query, the results are always blank. The logs do not to point to any type problem.
      I have worked on this problem all last week and still can not get the results to show. If the query is wrong, the log will say so. Good queries, blank results.
      I certainly would like to get this solved because I would like a query tool so that we can develope our queries. Any ideas would help

       
    • Anonymous

      Anonymous - 2004-03-31

      I have the exact same problem, both using WSAD 5.1 and Eclipse 2.1.x (and Hibernator 0.9.6).

      Somebody please help! :-|

       
    • Anonymous

      Anonymous - 2004-04-10

      In my case the same problem occured when I tried to query objects that have Map attributes with lazy loading enabled. Try setting lazy to false if you work with Collection attributes.

      This seems to be a bug and a bug report has already been submitted. That's where I've got this information from.

       
      • Noel E. Lecaros

        Noel E. Lecaros - 2004-12-03

        The cglib-asm.jar that comes packaged with Hibernator does
        not contain the class net.sf.cglib.core.KeyFactory, which is
        being loaded when a query is issued, causing Hibernator to
        throw a NoClassDefFoundError.  You can see this happen if you
        run Hibernator as a runtime workbench application in the plugin
        development environment.  It seems to be  misconfiguration.

        As a workaround, download the full version of cglib that has this class and
        substitute it for cglib-asm.jar.  Then, edit plugin.xml to reflect
        the name of the jar file you substituted, and try again.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.