read file update database BLogic

1. read the file, extract the value (correstponds the row in DB table type and value) and stored in a tableRow object

2.resultset the value

 // 1. move to cursor to the insert row of the updateSet
                if (insert) {
                     updateSetRow.moveToInsertRow();
                } else { }

 // 2. ASSIGN VALUES SECTION */
                ResultSet edi = this.getEdiFilm(tableRow.id);
                String name = edi.getString("new_title");    

                edi.updateString("plan_movie_name", plan_movie_name);
             


 // 3. insert the created row the exportSet
                if (insert) {
                    updateSetRow.insertRow();
                  }
                   

你可能感兴趣的:(java,postgres)