Eclispelink Cache problem [message #1793351] |
Mon, 06 August 2018 08:20 |
Raphaël GILLET Messages: 1 Registered: August 2018 |
Junior Member |
|
|
I got some troubles with apparently eclipse link cache on my UI App running with JSF and Primefaces, here is the thing
I got a select UI element filled from a list, and a 'selectedElement' exists in the bean
With debug mode : when filled, the element are tagged #410, #411, #412
Then I got to another page, I modify one of the object (the 3rd)
I come back to first page, the list'element are tagged #578, #579, #580 and the changes I've made are visible in the debugger watches
Then I change the value of the select, and at the breakpoint of the setter of 'selectedElement' the value that comes be given as parameteter is #412 from first time, so with no changes made on it
It's the only place I got a problem like this in my whole UI, and i don't ever understand how this is possible, I thought @ViewScoped was enough precise for this
So it is kind of "normal" ? How this can be solved ?
SO post https://stackoverflow.com/questions/51706289/how-to-deal-with-cached-instance-in-viewscoped-page a bit more details
[Updated on: Tue, 07 August 2018 07:13] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02760 seconds