Working jdbc connections and inserts