开发者

JPA - JSF - Rerendered - Ajax why must i re-start server to see new item was added?

i have problem with load data from Database

i use Primefaces (or other use richfaces) to persist object into database using object - it means when you add object into database object will display on datatable <--- it's use ajax but problem is here, i can see object on datatable but when i go to other page (ex. i add new item into item table a开发者_如何转开发nd go to item list page to view new item) but i can't see new item was added, i must stop and start server again and it display in item list?

What's happen with it?

Anyone have any solution please help me!

Thank you

P/s: my backin bean using Session Scoped


Either you aren't reloading the list in session or the DB transaction isn't (auto)committed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜