3 Replies Latest reply on Feb 14, 2002 5:07 PM by jmschust

    ejbStore never called

    jmschust

      The ejbStore() method of my BMP entity is never getting called by the container. I can call it explicitly but that seems to defeat the purpose of the container.

      Any suggestions?

        • 1. Re: ejbStore never called
          jmschust

          As a side note...

          It seems that maybe it's having something to do with the commit levels or such since the insert doesn't get applied to the database either.

          • 2. Re: ejbStore never called
            davidjencks

            How do you know? Sometimes due to bad config people end up using hypersonic db (DefaultDS) instead of Oracle or whatever they thought they configured.

            Do you have logging in ejbStore and ejbCreate that demonstrates these methods are not getting called?

            • 3. Re: ejbStore never called
              jmschust

              ok, I take it back. You're right. The ejbCreate and ejbStore are being called ( I had to fix a little problem with my isModified). But I'm still having an issue, after the ejbCreate is called, my insert is executed, and then the ejbStore is called but the record does not exist, so the update fails. I'm trying now to figure out why my record doesn't exist after the insert is called.