Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1351

EntityResolver.getEmbeddable(...) always returns null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0 beta 1
    • 3.0RC2
    • Core Library
    • None

    Description

      E.g. in test map:

      assertNotNull(createDataContext().getEntityResolver().getEmbeddable
      ("org.apache.cayenne.testdo.embeddable.Embeddable1"));

      looking at the code of EntityResolver, you can see "embeddableCache" map is never filled (BTW same for "resultsCache", but I don't know what it is)

      Attachments

        Activity

          People

            antidote Andrey Razumovsky
            antidote Andrey Razumovsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: