reST (reStructuredText) Question

Why do I need to make deploy of restful web service to get the latest updates from the database

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 :

works good

Answer Source

I used this

em.refresh(object o)   

and it solved my problem

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download