Completely unrelated to this change, but the following is more robust and concise. Just as a tip, any expression using a ternary operator with a boolean value in it can be reduced to boolean expression (e.g. jpaContainerManaged != null && parse). Although in this case we can handle bad parameter values without throwing parse errors by doing:

deployPU = "TRUE".equalsIgnoreCase(jpaContainerManaged);