Re: No DataMap found for query exception???

From: Holger Hoffstätte (holge..izards.de)
Date: Tue Aug 10 2004 - 15:57:29 EDT

  • Next message: Mike Kienenberger: "Re: No DataMap found for query exception???"

    >>After a lot of frustrating time, I found that
    >>the comparison of XYZ.class to the "entityClass" was false...
    >>that is, all of my objects were being correctly placed into the
    >>dbEntityCache, but, due to some weirdness in java,
    >>User.class didn't equal User.class. (User.class.getName()
    >>did equal entityClass.getName(), though). So, w/ a different
    >>jvm, things are working.

    Just a note:
    This is very unlikely a bug in the JVM, but rather a misunderstanding. The
    observed behaviour is completely normal and in fact correct when both User
    classes have been loaded by different class loaders.

    -h



    This archive was generated by hypermail 2.0.0 : Tue Aug 10 2004 - 15:57:37 EDT