Improve preview provider to work with and without jdbcconfig
Switching cascade visitors