BZ-1039031 - Quartz fails to persist a job detail, data truncation error occurs

(cherry picked from commit aa46474b47e5338d307a62960d455abc979ed930)
BZ-1036761 - It is not possible to restore a ksession on Oracle11gR2 due to RuntimeException: Unable to begin transaction

(cherry picked from commit f67a81b8cf8b7e29c6f3ef39fd5d10498496cbfe)