I am developing a java restful webservice using netbeans and jersey api. when I update data in database the findall method didn't get the latest changes from the database unless I deploy the webservice again. how can I solve this without deploying the webservice again.
Note :
insert
delete
I used this
em.refresh(object o)
and it solved my problem