webWorker-load a database from file.sql... during only initial launch of Phonegap App

I am a reader of html5 apis book by sitepoint.
web workers
These are working in hybrid apps like phonegap?
When I load a database from file.sql… during only initial launch of Phonegap App… some mono or dual core (in presence of internet connection - more load to phone) - first time give error - all other times that this file.sql no needed load is ok(no give error - Android: error load file file:///…www/index.html)… this can handled as well as by web worker? Or …?

well…the load of web sql a database from file.sql… this can handled as well as by web worker?

web worker has access to all js libraries in the parent page that called it… or needed importScripts to import again in worker?