2 Replies Latest reply on May 13, 2013 6:51 AM by Frank Nimphius-Oracle

    Can not create save point using EL.


      I would like to create a save point in my application to roll back the last commit..I watched the ADF insider video and there he is able to use EL for creating the save point using the following command


      I can see only some getters under controllerContext..I did not see savePointManager.....Did I forget any other settings or imports?..... I tried my level best but I am not able to get this method in my EL edit window .

      What may be the reason...

        • 1. Re: Can not create save point using EL.
          Timo Hahn
          As there are many adf essential videos out and lots of jdev versions we can't help.

          What I can say is that you normally can't use a savepoint to 'rollback' a commit you did before. A commit persists into the db and the savepoint can't roll this back. For this you would have to know the old data and change it back.

          1 person found this helpful
          • 2. Re: Can not create save point using EL.
            Frank Nimphius-Oracle
            Timo is correct in that you don't use save points for undoing commits or rollback. In fact transactional save points are deleted after a commit or rollback

            ControllerContext class --> http://docs.oracle.com/cd/E14571_01/apirefs.1111/e10651/oracle/adf/controller/ControllerContext.html

            In the EL editor you see "savePointManager" as a property, not a method name

            1 person found this helpful