Added check for empty schema before switching dbSupportUserObjects back to originalSchema. Should now properly handle setups where the datasource url does not have a schema defined but instead .setSchema() was used.
fix to make code java 1.5 compatible
Merge pull request #609 from bigslack/issue-598-fix

Issue 598 fix