I'm having an issue trying to use a class I have setup to connect/query a DB from a Runnable class. If I call the DB query methods from "main" all works as expected. If I try to access it from a thread, NetBeans says I'm using incompatible types for the Driver (I don't seem to get this from a non-Runnable class.) I'm wondering if the DB query class has implement Runnable (or some other thread interface or abstract class) too.
Basically, I want my app to run as a daemon. I need it to loop, rereading the configuration DB table for any updates at a set interval. Then, start other thread(s) to do the actual work (these sub-threads will also need to access the DB.)
I've been playing around w/Java programming for a while, but I fit into the novice category at this point.