jdbc store all data