Problem fixing compile error in wm generated procedure
Dear OWM Wizards,
I have made an error in an update trigger during a BeginDDL and CommitDDL session:
exec dbms_wm.BeginDDL('TABLE1');
exec dbms_wm.BeginDDL('TABLE2');
create or replace trigger table1_ut
before update
on table1_lts
for each row
begin
update table2_lts
set ....
end;
exec dbms_wm.CommitDDL('TABLE2');
exec dbms_wm.CommitDDL('TABLE1');
Note the _lts* in the update above.
The last command succeed with complie errors, but left the table in CDDL state.
Using the information Unable to run BeginDDL on a version enabled table on OWM 9.2.0.8, I was able to bring the table back into "VERSIONED" state (using ignore_last_error => true in CommitDDL).
Now I have a wm$table1_ut procedure referencing a non-existing table2_lts and am unable to start a ddl session on TABLE1:
$ exec dbms_wm.BeginDDL('TABLE1');
ERROR:
ORA-24344: Erfolg mit Kompilierungsfehler
ORA-06512: in "SYS.OWM_DDL_PKG", Zeile 3200
ORA-06512: in "SYS.LT", Zeile 11857
ORA-06512: in Zeile 1
$ select * from all_wm_vt_errors;
Es wurden keine Zeilen ausgewählt
TABLE1_LTS is not created. And recompiling the procedure does not work, with ORA-20037 attempt to modify a WM generated procedure
What can I do?
Any help appreciated,
Jens
Edited by: user535318 on Aug 14, 2009 5:37 AM
Hi,
You could have called dbms_wm.beginDDL on TABLE2 prior to executing it on TABLE1. This would have recreated the TABLE2_LTS table, allowing the trigger to be successfully created. You would then be able to redefine the trigger.
Regards,
Ben
Similar Messages
-
I got this error when I tried to drop a TestStand Engine class onto my main form in VisualStudio.NET.
Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxNationalInstruments.TestStand.Interop.API'
The error message went on to say that it saved the source in ./obj/AxInterop.TS.cs so I added that to the project. When I try to build it, I get this error:
The designer must create an instance of type 'System.Windows.Forms.AxHost' but it cannot because the type is declared as abstract.
I am using TestStand 3.0 evaluation, Version 7.1.3088 of Microsoft Development Environment 2003, and .NET Framework 1.1 Version 1.1.4322 SP1.
Is this aximp.exe problem?
Can someone suggest how to fix this?
Thanks,
JeffTestStand installs pre-built interop wrappers for the TestStand engine and all the TestStand UserInterface controls. You can find them in \API\DotNet\Assemblies\CurrentVersion\.
However, the best thing to do is usually to add the ApplicationMgr control to your .NET form and then call form.axApplicationMgr1.GetEngine() to get the engine. Doing this automatically adds references to the interop assemblies to your project. You can find this control in the TestStand tab of your .NET toolbox when you have a form active.
Ideally, you should start with the .NET simple operator interface examples which are in \OperatorInterfaces\NI\Simple\CSharp\ and \OperatorInterfaces\NI\Simple\VB.Net\
- James -
[svn] 3870: Fixing compiler error in my sample.
Revision: 3870
Author: [email protected]
Date: 2008-10-24 08:57:35 -0700 (Fri, 24 Oct 2008)
Log Message:
Fixing compiler error in my sample. I accidentally copy/pasted a line.
Modified Paths:
flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/asdoc/en_US/mx/components/example s/TextViewExample.mxmlI believe I see at least two problems:
(1) CXXOUTPUT_FLAGS="-0 %OutFile%
i.e. You've specified -0 [dash zero] where I imagine you want -o [dash oh]
I guess it's possible that your posting has a typographical error and that your build really does have -o [and not -0]. If that's the case, I imagine that your problem is the double quotation marks. It's possible or even likely that due to the quotations in "-o %OutFile%", the compiler attempts to interpret this whole string as an option - which of course it can't.
(2) LINK=cc
i.e. You've specified cc (the C compiler/linker) instead of CC (the C++ compiler/linker). -
"Compiler errors occurred when generating a Windows Forms wrapper...
"Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxNationalInstruments.TestStand.Interop.API'."
Sorry, I accidentally hit enter as I was composing this post. Please see my full post at:
http://forums.ni.com/ni/board/message?board.id=330&message.id=5633 -
Revision: 5915<br />Author: [email protected]<br />Date: 2009-04-03 14:17:15 -0700 (Fri, 03 Apr 2009)<br /><br />Log Message:<br />-----------<br />Fixed compilation errors in the flex4test dev project by changing <mx:String> to <fx:String>.<br /><br />QE Notes: None<br />Doc Notes: None<br />Bugs: None<br />Reviewer: N/A<br /><br />Modified Paths:<br />--------------<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/NewEffects.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/RemoveItemsTest.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/SkinTest.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/AnimationPropertiesForm. mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml
Revision: 5915<br />Author: [email protected]<br />Date: 2009-04-03 14:17:15 -0700 (Fri, 03 Apr 2009)<br /><br />Log Message:<br />-----------<br />Fixed compilation errors in the flex4test dev project by changing <mx:String> to <fx:String>.<br /><br />QE Notes: None<br />Doc Notes: None<br />Bugs: None<br />Reviewer: N/A<br /><br />Modified Paths:<br />--------------<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/NewEffects.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/RemoveItemsTest.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/SkinTest.mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/AnimationPropertiesForm. mxml<br /> flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml
-
[svn:osmf:] 13314: Fix compile error in logging code.
Revision: 13314
Revision: 13314
Author: [email protected]
Date: 2010-01-06 13:46:17 -0800 (Wed, 06 Jan 2010)
Log Message:
Fix compile error in logging code.
Modified Paths:
osmf/trunk/framework/MediaFramework/org/osmf/net/NetNegotiator.asHi,
Can you please make sure you have Flex 3.2 or higher SDK and then target to Flash Player 10. I have this working on my system and yes, i got the same error when my SDK was below 3.2 and not targeted to Flash Player 10.
Hope this helps. -
[svn] 1521: Fix compilation error in MBeanObjectNameResolver.java.
Revision: 1521
Author: [email protected]
Date: 2008-05-02 05:19:25 -0700 (Fri, 02 May 2008)
Log Message:
Fix compilation error in MBeanObjectNameResolver.java.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/qa/management/MBeanObjectNameResolver.javaRevision: 1521
Author: [email protected]
Date: 2008-05-02 05:19:25 -0700 (Fri, 02 May 2008)
Log Message:
Fix compilation error in MBeanObjectNameResolver.java.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/qa/management/MBeanObjectNameResolver.java -
Revision: 14107
Revision: 14107
Author: [email protected]
Date: 2010-02-10 11:36:11 -0800 (Wed, 10 Feb 2010)
Log Message:
Fixing compile error in NetMocker, Metrics provider changed in the OSMF project.
Modified Paths:
osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockMetricsProvider.asHi,
You are the first person I have read so far on this forum who does not use Flex or Flash builder. I will check out FlashDevelop. It is good information to know. Thanks a lot!
-Wei Zhang
Senior Computer Scientist
Adobe Systems, Inc.
[email protected] -
Revision: 5893
Author: [email protected]
Date: 2009-04-02 16:30:46 -0700 (Thu, 02 Apr 2009)
Log Message:
Fixed compiler errors and updated to 2009 namespace w/ Spark controls (where applicable).
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/printing/examples/PrintDataGr idExample.mxml -
[svn:fx-trunk] 9398: Fixing compile error.
Revision: 9398
Author: [email protected]
Date: 2009-08-19 13:38:05 -0700 (Wed, 19 Aug 2009)
Log Message:
Fixing compile error.
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Rotate3DEffec tExample.mxmlCamuzo, please go to the forum and just un-subscribe yourself.
each of your emails is getting sent to everyone who does want to use this forum
just sending messages is not going to do anything.
GO to this url:
http://forums.adobe.com/community/opensource/flexsdk
and simply tell your account not to be emailed.
But, please kindly stop just sending us all your messages. -
Problems showing compilation errors
I'm connecting to an Oracle Database version: 10.2.0.3.0 64bit
SQL Developer version:1.5.1
SQL*Plus command line version: 10.2.0.4.0 using OJDBC14.jar driver
When I compile in the command line, I see errors:
SQL> alter package MY_SCHEMA.MY_COMPANY_PACKAGE compile body;
Warning: Package Body altered with compilation errors.
Elapsed: 00:00:00.76
SQL> show error;
Errors for PACKAGE BODY MY_SCHEMA.MY_COMPANY_PACKAGE:
LINE/COL ERROR
1951/5 PL/SQL: SQL Statement ignored
1955/27 PLS-00201: identifier 'T_SETUP_COMPLETE_DATE' must be declared
1956/5 PL/SQL: ORA-00904: : invalid identifier
2005/5 PL/SQL: SQL Statement ignored
2013/52 PL/SQL: ORA-00984: column not allowed here
2050/5 PL/SQL: SQL Statement ignored
2052/27 PLS-00201: identifier 'T_DEFINITION_ISSUED_DATE' must be declared
2053/5 PL/SQL: ORA-00904: : invalid identifier
2078/5 PL/SQL: SQL Statement ignored
2082/71 PL/SQL: ORA-00984: column not allowed here
2265/9 PL/SQL: SQL Statement ignored
2267/30 PLS-00201: identifier 'T_PARM_DESC' must be declared
2268/9 PL/SQL: ORA-00904: : invalid identifier
2306/13 PL/SQL: SQL Statement ignored
2310/58 PL/SQL: ORA-00984: column not allowed here
5132/9 PL/SQL: Statement ignored
5132/39 PLS-00201: identifier 'ROOT' must be declared
5152/9 PL/SQL: SQL Statement ignored
5152/21 PL/SQL: ORA-00942: table or view does not exist
5167/21 PL/SQL: ORA-00942: table or view does not existHowever, in SQL Developer, I use the same database/login. From the connection view, I drill down to the package, then the body, then Edit, and Compile.
All I see on the "Messages - Log, Messages" tab is:
MY_COMPANY_PACKAGE Body Compiled (with warnings)The "Compile Log - Compiler" tab shows a list of warnings, but none of the errors I see in the command line. What bugs me more is that my coworkers who use the same version of SQL Developer connecting to the same database with the same login ID can see the errors in the UI.
I should note, when I first connect, I do see a small red x on the package body, but it goes away almost immediately once I do something, like clicking "edit" or "compile."The default compiler option settings in SQLDeveloper include lots of warnings and there is a database imposed limit of 20 messages so if you have a lot of warnings, the errors aren't shown. The default in the database (and therefore in sql*plus ) doesn't include any warnings.
To change the compiler options in SQLDeveloper, go to Tools | Preferences|Database PL/SQL compiler options. There are various options for what type of messages to display. You could set performance to DISABLE and the others to ERROR for example.
The red cross indicates the procedure is invalid. -
Problem fixing XJC Errors ("already defined" in groups)
Hello,
I am using JAXB to generate code for some schemas created by a different group in my project, but I get an error that I kind of understand but don't know exactly how to resolve.
This is a pared-down version of the schema holding only the offending pieces:
MainSchema.xsd
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns_a="DATASET_A"
xmlns:ns_b="DATASET_B"
xmlns:ns_c="DATASET_C"
xmlns:ns_d="DATASET_D"
xmlns:ns_e="DATASET_E"
xmlns:ns_f="DATASET_F">
<xs:include schemaLocation="BASIC_TYPES.XSD" />
<!-- -->
<xs:import namespace="DATASET_A" schemaLocation="DATASET_A.xsd"/>
<xs:import namespace="DATASET_B" schemaLocation="DATASET_B.xsd"/>
<xs:import namespace="DATASET_C" schemaLocation="DATASET_C.xsd"/>
<xs:import namespace="DATASET_D" schemaLocation="DATASET_D.xsd"/>
<xs:import namespace="DATASET_E" schemaLocation="DATASET_E.xsd"/>
<xs:import namespace="DATASET_F" schemaLocation="DATASET_F.xsd"/>
<xs:complexType name="ReturnGetDataStatusType">
<xs:sequence>
<xs:element name="DATA_LIST">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:choice>
<xs:group ref="ns_a:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_b:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_c:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_d:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_e:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_f:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- -->
<xs:complexType name="FileDataType">
<xs:sequence>
<xs:element name="DATA_LIST">
<xs:complexType>
<xs:choice>
<xs:group ref="ns_a:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_b:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_c:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_d:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_e:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_f:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="RETURN_GET_DATA" type="ReturnGetDataStatusType"/>
<xs:element name="FILE_DATA" type="FileDataType"/>
</xs:schema>---
When I try to compile this schema and their underlying schemas, I get this error repeated for each "group" attribute of the FileDataType:
C:\dir\temp\fake_DataStore>xjc -d output -p com.company.stuff *.xsd *.XSD | more
parsing a schema...
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 49 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 50 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 50 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 51 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 51 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 52 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 52 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 53 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 53 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 54 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
Failed to parse a schema.---
It clearly has a problem with using the same group references in two different complexTypes, but I don't know how to use jaxb:property to resolve it.
Do I rename this ReturnGetDataItemType differently in the FileDataType complexType? If so, how?
Thank you for reading. Please let me know if you have any questions.
Edited by: jaylogan on Mar 18, 2010 6:49 PMyou need to pass a bindings file using the -b switch as explained here: http://java.sun.com/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html
-
Compile error with IDLJ generated java files.
When compiling the IDLJ generated java files, javac is not able to recognize org.omg.CORBA.ObjectHelper
classs. Looks like the import is not finding this class.
I have located these classes in rt.jar but including this jar in CLASSPATH gives
a version '48.0' is too recent error.
Thanks
RameshPLEASE IGNORE THIS MESSAGE. I HAVE RESOLVED THIS ISSUE.
"Ramesh Nadella" <[email protected]> wrote:
>
When compiling the IDLJ generated java files, javac is not able to recognize
org.omg.CORBA.ObjectHelper
classs. Looks like the import is not finding this class.
I have located these classes in rt.jar but including this jar in CLASSPATH
gives
a version '48.0' is too recent error.
Thanks
Ramesh -
J2EE deploytool compile error in generated code.
I write and compile all the code for EJB.
Created .EAR and .WAR files needed for deploy. But when the deploy application tries to generated and compile stub code there is a compilation problem.
Anyone knows how can I solve this? or this is a problem of the deploy app, Is there another one?
I'm using J2EE SDK 1.3 beta version.
THANKS...It's not an Exception. Are compile errors of the generated code.
When you make "Deploy..." from "Tools" menu item of the "Application Deployment Tool", it make some task including source generation and its compilation, so, this compilation have errors. -
Compile error installing rox [SOLVED]
Hi,
I'm having problem with compile error installing Rox-filer-2.11.
I have searched and nothing explicitly the same has cropped up.
The final few lines reads
/usr/bin/ld: xtypes.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [ROX-Filer] Error 1
Compile failed
Press Return...
I love Arch and have learned a lot but this has definately stumped me.
Thanks for all your help in anticipation
Last edited by Marko121 (2012-03-18 15:46:47)Thanks for swift replies
WormZy spot on
I encountered compile error when running (as instructed) ./ROX-Filer/AppRun --compile
when I appended LIBS="-ldl -lm"
this was the result
mv "ROX-Filer" "/home/mark/builds/rox-filer-2.11/ROX-Filer/src/.."
(cd "/home/mark/builds/rox-filer-2.11/ROX-Filer/src/.." && \
objcopy --only-keep-debug ROX-Filer ROX-Filer.dbg && \
strip ROX-Filer && \
objcopy --add-gnu-debuglink=ROX-Filer.dbg ROX-Filer)
Done
Thanks to everyone problem solved
Maybe you are looking for
-
What do I need to do after installing a new hard drive?
I had a 13" Non-retina MacBook Pro from mid-2012 and I bought it standard, but I upgraded my RAM from 4GB to 8GB, but also while on this website that I bought the RAM modules from, I noticed they sell Solid State Drives and I would have gotten one, b
-
Change font size and layout of reports in Report painter
Hi, I want to change the print layout and the fonts of reports created in Report Painter. In the print output i am getting 40% of the total screen My requirement is to increase the font size and the print layout to fullscreen so that the report layou
-
Computer died, Disk Utility causes restart prompt, Error 2NVD/1/4:2086
So, I think my poor PB is on it's last legs. I was using my computer in bed, when all of a sudden it shut down. I waited a minute, restarted, and after the gray loading screen with the Apple logo, a blue, mottled screen came up. Nothing happened past
-
Need help on Wait for Event.
Hello all. I faced an issue with wait for event step,Which goes like this. For a workflow one of the fork branches there is a wait for event step(wait for manual release) . On development server when ever that event is fired (manual release) , the wa
-
Activation prompt after updating CS6 Master Collection
Hi, I have already activated a copy of the CS6 Master Collection. But I am getting activation prompt everytime I updating any application from the AAM for Adobe CS6 Master collection. Does anybody knows how to fix this problem? Any suggestion will be