JPA/DCN - working for INSERT; trouble with UPDATE [message #1028088] |
Wed, 27 March 2013 16:27  |
Eclipse User |
|
|
|
I have the JPA/DCN set up and working in my application. Any time there is a change in the Oracle 11g DB, my application receives a notification and fires a property change event, sending the table name in the "new value" argument.
When I attempt to re-read the values from the table upon receiving the property change notification, I always get a new record if there was an INSERT performed however I do NOT get an updated record if there was an UPDATE performed.
S, I receive the change notification from the DB but it seems like the cache isn't invalidated for the update like it is for the insert.
Do I have to do something special to make that work? It seems like it works in the JPA/DCN example: http://wiki.eclipse.org/EclipseLink/Examples/JPA/DCN
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05865 seconds