[color=darkred]Hi i am new to
java programming and using oracle in back end and i have table hr_departments which contain 14 column
i have made function in java which retrieves three column dep_code,dep_name, dep_short_name in department class
and in form class in the form i have jtable which dynamically fill the jtable from database i have made update_table function and call in constructor so that when ever the form load it filled the jtable populates automatically from the database values
now issue is this i had 11 records in the database table it loads in the jtable correctly . i empty table values from database and load again it shows my same 11 records in my jtable . i create another database with different name and insert 3 records it populates three records then later i empty that database too it still showing three records and all the values in the jtable i check on database count row it shows zero even i set joption pane to display number to rows it display correct answer but jtable is not updating once it is populated.please tell me what is the issue . Alaso the images i upload
here is my function
update function which calls this method is below
[/color]