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!

Jdeveloper bug?

TalyaZDec 31 2013 — edited Dec 31 2013

Hello

Im using JDEV 11.2 and I've encountered this:

when I'm trying to put 2 taskflows as 2 regions on a jspx page( and both of them uses same VO with different iterators)

if I'm doing a change at the VO On the second region (such as adding a VC)- only the second one is changed

If I'm doing it in the first one- both of the iterators displays the updated data.

Is this a known bug?

Does anyone knows a way around it?

thanks

Talya

Comments

Greybird-Oracle
There is currently no record count method in the DPL (Direct Persistence Layer) nor in the base JE API.

You can call EntityIndex.map().size() to get a record count. However, this is implemented by iterating over all records using read uncommitted. So this is no faster than if you iterate yourself (as you've already done) but using read uncommitted (Cursor.READ_UNCOMMITTED or LockMode.READ_UNCOMMITTED).

In the next release we are adding a faster count to the base API and the DPL. This will be used automatically by EntityIndex.map().size(). This count, just like the count obtained by iterating with read uncommitted, will not be transactionally correct.

Mark
531207
got that.

thanks for your reply and now i'm expecting for the next release,

thanks again and good luck.

Richie
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 28 2014
Added on Dec 31 2013
2 comments
143 views