3 Replies Latest reply on Jul 31, 2002 7:10 PM by Dain Sundstrom

    CMP upate tables error

    Diego Newbie

      when I update a table I obtain this error:

      "Store command NOT executed. Entity is not dirty: pk=[.2.]"

      How can put the Entity dirty.

      Thanks

        • 1. Re: CMP upate tables error
          Dain Sundstrom Master

          What version of jboss are you using?

          What do you mean by "when I update a table"?

          • 2. Re: CMP upate tables error
            Diego Newbie

            Sorry, I am using Jboss 3.0.0

            When I say update a table I want to say that when I modify a field from an EJB the change is not made in the database (The bean is not passivated).

            I am using the sample template that come with jboss 3 (I dowloaded it from SourceForge).

            If I print the value of the attribute in the EJB after calling setXXX() it is OK but when i call to the getXXX() method later, the value of the attribute is the old value.

            I changed the log file to display trace messages and I found in the logs
            "TRACE org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.EntityType] Store command NOT executed. Entity is not dirty: pk=[.2.]"

            ¿Is it the cause of non-passivating EJBs? ¿Anybody can help with this problem?

            Thanks

            • 3. Re: CMP upate tables error
              Dain Sundstrom Master

              I've never seen that before, can you post a bug report at source forge?