3 Replies Latest reply on Apr 21, 2006 3:49 PM by Gavin King

    preventing auto-flushing

    caron Newbie

      I am trying to prevent flushing from occurring while navigating through a wizard-type scenario.
      I have tried adding hints to my query:

      @Entity
      @Table (name="property")
      @NamedQuery(name="property.findAll", query="select p from Property p",
       hints={@QueryHint(name="org.hibernate.flushMode", value="NEVER")})
      


      Its still flushing. Has anyone else tried this or does anyoen have any suggestions?