JBoss Community

JBPM-2792 allow update with hql/sql

reply from Alejandro Guizar in jBPM Development - View the full discussion

Intuitively I agree with Maciej, although nothing prevents one from  invoking  EnvironmentImpl.getFromCurrent(Session.class).createQuery().executeUpdate()  from a custom or java activity, which makes any protection quite easy to defeat. The update attribute in the hsql/sql activities is enough to prevent unintended updates.

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community