Skip to Main Content

APEX

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!

Vpd - Query cannot be parsed

user645064Jul 2 2008 — edited Aug 25 2010
Hi,

I am building an application over some pre-existing database tables with vpd, for wich I have synonyms in my workspace schema and the appropriates privileges.

I did configure the "Edit Security Attributes" of my application to set the vpd. And it fact, when I run the application, it work well (I created a plsql region that showed a count on one of the tables with vpd).

However, my problem is OUTSIDE the application, when Im trying to define a report region on the same table. I always get the following message
"1 error has occurred
Query cannot be parsed, please check the syntax of your query. (ORA-28113: policy predicate has error) "

Every documentation I found about a policy predicate error is about setting the vpd for an application... but I found no clue for my specific case. Oh, I also tried to create a trigger on the "on logon" of APEX_PUBLIC_USER... it work in sqlplus, but I still get this error in Apex Application Builder.

Any hint would be very appreciated.

Thank you

Alain Lafond
SRIC
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2010
Added on Jul 2 2008
9 comments
1,039 views