Add support to generate preconditions and support a sequence value in Preparement Statement

When I create a precondition in Java and I generate the xml, the precondition is not generated in the xml, because there is no "preconditions field '.
When I try to insert a value to clob type and using the value of a sequence for the id field, raises Exception.