void function ( ObservableList < String > arg0 ) { String loc0 = "srini_string" + tableName ; set = statement . executeQuery ( loc0 . trim ( ) ) ; while ( set . next ( ) ) arg0 . add ( set . getInt ( SRNO ) + "srini_string" + set . getString ( FNAME ) + "srini_string" + set . getString ( MNAME ) + "srini_string" + set . getString ( LNAME ) ) ; set . close ( ) ; }
this method retrieves all the names from the database and adds them to the observablelist received as a parameter . concode_field_sep String FNAME concode_elem_sep String MNAME concode_elem_sep Statement statement concode_elem_sep String SRNO concode_elem_sep String LNAME concode_elem_sep Connection connection concode_elem_sep ResultSet set concode_elem_sep String tableName concode_field_sep void addName concode_elem_sep void close