1 Reply Latest reply on Apr 2, 2008 12:50 PM by pmuir

    EntityHome, "save" method request

    oberiko.oberiko.gmail.com

      As a means of conveniance, could I request that the EntityHome class add a simple save method as follows?


      
          public void save(){
      
               if (this.isManaged())
      
                    update();
      
               else
      
                    persist();
      
          }
      
      



      A very small method, but it would help, as I would use this ~80% of time instead of the persist and update methods.


      I'd add a JIRA feature request, but I can't see a means to do so, plus I'm unaware if there are valid reasons why a method like this shouldn't be implemented.