java - .net webapplication running on azure isn't in sync with data in sql -


i have webapplication , database running on azure. have made java desktop application add , delete rows in db. whenever add or delete in database take half hour update website. want update website this site use ms sql server2013,java8,mvc5 , azure student license example add new continent database:

    public class continentcontroller : controller {     private igraderepository repository;      public continentcontroller(igraderepository graderepository)     {         repository = graderepository;     }      public actionresult listcontinents(int selectedyear)     {        viewbag.schoolyear = selectedyear;        ienumerable<continent> continents = repository.findbyschoolyear(selectedyear).continents;        return view(continents.select(co=>new continentslistviewmodel(co)).tolist());     } 

this code in java

                repositorycontroller.insertcontinent(new continent(txtcontinentname.gettext().trim()));             txtcontinentname.clear(); 

i expect kind of issue azure, because when tested on localdb worked.

this not issue azure. if changes java code committed database , not in memory, visible immediately.

without code can speculate, think you're not committing database java code.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -