simple jdbc solution