As far as I know the dbAccessor should not be used in the 
executePreDMLUpdates() and executeDMLUpdates() methods because jpa is on in 
this phase and dbAccessor is updating directly the database using JDBC. JPA 
cache may be corrupted. You can use the entities or a typed query instead for 
updating.
@rlevas  Please correct me if am wrong.



[ Full content available at: https://github.com/apache/ambari/pull/2174 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to