0 Replies Latest reply on Aug 11, 2005 2:07 AM by Robin Young

    Miconfiguration?

    Robin Young Newbie

      I'm running 4.0.3RC1 with EJB3Beta and MySQL. My persitance.xml files have the second_level cahce turned on. I'm getting a couple of these near the start of the log

      WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Prepare cal
      led on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure.


      How do I remove this warning? I'm guessing its a misconfiguration.

      I also occassionally get the following in the server log.

      ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

      How do I set the unsaved-value mapping using annotations?