Rohini Palaniswamy created OOZIE-2095:
-----------------------------------------

             Summary: Convert JPAExecutor classes to QueryExecutor
                 Key: OOZIE-2095
                 URL: https://issues.apache.org/jira/browse/OOZIE-2095
             Project: Oozie
          Issue Type: Sub-task
            Reporter: Rohini Palaniswamy


Need to convert JPAExecutor classes to QueryExecutor.  JPAExecutor classes  are 
inefficient 
     - as a class is instantiated every time to execute a query
     - Uses transaction commits even for reads. 

Some might be difficult to get rid of as we do custom sql construction, but 
most can be converted. For eg: CoordJobsGetPendingJPAExecutor which is only 
called with limit -1. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to