revised jdbc stuff