added a system property to control when query database is loaded
fix for compiler error displayed in Eclipse IDE