Hi,
This is a strange problem. It may not be related to Primefaces. If you experienced this please help me out.
The problem: I have an entity when the entity is modified, say the quantity of the item, it creates a new entity with the difference in the quantity and creates a new ID and persist that and the original entity is merged. When I update the datatable I see only the newly created entiy. If I terminate the session and create a new session then the entries in the datatable are correct. This is coming from persistance because when I debug the query clearly returns as stated above. I would expect that when I clear the persistance context it should clear all the persisted entities. Then the query list should return the correct list. In the meantime I check in the database the entries are correctly entered, it means the data is already committed.
Does anybody encouter this problem. If you show me a way out of this, it will be very helpful.
Thanks!!
datatable selectrow
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 51 guests