Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    no cache sync fetch after custom update operation

    I have this operation binding to do an update which increments the value of a field in the underlying table. I need to receive the updated value back and was expecting to see the cacheSynch fetch do that for me. I see the UPDATE happen but no cacheSync fetch occurs afterward. Should it? Or do I have to do that manually?
    Code:
    <operationBinding operationType="update" operationId="getNextDeliveryControlNumber">
    	<customSQL>UPDATE IPZONES SET LDLVYCTL = LDLVYCTL+1 WHERE zzon=$criteria.ZZON</customSQL>
    </operationBinding>

    #2
    Nevermind. I just read the docs again and it clearly states that I need to add canSyncCache="true" if I want that to happen with customSQL.

    Comment

    Working...
    X