Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[ ADF, JDev12.1.3 ] VO transient attribute calculated by SQL is not updated after commit

FlattitNov 13 2017 — edited Nov 13 2017

Hallo,

I have a MasterTableVO and DetaiTable EO-based VOs.

VOs are linked by association/view link on fields MasterTable.Codice = DetailTable.CodMaster.

I added to DetailTableVO a transient (calculated by) SQL attribute CountAttr that count the children (details) of the master record.

Immagine.png

I tested the VO in the Oracle ADF Model Tester.

I started from this situation in which CountAttr is congruous...

Immagine1.png

I added a record to the DetailTable...

Immagine2.png

And then committed...

Immagine3.png

As you can see CountAttr is not updated.

To make it updated I need to restart model tester or make a rollback...

Immagine4.png

Why the CountAttr attributed is not updated after commit?

Thanks,
Federico

This post has been answered by ILya Cyclone on Nov 13 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2017
Added on Nov 13 2017
1 comment
71 views