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!

NamedWhereClauseParam

Oracle ITselfSep 29 2011 — edited Oct 1 2011
Dear All

in My Business Component Project, i need to make a method to check if the VO contains NamedWhereClauseParam defined and setted before (defineNamedWhereClauseParam,setNamedWhereClauseParam)?
i tried, getNamedWhereClauseParam ("xxxx"), and getNamedWhereClauseParams() but i am facing below error in case of VO doesn't have Named Where Clause Param. like below

if (getPolicyHistoryVO1().getNamedWhereClauseParam("MYPOLICY") != null) {
getPolicyHistoryVO1().removeNamedWhereClauseParam("MYPOLICY");
getPolicyHistoryVO1().removeNamedWhereClauseParam("MYMEMBER");
}

JBO-25058: Definition MYPOLICY of type Variable is not found in PolicyHistoryVO1.


please advise
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2011
Added on Sep 29 2011
5 comments
450 views