Fixing bugs 4356 and 3289 on app 'JDBC connector'