简体   繁体   中英

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 and 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

您没有在会话中重新加载列表,或者数据库事务未(自动)提交。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM