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!

Viewcriteria question

mhbbbAug 16 2013 — edited Aug 16 2013

I am using Jdeveloper 11g R (11.1.2.3) & weblogic 10 G

In my pages I use JSF & Facelet

Hi In my application module I have a method that query some view object view criteria like this:

        ViewObjectImpl someVW = getRefPathwayReqNameViewQ1();

        VariableValueManager someVVM = someVW.ensureVariableManager();

        someVVM.clearVariables();

        someVVM.setVariableValue("refoid", refOid);

        ViewCriteria someVC = someVW.getViewCriteria("searchById");

        someVW.applyViewCriteria(someVC);

        someVW.executeQuery();

My question :

is Viewcriteria API  enough clever to clear current viewcriteria if I use this view object and try to query with another viewcriteria?

or every time I need to remove view criteria  using removeApplyviewcriteria?

Thanks

This post has been answered by Timo Hahn on Aug 16 2013
Jump to Answer

Comments

877531
After playing around with it more, it is just a problem with VS 2010 and its tableadapter wizard. If I run it outside the wizard everything works fine.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 13 2013
Added on Aug 16 2013
3 comments
164 views