"ORA-01762: vopdrv: view query block not in FROM" while using LOG ERRORS INTO  feature for Update/Delete

Hi
Ours is VPD database in 11GR2. We're using "LOG ERRORS INTO " feature to track list of records violating constraints.
For Inserts it is working as expected but for Updates/Deletes it is throwing mis. ORA- errors. "ORA-01762: vopdrv: view query block not in FROM"
We dint find any clue when searched in net.
Could someone help us here? Is there any limitation with "LOG ERRORS INTO" ?
Below are the steps we're executing
EXEC DBMS_ERRLOG.CREATE_ERROR_LOG(
dml_table_name => 'EMP',
err_log_table_name => 'ERR_EMP'
> DESC EMP
Name                                      Null?    Type
EMPNO                                     NOT NULL NUMBER(4)
ENAME                                              VARCHAR2(10)
SAL                                                NUMBER(7,2)
COMM                                               NUMBER(7,2)
DEPTNO                                             NUMBER(2)
INSERT INTO EMP VALUES('1','Test','@' /* generates Ora */,2,'2); -- ERR_EMP populated
UPDATE EMP set SAL='@'
where EMPNO='1' -- Throwing ORA-01762: vopdrv: view query block not in FROM
Could someone help us?

Hi
Ours is VPD database in 11GR2. We're using "LOG ERRORS INTO " feature to track list of records violating constraints.
For Inserts it is working as expected but for Updates/Deletes it is throwing mis. ORA- errors. "ORA-01762: vopdrv: view query block not in FROM"
We dint find any clue when searched in net.
Could someone help us here? Is there any limitation with "LOG ERRORS INTO" ?
Below are the steps we're executing
EXEC DBMS_ERRLOG.CREATE_ERROR_LOG(
dml_table_name => 'EMP',
err_log_table_name => 'ERR_EMP'
> DESC EMP
Name                                      Null?    Type
EMPNO                                     NOT NULL NUMBER(4)
ENAME                                              VARCHAR2(10)
SAL                                                NUMBER(7,2)
COMM                                               NUMBER(7,2)
DEPTNO                                             NUMBER(2)
INSERT INTO EMP VALUES('1','Test','@' /* generates Ora */,2,'2); -- ERR_EMP populated
UPDATE EMP set SAL='@'
where EMPNO='1' -- Throwing ORA-01762: vopdrv: view query block not in FROM
Could someone help us?

Similar Messages

  • ORA-01762: vopdrv: view query block not in FROM ????

    Hi All
    any one aware of the error.
    ORA-01762: vopdrv: view query block not in FROM
    Please reply back.

    ORA-01762:vopdrv: view query block not in FROM
    Cause:This is an internal error message not normally issued.
    Action:Contact Oracle Support Services.
    Edited by: Karthick_Arp on Sep 23, 2008 11:01 PM

  • I am really pisssed off at two characteristics of Firefox 4: Size and position do not stick, and view menu selections do not stick from one use to the next.

    I am really pissed off at two characteristics of Firefox 4: 1) Toolbar selections don't stick and 2) firefox window position and size settings do not stick from one use to the next.
    The Bookmarks toolbar is the selection that does not stick, and Firefox, even though I set it to the size and position I want every time I use the program, always loads flush left, full top to botton, and about 1/3 of the width of the screen EVERY TIME it loads. These two characteristics are extreme pains in the ass.

    This problem occurs on the Juno webmail site?
    I assume you are doing something different than just correcting the squiggly red underlined words. How are you spell-checking the email: using an add-on or using a feature of the Juno webmail site? If it's an add-on, which one is it?

  • When I sign into iTunes for updates, a secondary username appears and I need to enter a password. I am not familiar with the second user name. Any Suggestions?

    When I sign into iTunes for updates, a secondary username appers and I need to enter a password. I am not familiar with the second username. Any suggestions?

    Are you using iTunes on your iPad or the actual program on a Mac/PC?
    If you are using on your iPad check the ID being used by going to Settings>iTunes & App Store if the Apple ID displayed isn't yours tap it and select Sign Out then sign in with your own Apple ID.
    If you are referring to iTunes on a Mac/PC select the Store Menu and check the Account Name next to the View Account text, if this isn't you select the Sign Out option directly above it then Sign In with the relevant credentials.
    Regards,
    Steve

  • I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords but it does not work for the macbook.

    I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords several times but it does not work for the macbook.

    You will have to provide the correct password to delete the existing account, if you have tried but are not getting the password reset email, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • How do i get iphoto to NOT open automatically when i plug in my devices for updating in iTunes ??

    How do i get iphoto to NOT open automatically when i plug in my devices for updating in iTunes ??

    Just so i understand.  It happens when i connect my Ipad or Iphone, which i want to stop.  I'm cool with it opening when I connect my camera tho.  Can i customize it that way (just to open for my camera, and NOT my i-devices) ?
    thx for the help

  • My old iphone was replaced today, due to faults. Now it will not allow me to use my credit card account for the appstore and itunes?

    My old iphone was replaced today, due to faults. Now it will not allow me to use my credit card account for the appstore and itunes?
    Please don't tell me to retry, or re check my information because it is all correct, it basically says u cannot use thi account due to it being connected to another device... which is my old fault iphone, at the apple store.

    I have never before heard of cards being locked to a single device... but your case has shown me that it happens.
    If I am getting it right you try to log in to your account and it asks for billing information, and when you enter your card details it tells you that the card cannot be used. If that is the case then I'm sorry to say that my only suggestion would be to contact iTunes support directly; the contact form can be found in here: Apple - Support - iTunes Store - Contact Us

  • I updated to ios 7 and now the battery does not stop charging any ideas, or have to wait for update? thanks

    i updated to ios 7 and now the battery does not stop charging any ideas, or have to wait for update? thanks

    To show the battery percentage used go to settings
    from there click general scroll to usage and select
    scroll to bottom of page for battery usage select on.
    This will show the icon battery and the percent numbers on the top right.
    When phone is connected to an outlet sometimes it does not always show complete charge. I do not understand why but it is what it is.
    FYI I sent reply to you not to deggie. You can have your own satisfaction to reply direct.

  • "Given final block not properly padded" when using wrong secretKey

    Hello guys, I browsed the questions in this forum regarding my problem, but somehow couldn't find a solution to this.
    I generated two SecretKey key1 and key2. Now I'm using the Cipher class to encrypt a message to key1. If I try to decrypt it with key1, everything works fine. But if I try key2 I get the "Given final block not properly padded"-message in my exception backtrace instead of just unreadable stuff, which I excepted (using the wrong key). This happens regardless of the symetric algorithm I use.
    Can you help me?
    Thanks,
    Sebastian

    Most symmetric algorithms work on data of a given block-size. If your data isn't a multiple of that size, it's padded. This removes a clue that a cryptanalyst can use to try and break your encryption. At decrypt time, the Cipher expects to see padding-related bits at the end of the stream, so it knows how many pad-bits were stuck on to begin with. When the end of the stream doesn't match the expected padding-protocol, you get the exception noted.
    Now - if you decode with the wrong key, you get junk. The chances of that junk ending with a valid padding-indicator is...small. So you're more likely to see "BadPadding" than a valid (if incorrect) plaintext.
    You could use "NoPadding" on both ends, and do your own manipulation of the bit-stream to make the Cipher happy. Then, you wouldn't get BadPadding exceptions. But you'd have to write some pretty fiddly code on each end.
    Anybody else want to double-check me on this? I'm away from my books at the moment. Floersh? Euxx?
    Good luck,
    Grant

  • Query is not defined Exception while Executing Finders

    Hi,
    We have used Toplink 2.5.1 & weblogic 5.1 for a year. All works great. Recently we are upgrading to Weblogic 7.01 and toplink 903. Inorder to make previous finder methods work, I created a Class DescriptorManager add a lot static methods each for one entitybean. In Mapping Workbench, I did:
    .Select Advanced Properties > After Load from the menu for the bean.
    .Enable the amendment method for the descriptor by specifying the class and name of the static method.
    The code which in the DescriptorManager.java is:
    public static void addDescriptorFinders(Descriptor descriptor)
         * Enumeration findDescriptorByServiceType(BigInteger stypeId)
    ReadAllQuery query1 = new ReadAllQuery();
    query1.setName("findDescriptorsBySrvcTypeId");
    query1.addArgument("lStypeId");
    query1.setReferenceClass(MeDescriptorBean.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    query1.setSelectionCriteria(builder.get("serviceType").equal(builder.getParameter("lStypeId")));
    descriptor.getQueryManager().addQuery("findDescriptorsBySrvcTypeId", query1);
    In Here is MeDescriptorHome:
    public interface MeDescriptorHome extends EJBHome {
         public MeDescriptor findByPrimaryKey(MeDescriptorPK key) throws FinderException,RemoteException;
    public MeDescriptor findByGroupId( BigInteger groupId) throws FinderException, RemoteException;
         public MeDescriptor findOneByQuery(ReadObjectQuery query, Vector args) throws FinderException,RemoteException;
         public Collection findDescriptorsBySrvcTypeId(BigInteger serviceType) throws FinderException,RemoteException;
    I write a test client, which call
    findByPrimaryKey
    findOneByQuery
    findByGroupId
    findDescriptorsBySrvcTypeId
    The first two works.( which are toplink reserved query), the other two do not work. Can someone help me please? Thanks a lot!
    Here is the error message I got:
    Error during finders:
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.]
    server stacktrace is:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.
    at oracle.toplink.exceptions.QueryException.queryNotDefined(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.executeFinder(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.findMany(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.wls.WlsBeanManager.collectionFinder(Unknown Source)
    at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:560)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl.findDescriptorsBySrvcTypeId(MeDescriptorBean_onqudj_HomeImpl.java:157)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException

    You are on the right track for sure. You should make sure that the <ejb-ql> node in you ejb-jar.xml file is empty, and that the arguments for the finder are specified correctly.
    Next, I would make sure that the descriptor is, in fact, being amended. Maybe just throw a debug line into the descriptor amendment method for your MeDescriptorBean and make sure it is being called after you re-start the server.
    JIM
    Hi,
    We have used Toplink 2.5.1 & weblogic 5.1 for a year. All works great. Recently we are upgrading to Weblogic 7.01 and toplink 903. Inorder to make previous finder methods work, I created a Class DescriptorManager add a lot static methods each for one entitybean. In Mapping Workbench, I did:
    .Select Advanced Properties > After Load from the menu for the bean.
    .Enable the amendment method for the descriptor by specifying the class and name of the static method.
    The code which in the DescriptorManager.java is:
    public static void addDescriptorFinders(Descriptor descriptor)
         * Enumeration findDescriptorByServiceType(BigInteger stypeId)
    ReadAllQuery query1 = new ReadAllQuery();
    query1.setName("findDescriptorsBySrvcTypeId");
    query1.addArgument("lStypeId");
    query1.setReferenceClass(MeDescriptorBean.class);
    ExpressionBuilder builder = new ExpressionBuilder();
    query1.setSelectionCriteria(builder.get("serviceType").equal(builder.getParameter("lStypeId")));
    descriptor.getQueryManager().addQuery("findDescriptorsBySrvcTypeId", query1);
    In Here is MeDescriptorHome:
    public interface MeDescriptorHome extends EJBHome {
         public MeDescriptor findByPrimaryKey(MeDescriptorPK key) throws FinderException,RemoteException;
    public MeDescriptor findByGroupId( BigInteger groupId) throws FinderException, RemoteException;
         public MeDescriptor findOneByQuery(ReadObjectQuery query, Vector args) throws FinderException,RemoteException;
         public Collection findDescriptorsBySrvcTypeId(BigInteger serviceType) throws FinderException,RemoteException;
    I write a test client, which call
    findByPrimaryKey
    findOneByQuery
    findByGroupId
    findDescriptorsBySrvcTypeId
    The first two works.( which are toplink reserved query), the other two do not work. Can someone help me please? Thanks a lot!
    Here is the error message I got:
    Error during finders:
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.]
    server stacktrace is:
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
    EXCEPTION DESCRIPTION: Query is not defined.
    at oracle.toplink.exceptions.QueryException.queryNotDefined(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.executeFinder(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.FinderManager.findMany(Unknown Source)
    at oracle.toplink.internal.ejb.cmp.wls.WlsBeanManager.collectionFinder(Unknown Source)
    at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:560)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl.findDescriptorsBySrvcTypeId(MeDescriptorBean_onqudj_HomeImpl.java:157)
    at com.mslv.sla.dao.metric.MeDescriptorBean_onqudj_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    javax.ejb.FinderException: EXCEPTION [EJB - 10005]: Cannot find bean using finder: [findDescriptorsBySrvcTypeId]. [EXCEPTION [TOPLINK-6026] (TopLink (WLS CMP) - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException

  • Full text not getting displayed while using RSRT

    Hi,
    I am facing issue while downloading data using RSRT in BI system.
    When I go to RSRT and execute a report the output doesn't display full text for a characteristic. i.e. the characteristic has a size of 60 characters, but only 30 chars ( approx) are being displayed as report output in RSRT.
    COuld anyone here please help me in getting the full text using RSRT transaction?
    I am not using Bex here for the reason that the output has more than 1.8 lac records and hence I get an error while using Bex
    WHen I try to execute this report using Bex for a small selection I could see full text there.
    And there is no text master data maintained for this characteristic.
    Thanks in advance for your replies.

    Hi,
    As you said you have 1.8 Lac records, There is no point in increasing the size to maximum number possible i.e 65K .
    You have following three options to satisfy your requirement.:
    1.    Usage of  web reporting for export of more than 65k rows. According the note: 1127156 - Safety belt: Result set is too large, in BW version 7.x it I possible to set parameters that would allow such a massive export of data.
    2.    Functionality of OpenHubs. Data can be placed directly into the files (e.g. in CSV format) on application server. Be careful here OpenHubs are specially licensed and by using it there are additional fees.
    3.    Coding of custom ABAP report which runs BW query and gets all its output and saves it in the flat files.
    Please let me know if this info is helpful.
    Regards,
    Krishna Tangudu

  • Excluding ORA-00060 errors from Generic Alert Log Error in OEM

    Hi,
    I want to remove the alerts for ORA-00060 errors from OEM Alerts. In "Generic Alert Log Error" the current expression for Warning is ORA-0*(600?|7445|4[0-9][0-9][0-9])[^0-9]. How should I change this expression so that it will not send alerts for ORA-00060. I am not much aware of perl :-). Please help me with the expression.
    Target Type=dbname
    Host=host
    Metric=Generic Alert Log Error
    Metric Value=ORA-00060: Deadlock detected. More info in
    Time/Line Number=Mon Nov 2 10:02:54 2009/134883
    Timestamp=Nov 2, 2009 10:17:14 AM EST
    Severity=Warning
    Message=ORA-error stack (00060) logged in /eb_rdo0_p/oraadmin/pnoltp/bdump/alert_.log.
    Notification Rule Name=Database Alert
    Notification Rule Owner=SYSMAN
    Notification Count=1
    Thanks,
    Varma

    this is default monitored objects.
    To stop monitoring for this object, clear the Critical and Warning threshold values and click Continue.

  • I have 22 episodes of "Tigger and company" in que in my iTunes account by accident that I do not want to download.  I go into my "purchases" to delete and the are not there.  Any ideas on where to find them and delete them so they will stop being qued?

    Please advise on how to remove "purchases" in iTunes that were done so in error - that haven't been downloaded to your account - and you want to stop them from being downloaded and remove them from the "que" of what is available for downloading.  I have checked the "purchased" tab on my account and history to see if can delete from there and aren't listed.  

    First of all, you should always save you photos on computer like any other digital camera.
    Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
    Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
    What computer do you have?

  • Not responding / crash while using proxy calendar

    Hi
    On one station the GroupWise Client crashes often while using proxy calendars. The user opens a calender trough proxy access and klick on somme entries (days). The error is not reproducable - restarting the client and do the same klicks won't crash again.
    Most of the crashes report this File: C:\PROGRA~2\Novell\GROUPW~1\gwclu.ocx
    Any help would be nice.
    grpwise.exe 11/16/2014 09:53:31 12.0.3.28451
    - GroupWise Unhandled Exception Report -
    - Generated on 4/1/2015 at 16:50:41 -
    Exception code: C0000005 EXCEPTION_ACCESS_VIOLATION
    Fault Address: 54BF63A8 01:000153A8
    File: C:\PROGRA~2\Novell\GROUPW~1\gwclu.ocx
    File TimeStamp: 11/16/14 09:54:20
    --------------Network----------------------
    Computer Name: PC-75
    User Name: gau
    --------------Hardware---------------------
    Number of Processors: 8
    Processor Type: Intel64 Family 6 Model 30 Stepping 5
    --------------Operating System-------------
    Platform: Windows NT
    Version: 6.1
    Build Number: 7601
    Other Information: S

    In article <[email protected]>, Interbit wrote:
    > Yes, one user, one machine. The machine was completely new installed,
    > still 2-3 isues per Week.
    So this rather points to the user. So the next question is what
    regular preventative maintenance do you have running?
    What I typically set of customers is
    http://www.konecnyad.ca/andyk/gwmnt5x.htm
    If you are already running the contents checks, then look at section of
    the resulting logs for that user to see what errors are showing there.
    Especially of note would be errors that are identical each time as they
    indicate there is something that needs a bit of direct effort.
    Also are there any error showing in the POA logs that coinside with
    these crashes?
    Is it always the same calendar? Are others proxying into the same
    calendar?
    Andy of
    http://KonecnyConsulting.ca in Toronto
    Knowledge Partner
    http://forums.novell.com/member.php/75037-konecnya
    If you find a post helpful and are logged in the Web interface, please
    show your appreciation by clicking on the star below. Thanks!

  • IPhone will not wake from sleep and locks up with new MMS update

    Hey everyone,
    Has anyone had these problems with their new update as well?
    1) Sometimes my iPhone will not wake from sleep mode, I have to hold down both buttons for it to restart...I do this about 5 times a day!
    2) I cannot send SMS messages and when I send more than one sometimes the iPhone locks up and will not unfreeze.
    Does anyone know if this is an Apple update issue or if it is an AT&T issue? And if this is being addressed?
    Apple, if you read this could there be an update to all members what is going on?

    I am experiencing the same issue with iPhone 3GS. After yesterday update to 3.1.2, it is a bit better in the sense that I can restart the iPhone slightly faster but still getting frozen screen during a call. I will try to call support once more. I don't believe that the problem is solved in the new update.

Maybe you are looking for

  • Return-Code 99 of integration-process in TR  SXI_CACHE

    Hallo, in TR SXI_CACHE my integration-process has the return-code 99 (process cannot be activated). On selecting in the tree (left side) and dobble-click of my process following comes up: </properties> - <lines>   <line id="208" predid="207" succid="

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi, I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder. I am getting following error during deployment. Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar      Module: Sample.jar     Err

  • Ipad 2 Help with ppt, pdf, .doc, .xls ?

    I have recently bought a Ipad 2. I am in the army and have alot of slideshows and documents I want to be able to transfer to my ipad and view them and give classes. I am not to good with apple since I just got the ipad. I am looking for a way to keep

  • Saving image with transparent background for web/Dreamweaver

    How do I save a little image, so that the background stays transparent. I already have the image set up in Photoshop with a transparent background and have saved it as gif and png. When I import it into Dreamweaver the background stays white instead

  • NUMBER Data type's Negative Scale

    This is what I read in the 1z0-051 Study Guide: The NUMBER data type may optionally be qualified with a precision and a scale. The precision sets the maximum number of digits in the number, and the scale is how many of those digits are to the right o