Truncate not allowed when using ruleframe?

Hi all,
I am using the ruleframe transaction management and in proc I use:
execute immediate ('truncate table <table name>');
I will get the following error:
Error QMS-00100: Unhandled Exception ORA-02091: transaction rolled back
ORA-02290: check constraint (HST65.QMS_NEED_TO_CLOSE_TRANSACTION) violated in PL/SQL Program Unit ...
When I start the proc without the ruleframe transaction management, everething just works fine.
Cheers,
Joep Hendrix

You are correct in your analysis.
As soon as a RuleFrame transaction is opened, RuleFrame (i.e. the QMS_TRANSACTION_MGT pacakge) deliberately violates a deferred check constraint by inserting a row into the table QMS_TRANSACTIONS.
Under normal circumstances, you would explicitly close a RuleFrame Transaction by calling QMS_TRANSACTION_MGT.close_transaction. When that procedure is done with all validations, it will remove the row from QMS_TRANSACTIONS. After this, a commit can be successfully performed.
However, if a commit is executed either explicitly or implicitly (e.g. through a table truncate or DDL operation) without explicitly closing the RuleFrame transaction, the Deferred Check Constraint that was violated is still violated and is now enforced as part of the implicit commit. That is the problem you are running into.
Conclusion: truncate table (nor DDL operations) can be performed inside a RuleFrame transaction.
best regards,
Lucas Jellema
AMIS Services BV

Similar Messages

  • I have recently bought a macbook and am using outlook 2011 as email. i am getting an error message 4.7.0 not allowed when sending emails how do I fix?

    i have a macbook and am using outlook 2011 as email.   receiving okay.   sending okay sometimes.  am now getting error message 4.7.0 not allowed when sending.  what is the cause? how do I fix please?

    I have discovered that the emails have in fact been sent but much later, maybe it's a network problem with the people i am sending it to.  so i checked my sent items and they are there, but at the time the email doesn't go straight into the sent box or drafts so i'm assuming it's disappeared and type it again.  i'll keep going with it, until someone can give me a possible solution or explanation as to what is happening.

  • IPad Air iOS8.0.2. I used the photos app to edit my photos and created a new album for them. When I transfer my photos to my PC via cable (not allowed to use cloud services by my boss) i can only transfer the unedited versions. Any tips? Thanks!

    iPad Air iOS8.0.2. I used the photos app to edit my photos and created a new album for them. When I transfer my photos to my PC via cable (not allowed to use cloud services by my boss) I cannot choose this edited album, only transfer the unedited versions. Any tips? Thanks!

    Hi Anjohi,
    Thanks for visiting Apple Support Communities.
    If you've edited photos on your iPad and only see the original version when you import them to your computer, the tips in this article may help:
    iOS: Edited photos show original photo after import or in other apps
    All the best,
    Jeremy

  • HT1539 What happens when you attempt to download a digital copy, but it doesn't upload in iTunes, and you're not allowed to use the code again?

    What happens when you attempt to download a digital copy, but it doesn't upload in iTunes, and you're not allowed to use the code again?

    Thanks for your reply, but you might have misunderstood it a bit. I'm NOT trying to buy a movie. ****, I'm not even in the actual Apple Store, when this happens I'm in the library not the Store part of iTunes.
    To clarify - I have purchased a physical copy of a movie which came with another physical copy which contains the digital copy. The digital copy is on the DVD, all I need is just to transfer this file to my iPod Touch, for example, I'm not trying to download it from the store or repurchase it and it's not any gift code that I've received, the digital copy is on the disc. This is the first time ever that I've purchased something on a disc and I'm not allowed to access it because the disc hasn't been purchased within my country.
    So again - I'm not attempting any purchase or download any purchased digital copy - it's on a DVD I own physically so... why is even the region of my Store relevant, the code I enter is (as I assume) just supposed to check if it's a legal genuine copy (which it is, as I've said - there are 6 discs in the pack: 3 movies on 3 Blu-rays and 3 DVD containing these digital copies of them). If I own it, I think that's proof enough that I have the right to use it. I just don't get it. I fully agree with you and understand your point if there was any purchase going on here, but it's not, it's just - I put a disc into my computer and I can't access it

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • SQL*Loader-971: parallel load option not allowed when loading lob columns

    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anji

    user8836881 wrote:
    Hi,
    I am trying to load a table, which has a VARRAY column, using DIRECT=TRUE and PARALLEL=TRUE through
    Sql *Loader 10.2.0.4.0
    OS: Sun Solaris 10 SPARC 64-bit,
    Database: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    The following error recieved:
    SQL*Loader-971: parallel load option not allowed when loading lob columns
    Please help me to resolve..
    Thanks and regrds
    Anjihttp://tinyurl.com/yhxdhnt

  • Junitreport 'redirect' is not allowed when the secure processing feature is set to true.

    junitreport 'redirect' is not allowed when the secure processing feature is set to true.
    Hello,
       I'm running flexunit4.1.0-8 and I have an ant script running the test suite.    I recently upgraded from FB 4 to 4.5 and now I'm getting
    failures on junitreports.  Here's the full error: 
    [junitreport] : Error! Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    [junitreport] Failed to process C:\TDMSE_2_6\tdmse\flex-test\flex_unit_reports\TESTS-TestSuites.xml
    BUILD FAILED
    C:\TDMSE_2_6\tdmse\build\flexunitbuild.xml:116: Errors while applying transformations: javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of the extension element 'redirect' is not allowed when the secure processing feature is set to true.
    Here's the junitreport section:
    [code]
    <target name="flex-unit-execute-tdmse-test-runner"
                                  description="executes the test runner app">
              <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                  toDir="${FLEX_UNIT_REPORTS_HOME}"
                                  haltonfailure="false"
                                  localTrusted="true"
                                  verbose="true"
                                  headless="false"/>
              <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                        <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                  <include name="Test-*.xml"/>
                        </fileset>
                        <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
              </junitreport>
    </target>
    [/code]
    And here's the full ant build:
    [code]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE project>
    <!--
                             TDMS flex unit test suite
    $Author:: hermannee                                                            $
    $Revision:: 10963                                                              $
    $Date:: 2011-11-15 13:38:46 -0500 (Tue, 15 Nov 2011)                           $
    $URL:: svn://ehsntpvld03.niehs.nih.gov/dev/tdmse_test_suite/trunk/build/flexun#$
    -->
              <!-- **** ADD THIS TO tdmes/build/build.xml *************
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/../tdmse_test_suite" />
              <target name="run_flex_units">
                  <ant antfile="${FLEX_UNIT_HOME}/build/build.xml" />
              </target>
              ********************************************************* -->
    <project name="flexunitbuild" basedir="." default="flex-unit-start-test-runner">
              <tstamp>
                        <format property="build.date" pattern="MMMMM dd, yyyy" />
                        <format property="build.time" pattern="HH:mm:ss" />
              </tstamp>
              <property name="tdmsedir" value="${basedir}/.." />
              <property name="builddir" value="${tdmsedir}/../build" />
              <property name="FLEX_HOME" value="${builddir}/tools/flex-4.5.0" />
              <property name="PARSLEY_HOME" value="${builddir}/tools/parsley-2.4.0" />
              <property name="FLEX_UNIT_HOME" value="${tdmsedir}/flex-test" />
              <property name="FLEX_UNIT_LIBS_HOME" value="${builddir}/tools/flexunit-4.1.0-8" />
              <property name="FLEX_UNIT_REPORTS_HOME" value="${FLEX_UNIT_HOME}/flex_unit_reports" />
              <property name="FLEX_UNIT_TEST_HOME" value="${FLEX_UNIT_HOME}/flex_unit_tests" />
              <!-- ==== tasks ============================ -->
              <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
              <taskdef resource="flexUnitTasks.tasks" classpath="${FLEX_UNIT_LIBS_HOME}/flexUnitTasks-4.1.0-8.jar" />
              <!-- dev -->
              <echo>basedir: ${basedir}</echo>
              <echo>tdmsedir: ${tdmsedir}</echo>
              <echo>builddir: ${builddir}</echo>
              <echo>FLEX_HOME: ${FLEX_HOME}</echo>
              <echo>FLEX_UNIT_HOME: ${FLEX_UNIT_HOME}</echo>
              <echo>FLEX_UNIT_LIBS_HOME: ${FLEX_UNIT_LIBS_HOME}</echo>
              <echo>FLEX_UNIT_REPORTS_HOME: ${FLEX_UNIT_REPORTS_HOME}</echo>
              <!-- =================================
              target: run-tdmse-test  
              ================================= -->
              <target name="flex-unit-start-test-runner"
                                  description="clean, compile and run tdmse flexunit tests"
                                  depends="flex-unit-clean-tdmse-tests,
                                  flex-unit-tdmse-compile-test-suite,
                                  flex-unit-execute-tdmse-test-runner"/>
              <target name="flex-unit-clean-tdmse-tests" description="Cleans the FlexUnit test and reports directories">
                        <delete dir="${FLEX_UNIT_REPORTS_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_REPORTS_HOME}" />
                        <delete dir="${FLEX_UNIT_TEST_HOME}" failOnError="false"
                                            includeEmptyDirs="true" />
                        <mkdir dir="${FLEX_UNIT_TEST_HOME}" />
              </target>
              <target name="flex-unit-tdmse-compile-test-suite">
                        <mxmlc file="${tdmsedir}/flex-src/TDMSETestRunner.mxml"
                                            output="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf">
                                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                                  <!-- ==== include tdmse resource bundles ====== -->
                <locale>en_US</locale>
                <source-path path-element="${tdmsedir}/flex-src/locale/{locale}" />
                <include-resource-bundles>COMMON</include-resource-bundles>
                <include-resource-bundles>OW</include-resource-bundles>
                <include-resource-bundles>PREF</include-resource-bundles>
                <include-resource-bundles>RD</include-resource-bundles>
                <include-resource-bundles>RG</include-resource-bundles>
                                  <!-- ==== compile parsley library ============= -->
                                  <compiler.library-path dir="${PARSLEY_HOME}" append="true">
                                            <include name="parsley-flex4-2.4.0.swc" />
                                            <include name="spicelib-flex-2.4.0.swc" />
                                  </compiler.library-path>
                                  <!-- ==== compile all tdmse flex-src ========== -->
                                  <source-path path-element="${tdmsedir}/flex-src" />
                                  <source-path path-element="${tdmsedir}/flex-test" />
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <!-- ==== compile all flexunit swc's ========== -->
                                  <compiler.library-path dir="${FLEX_UNIT_LIBS_HOME}/mocklibs" append="true">
                                            <include name="*.swc"/>
                                  </compiler.library-path>
                                  <compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
                                  <compiler.headless-server>true</compiler.headless-server>
                        </mxmlc>
              </target>
              <target name="flex-unit-execute-tdmse-test-runner"
                                            description="executes the test runner app">
                        <flexunit swf="${FLEX_UNIT_TEST_HOME}/TDMSETestRunner.swf"
                                            toDir="${FLEX_UNIT_REPORTS_HOME}"
                                            haltonfailure="false"
                                            localTrusted="true"
                                            verbose="true"
                                            headless="false"/>
                        <junitreport todir="${FLEX_UNIT_REPORTS_HOME}">
                                  <fileset dir="${FLEX_UNIT_REPORTS_HOME}">
                                            <include name="Test-*.xml"/>
                                  </fileset>
                                  <report format="frames" todir="${FLEX_UNIT_REPORTS_HOME}/html"/>
                        </junitreport>
              </target>
              <!-- ======================================================== -->
    </project>
    [/code]
    I haven't seen much info about this problem anywhere on google except for this forum post:
    http://forums.adobe.com/thread/740146
    Thanks for any help!

    If you include the xalan.jar library to the build.xml execution classpath everything works!!!!!!.
    I hope it will be userfull.

  • Error Employee is not allowed to use cost object

    I am getting below error when I try to submit my expense.
    Employee 1833539 is not allowed to use cost object 9443688 - 10 of type Sales Order Item on 05/01/2014
    I cheked few things as below.
    1. I do have valid sales order with valid end date
    2. I did enter my time in ISP for the date in question
    3. The work location entered for the date in question is "On Premise" which means I travelled.
    has anyone faced similar issue? Any help is greatly appreciated.
    Regards,
    Rajesh

    I suggest that you report an incident so that your travel department can confirm if you are staffed on the SO in SAP Cloud for Travel and Expense. 

  • I am not allowed to use upgrade on this computer ???

    Itunes 7.6 keeps telling me, that I am not allowed
    to use the Jan-update on my computer ? ? ?
    It does not allow me to sync the upgrade
    to my ipod touch FW 1.1.3 eventhough my Vista-PC
    is activated to Apple.
    Need help - thanks

    It works for me now.
    I had to delete the folder C:\ProgramData\Apple Computer\iTunes\SC Info
    Subsequently, I had to authorize my computer from the administrator account.
    Seems that VISTA messes something up when you try to authorize the computer from a non administrator account.
    Gruz

  • Not allowed to use olsql on this Db

    hello all.....
    I have this message when i try to into plsql developer with connection normal, when i use sysdba no problem but i can't see some stored procedures...
    message full:
    you are not allowed to use pl/sql on this database.
    how i can to fix the problem when i access normal way??
    thanks for you help!!!

    I believe this has to do with custom authorization functionality implemented by the PL/SQL Developer product. See the online help to learn how to either grant the privileges you desire or disable the authorization functionality (note that this will not affect native database authorization, just the optional, custom layer implemented by the PL/SQL Developer product).

  • Why does SMS tell me "not allowed" when I try to add an existing contact to one of my SMS Groups?

    Why does SMS tell me "not allowed" when I try to add an existing contact? 

    If you are running Tiger, you don't have time machine. 
    You need to get something like SuperDuper! or Carbon Copy Cloner (sorry, I don't have a handy link for CCC but you can Google it to get their site) to make a clone of your drive on the external and then do incremental backups.  The free versions do a lot and you can upgrade to the full-service versions for small change if you need more.  The one time I used SuperDuper! for cloning a volume it worked just fine. 
    (My backup application is the last PPC capable version of Retrospect, which does a credible job, or has over the past ten-twelve years.)

  • Is array-referencing syntax allowable when using javascript?

    Is the array-referencing syntax notation allowable when using javascript as the calculation language?  My hierachy looks like the following:<br /><br />    . form1<br />        . Area[0]<br />            . numHeight<br />            . numWidth<br />            . numDepth<br />        . Area[1]<br />            . numHeight<br />            . numWidth<br />            . numDepth<br />        . <etc><br /><br />Without getting into too many details, my need is for fields in the "Area[2]" container to access fields in the "Area[0]" container.  E.g. "this.rawValue = form1.Area[0].numHeight.rawValue;".  With this syntax, I received the following report:<br /><br />Generating PDF Document...<br />Script failed (language is javascript; context is xfa[0].form[0].form1[0].Area[2].numHeight[0])<br />script=this.rawValue = form1.Area[0].numHeight.rawValue;<br />   Error: Invalid property get operation; subform doesn't have property '0'<br />PDF generated successfully.<br /><br />1 warnings/errors reported.

    You can use resolveNode on basically anything, so yes you can access the record nodes within the xml data source. The function assist does not have anything when you do record but the nodes are created under record to match the nodes in your XML data source.
    I am not sure of what you are trying to do with your example - if you want to return a list of nodes match some expression, then there is another version of resolveNode method which does just that called resolveNodes()
    For example if you want to find all conditions_item nodes you would have:
    xfa.resolveNodes("xfa.record.conditions.conditions_item[*]")
    This returns a collection of Nodes and you can then use .length to see how many are returned. Make sure conditions is a child node of the root element. I am not sure, I think you do not specify the root node when accessing the record nodes.

  • Function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    I want to call Stored Procedure that return records and output parameter, from CVI
    I can get output parrameter but when I want to get records stream I recieve following wrror:
    function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closed

    in Stored procedure I create table variable and and insert into string values
    when I remove usage of table variable the error desappear

  • Farm Remote App 2012 R : Your system administrator does not allow the use of default credentials to log on to Work Resources

    Hi
    Here is the situation:
    I have a Farm with 3 servers W2012R2 in a Domain
    Server1                           Server 2                                  
    Server3
    RDSession Host            RDSession Host                            
    RDSession Host
    Connection Broker        Connection Broker (Passive)
    RD Web Access
    2 DNS Alias : - poc.mydomain.local (Use for the RD Web Access and points to Server1
                        -poccb.mydomain.local (Use for the Connection Broker and points to Server1)
    I have setup the Connection broker in HA with Server2 as Passive Server : DNS Round Robin poccb.mydomain.local (Server1)
    The certificate Manager has generated 2 CA certificates :
    - 1 for the RD Web Acc (poc.mydomain.local
    -1 for Connection Broker SSO and for publishing
    I have created 1 Group Policy for these 3 servers and 1 GP for my client Windows 7 SP1.
    Server GPO :
    Computer/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Security
    Always prompt for password upon connection=Disabled
    Require use of specific security layer for remote (RDP) connections : SSL (TLS 1.0)
    Set client connection encryption level : High Level
    Client GPO
    Computer/Administrative Templates/System/Credentials Delegation = Allow delegating default credentials (Concatenate OS defaults with input above)
    TERMSRV/POCCB.mydomain.local
    I use no Gateway and in my collection,I have activated SSL (Like in my Server GPO)
    I have now problem with SSO.
    Connection with remote desktop client with server name = poccb.mydomain.local
    Your system administrator does not allow you the use of default credentials to log on to the remote computer poccb.mydomain.local because its identity is not fully verified
    If in my client GPO I add the physical name of the 3 servers, it works :
    TERMSRV/Server1
    TERMSRV/Server2
    TERMSRV/Server3
    Open RDP Files with server name = poccb.mydomain.local
    if my connection broker connects me on Server1 , no problem
    But If I arrive on Server2 & Server 3=
    Your system administrator does not allow the use of default credentials to log on to Work Resources
    I have searched on internet. No result for " to log on to Work Resources"
    Any idea ? Thanks for your help

    Hi,
    Thank you for posting in Windows Server Forum.
    Firstly check that, your user is using domain\username to enter the credential in the dialog box.
    Now for a try, you can edit .rdp file with notepad and just place “enablecredsspsupport:i:0” line in it, save it an launch to check whether you are facing same issue.
    As you are using windows 7 then upgrade to RDP 8.1. Also as you have already enter the FQDN name of server under “Allow delegating default credentials”. For a try please enable and configure for all the remaining settings as follow and check the result.
    Start / Run / gpedit.msc / Computer Configuration / Administrative Templates / System / Credentials Delegation, and make sure you have the following four options enabled and configured:
    Allow Delegating Default Credentials with NTLM-only Server Authentication
    Allow Delegating Default Credentials
    Allow Delegating Saved Credentials
    Allow Delegating Saved Credentials with NTLM-only Server Authentication
    Finally, open a command prompt and use “gpupdate /force” command to apply the policy directly.
    More information:
    Remote desktop credentials did not work
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    If you want to get a little more "exotic" you can try remapping the function keys.  I did a little google searching and the hits that looked promising are,
    Mapping volume and eject keys to 3rd-party keyboard Other Hardware
    Spark
    Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, control iTunes, and more...
    You can also export and import your Hot Keys library, or save it in HTML format to print it.
    Spark is free, so use it without moderation!

Maybe you are looking for