Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1543

Need to change fragmented messages that are combined by PreparedQueryImpl and PreparedQueryCacheImpl to complete messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-beta2
    • 2.0.0-beta3
    • kernel
    • None

    Description

      This file contains a number of messages that are fragments
      /openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties

      These fragments are put together into complete messages by PreparedQueryImpl.java and PreparedQueryCacheImpl.java

      This needs to be changed so that each message is a complete message rather than putting it together as fragments as fragments are often hard to translate so that the complete message reads correctly.

      Also, Kevin recommends that this message be TRACE instead of INFO.
      250 TestConv INFO [main] openjpa.Runtime - Query "select a FROM CacheObjectE a where a.str = 'e'" is removed from cache excluded permanentlybecause the query result is not obtained by executing a select statement. This can happen if the query was evaluated in-memory. The result was provided by an instance of org.apache.openjpa.datacache.QueryCacheStoreQuery$CachingResultObjectProvider@26472647. .

      Attachments

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            cathynord Cathy Nordstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: