Hello every one i have a little bit problem on java programming expecialy on refreshing jtable. im using jderby and using java entity class from netbeans and using jpacontroller from it. i have sucess on inserting data on database using this syntact
 try {
    Provinsi provinsi = new Provinsi();
    // Insert provinsi data into database:
    provinsi.setProvinsi(textProvinsi.getText());
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("MIRSUMAFRUITPU");
    ProvinsiJpaController provinsiJpaController = new ProvinsiJpaController(emf);
    provinsiJpaController.create(provinsi); 
    }catch(Exception ex){
        JOptionPane.showMessageDialog(this, "Insert Done");
    }
but i have problem the jtable naver refresh and show the jtable value everytime im insert. but if i re run my aps all the data that i have been input is showing. sory for my bad english.`
 
    