Association of objects

Hi, I was wondering if there was a way in flash to group a set of objects, for example a load of buttons, so that you can apply a single AS work to control them, rather than having to create a separate for each button function.

Ill give you an example, I want to apply the interpolation in 5 different buttons, but I do not want to write

Button1... = function
Button2... = function

I would go

group_of_buttons... = function

Thanks for your help

Create a table and put the names of occurrence of each of the buttons in this table. Loop in the table and assign a function to each event for the items in this table. Write the real function.

Tags: Adobe Animate

Similar Questions

  • Get Machine plans associated with objects of a Service catalog

    In our vCAC, we have a service with the catalog items that vSphere available machines virtual via cloning model. In a vCO script, is there a way to get objects of schema associated with each point objects catalog in our service? If so, can you provide the code to show how it's done? We have vCAC 6.1 and vCO 5.5.2.Thanks!

    OK, I finally found the answer courtesy of Automation vRA (vCAC) using vRO - Split Brain :

    «Each element of the catalog has an attribute of providerBinding.» This package contains the bindingId value. This link ID is the ID of the master plan (virtualMachineTemplateID) of the part of IaaS. That's how vRA figures on what course of action to deploy when you request a catalogue point. »

    So, given an vCACCAFECatalogItem object, I can get the ID of associated like this blueprint:

    var blueprintId = catalogItem.getProviderBinding () .getBindingId ();

  • Entities and Associations - Association error objects

    Hello

    I am new to develop in JDeveloper and I am currently following a tutorial with the Oracle members database use for their tutorial. Now I'm following this tutorial (Oracle JDeveloper 11 g Release 2 tutorials - rich in development of Web Applications with Oracle ADF)

    My problem is that when I try to create entity objects and Associations based on the tutorial, my AppModule does not create the association departments-> employees as you can see on the subject of 20º to the link (the Appmodule running the EmpDeptFkLink1view).

    I tried many things to fix it and I try it on my localhost database (not an oracle database).

    Given that this association is not created, the AppModuleDataControl isn't the control needed to create the jsf page in the next step.

    If you have all the help you can give me, please reply to this message.

    I use jdeveloper Studio edition version 12.1.2.0.0.


    Hope that my problem is clear enough.

    Thank you very much!

    Greetings,

    Frederico Barracha.

    Frederico,

    Associations are created automatically when the database table has a foreign key.  Check your local host database and make sure that there are foreign keys.

    If this isn't the case, you can manually create links and associations.

    Ray

  • means of a loop with associative arrays / objects: #1034: forced conversion

    I had a long post somewhere on here and just want to start a specific post on associative arrays just.

    First of all, I have a table which I do not know if it is an array, an associative array or an object, or both.

    That is to say: I read that below would be an object but works like a table also.

    The problem is when I use this table as references to instantiate classes in a runtime shared library.

    I seem to be able to create appropriate tables and objects, BUT I certainly can't use/acess them correctly. I have a massive confusion between movieclips and objects.

    I get an error of forced conversion when I try to add objects to a movieclip. just because I want to add the elements of mc to the scene.

    var definitionsArray:Array; 
    var bubblesArray:Array;
    var currentBubble:*;
    var correct:uint;
    var incorrect:uint;



    this.definitionsArray = new Array();
    this.definitionsArray.push({ sound:"AppleSound",mc:"Apple" });
    this.definitionsArray.push({ sound:"BananaSound",mc:"Banana" });
    this.definitionsArray.push({ sound:"BreadSound",mc:"Bread" });
    this.definitionsArray.push({ sound:"CakeSound",mc:"Cake"  });
    this.definitionsArray.push({ sound:"WaterSound",mc:"Water" });
    this.definitionsArray.push({ sound:"TomatoSound", mc:"Tomato" });
    this.definitionsArray.push({ sound:"SandwichSound",mc:"Sandwich" });
    this.definitionsArray.push({ sound:"PizzaSound",mc:"Pizza" });
    this.definitionsArray.push({ sound:"PearSound",mc:"Pear" });
    this.definitionsArray.push({ sound:"OrangeSound",mc:"Orange" });

    getData("library/food.swf", definitionsArray);

    function getData(libreria:String, matriz:Array)
    {
        this.definitionsArray = matriz;
        var context:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain);

        var loader:Loader = new Loader();
        var req:URLRequest = new URLRequest(libreria);

        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onAssetsLoaded);
        try
        {
            loader.load(req);
        }
        catch (e:Error)
        {
            trace("Asset load error: " + e);
        }
    }



    function onAssetsLoaded(e:Event):void
    {
        this.cartelArray = new Array();
        var loader:Loader = Loader(e.target.loader);

        this.libreria = loader.content;//this isn't used

        //var mezclaMAtriz:Array = this.definitionsArray.slice();
        bubblesArray = [];
        for (var i:uint = 0; i < this.definitionsArray.length; i++)
        {
            var libraryDomain:ApplicationDomain = loader.contentLoaderInfo.applicationDomain;
            var mcClass:Class = libraryDomain.getDefinition(definitionsArray[i].mc) as Class;
            var soundClass:Class = libraryDomain.getDefinition(definitionsArray[i].sound) as Class;

            var obj:Object = new Object();
            obj.mc = new mcClass();
            obj.sound = new soundClass();

            this.bubblesArray.push(obj);
            placeBubbles();
        }
    }

    function placeBubbles():void
    {
        var bubble:MovieClip;
        for (var i:int = 0; i < bubblesArray.length; i++)
        {
            bubble = bubblesArray[i];
            bubble.addEventListener(MouseEvent.CLICK, onBubbleClick);
            bubble.x = 100 + i * 150;
            bubble.y = 100;
            addChild(bubble);
        }
        // start game
        nextChoice();
    }

    If you set as an object, and then use this way...

    bubble var: Object;

  • Association of objects in Captivate 8

    I'm trying to group objects on a slide to clean my list object in the timeline panel. When I select objects of Group on the slide, the group in the Edit menu option is grayed out. No matter what kind of objects can I select the Group (text, image, etc.). The reference Guide says it should work. Can someone throw me any idea of what I'm doing wrong?

    Thank you!

    If you have purchased the template, you could ask them the reason. I've never heard a question also of grouping, and I'm around this forum for a while.

  • Association of objects - is it possible in Captivate 4?

    In my quest continues to wish for a Lectora feature, I wonder if the grouping of objects is possible in Captivate 4. I don't see the option, but perhaps that it is done in a different way.

    It is an extremely useful feature that have most of the other applications (i.e. other e-Learning tools, graphics applications, etc.). A practical use would be bringing together a box of note commonly used with an icon so that it can be copied as a single object to slides.

    Any thoughts?

    Hi Shawn

    The only group that is possible is temporary. You hold down the CTRL key when you click on objects that are. They remain selected until the focus is removed from the selection. Perhaps, you change another slide or click another object on the slide.

    There is no permanent grouping of objects.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Problems associative Array (Object)

    Here's the function that I face
    I read in a delimited string and using indexed arrays to break them up and assign keys and values to an associative array in a loop.
    I use variables in the loop and the load as expected in the loop table
    but outside the loop, the only key is the name of the variable and the value is not set
    This is the case by using dot or rating table, as well as literal strings for keys
    any help is appreciated

    watchSuspendData = function (id, oldval, newval): String {}
    the incoming suspendData string is delimited by a semicolon;
    newVal is: firstValue = Yes; captivateKey = 1
    var listSuspendData:Array = newval.split(";"); convert to a list of key/value pairs
    If (listSuspendData.length > 0) {}
    line 123: listSuspendData.length is: 2
    for (i = 0; i < listSuspendData.length; i ++) {//for each key/value pair}
    var keyValArray:Array = new Array();
    var myNameValue:String = listSuspendData ;
    line 127: listSuspendData
    is: firstValue = Yes
    keyValArray = myNameValue.split ("="); EM on the equal sign
    var myKey:String = keyValArray [0];
    var myVal:String = keyValArray [1];
    keyValArray [0] is: firstValue
    keyValArray [1] is: Yes
    store the key and the value in an associative array
    suspendDataArray.myKey = myVal;
    trace ("line 134: suspendDataArray is:" + suspendDataArray.myKey);
    trace is line 134: suspendDataArray is: Yes on the first pass and 1 on the second

    }
    the loop below always returns an array key: myKey and the undefined value
    for (x in suspendDataArray) {}
    trace ("x is:" + x); x is: myKey
    trace ("the val is:" + suspendDataArray.x); the val is: undefined
    } //end for

    }
    return newval;

    Many thanks to blemmo and everyone who responded
    using the table syntax OK solved the problem
    really appreciate the help!

  • Mapping script in VCO object type

    Hi all

    I am trying to build my own plugin. I exposed my java objects in javascript api of the VCO. (http://communities.vmware.com/message/2217337#2217337)

    But I guess that how I have defined it finders, the types are not associated with script objects.

    Here are the steps that I followed, please let me know if I missed something: -.

    1 defined finders in vso.xml for each object exposed to the format: -.

    < finder datasource = "test-datasource' type = 'aObject" script-name = "TESTaObject" java-class = "com.test.aObject" >
    < relationship / >

    < / finder >

    2 defined in objects scripting in vso.xml for each object exposed to the format: -.

    < object java-class = "com.test.aObject" script-name = "TESTaObject" >

    < description > This is a test object < / description >

    < attributes / >

    < methods / >

    < / object >

    3 defined factory (and the adapter classes) with find (and functions findAll) original function, returns a new instance of the java class object.

    When I find types to VCO in the search Api, and then types do not show associated in script objects. It shows FinderResult as the associated script object.

    Please let me know if Miss me anything because of which I'm not able to associate types with script objects.

    Best regards

    Sumit Tyagi.

    Well, it is exactly the need for intentory items, because now you have items that you want to pass between the elements of workflow (a store the workflow in attributes).

    However, if you don't want to put in place a fully blown inventory:

    Try to use the generic types 'ALL' or 'Properties' (if you want to create your own "struct") as the type of return to action and type for the attributes of workflow.

    Only drawback: there is no presentation available for these types, so if you use them to workflow input parameters a user cannot start them (a different workflow can always!).

    (To close the circle to understand: the finder windows opened to the presentation of entry of a workflow using the PluginFactory and the find() methods, so if you want them to, you must implement the finders and therefor an inventory fully blown)

    See you soon,.

    Joerg

  • extending the view object is not any related entity object

    Hi all

    I am interested to be extended on VO standard pages in JDeveloper OA extension object
    the standard page is oracle/apps/pos/supplier/...suppSummaryPG
    and one of the view that interests me is suppSummVO
    the problem is that when I copy xml files and java files from the application server to
    my local folder jdevelope, I'm not able to open this suppSummVO, the changes which
    I find another object of VO and this (suppSummVO) object is that this VO does not
    Associated entity object and the only request is back on this VO, that is the reason that
    I am not able to open Jdeveloper, but the real problem is that how I can extend this type of VO
    in my OAExtension.

    Respect of
    Noman

    Hello

    Copy the file server.xml from the server and open the server.xml file in jdeveloper.

    Thank you
    Gerard

  • Need help to share a hard drive in vista

    How do you share a hard drive in Vista on a home network that the other network users can back up their music, photos, etc... I have 3 computers vista and and 4 Xp Pro on the network computers and all that I get a message saying "F:\ is not accessible. Access is denied. " CANY anyone help

    Hello

    The hard drive is missing on the permissions that are required.

    What are the permissions?

    Permissions are rules associated with objects on a computer or network, such as files and folders. Permissions determine whether you can access an object and what you can do with him. For example, you can access a document in a shared folder on a network but only be able to read the document and not to make changes. System administrators and users with accounts of administrator on computers can assign permissions to individual users or groups.

    To take possession of a hard drive.

    1. make a right click the hardrive / partition you want to take control and then click Properties.

    2. click on the Security tab, click Advanced, and then click the owner tab.

    3. click on modify. Need administrator permission if you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    4. click on the name of the person you want to give to the property.

    5. If you want this person to be the owner of the files and subfolders in this folder, select the Replace owner of subcontainers and objects to check.

    6. click on OK.

    For more information, see the article.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-access-denied-when-opening-files-or-folders

    Do us it if it can help

    Concerning
    Anthony.

  • Error "could not open the access control editor, access is denied" while accessing the C: drive

    Hello

    I use Home Basic to Windows 7, I saw two drive C: / and R. /. by mistake I changed security optional properties of the discs now I can

    to access only a: .my c: drive / drive does not open when I open drive c properties, then on security and it continue display "cannot open the access control editor, access is denied.any another application do not open I can not even able to restore it, please help step by step"

    thanx

    Original title: in the c drive security permissions

    Hi Ravindra,

    Thanks for posting your question on the Forum of the Microsoft community.

    Permissions are rules associated with objects on a computer or network, such as files and folders. Permissions determine whether you can access an object and what you can do with him. For example, you might have access to a document in a shared folder on a network. Also, refer to:

    What to know before applying permissions to a file or folder

    According to your error message. I would like you try these steps and check if the problem persists.

    Steps for the reader:
     
    a. click on the drive, click Propertiesand then click the Security tab.
    b. click Advancedand then click the owner tab.
    c. click change, and then do one of the following:
    (d) to change the owner to a user or group that is not listed, click other users and groups and enter the object name to select (examples), type the name of the user or group and then click OK.
    e. to change the owner to a user or a group is listed in the change of ownership of the area, click the new owner.
    f. If you want to take ownership of the contents of the disc, select the Replace owner of subcontainers and objects of the box.
    g. click OKand then click Yes when you receive the following message appears: you are not allowed to read the contents of directory folder name. Do you want to replace the the directory permissions with permissions granting you full control?
    h. all permissions will be replaced if you click Yes.
    i. click OK.

    Check if the problem persists.

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • in a new folder, just create, I can't save a file. "you have no access to this file or directory permissions.

    While trying to work code, I created a folder and unzipped a file.

    The file is now read-only, even though she has been moved from my C drive, where it was created.
    I never have this kind of problem on my MAC, but I'm forced to use a PC, because the coding tool
    is not available on my Mac.
    I created the folder and files. I ran attrib /s h s - a - r, and no attributes exist now.
    I really look forward to microsoft and it's crappy os. I wish HEW ran on a Mac.

    Hello

    You might not have the appropriate permissions to back up the files on the computer. Permissions are rules associated with objects on a computer or network, such as files and folders. Permissions determine whether you can access an object and what you can do with him. Go through the article to get a brief idea about it.

    How to open a file if I get an access denied message?

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-open-a-file-if-I-get-an-access-denied-message

    You can go through the article and follow the steps accordingly to solve the problem.

    " " Access denied" or other errors in the access to or work with files and folders in Windows

    http://support.Microsoft.com/kb/2623670#method22

    Get back to us with the State of the question, so that we can help you further.

  • get prior to see photo

    When I was using Xp, I had some files that I have encrypted, I then installed windows 7 on another hard disk, but the disk with Xp was no longer recognized, so I had to reformat the hard drive. I then corrected information on the disc using recuva, but since I was encriped the pictures I want, I can't see because I did not leave then, how do I get permission to see my photos again, I have all the files of this OS so if it's one of those I can get access to I will be I do not know which. Or is their a program I can use that will bypass just security?

    Scarlet salvation,

    1. what application did you use to encrypt the files?

    2. what security software is installed?

    3. What is the accurate and complete error message you get while trying to access these files?

    Encryption is a way to strengthen the security of a message or file by scrambling the contents so that it can be read only by someone who has the right encryption key to decode it.

    If you try to open an encrypted file and you get a message access denied, your encryption key may be damaged or missing. To recover encrypted files, you must have a backup of your encryption key, or, if you are on a domain, your system administrator must have a certificate of recovery.

    Only the user who encrypts a file can recover data that has been encrypted, unless the user specifies a recovery agent before they encrypted the files. To make sure that you can decrypt files in the future, you should always export your certificate and private key and keep them in a safe place.

    Permissions are rules associated with objects on a computer or network, such as files and folders. Permissions determine whether you can access an object and what you can do with him. For example, you might have access to a document in a shared folder on a network. And even if you can read the document, you are not authorized to make changes. System administrators and people with accounts of administrator on computers can assign permissions to individual users or groups.

    You can read these articles and check if that helps.

    What are the permissions? : http://windows.microsoft.com/en-in/windows7/what-are-permissions

    What to know before applying permissions to a file or a folder: http://windows.microsoft.com/en-in/windows7/what-to-know-before-applying-permissions-to-a-file-or-folder

    How to open a file if I get an access denied message? : http://windows.microsoft.com/en-in/windows7/how-do-i-open-a-file-if-i-get-an-access-denied-message

    Additional information.

    What is EFS (ENCRYPTING File System)? : http://windows.microsoft.com/en-in/windows7/what-is-encrypting-file-system-efs

    Let us know if you need assistance with any windows problem. We will be happy to help you.

  • Root cause error code is Houston-26049. Error messages settings are {0 = XxwfsMdmCustSummaryReportVO} oracle.jbo.server.ViewDefImpl.doLoadFromXML(ViewDefImpl.java:4762)

    Hello

    We have built a standalone ADF on Jdeveloper 11.1.1.7 application that interacts with the Oracle database using business components.

    XxwfsMdmCustSummaryReportVO is a view object that is based on an entity object. After the application is redeployed on a server remote weblogic, whenever a user attempts to access the application, the page is empty. Even if the error disappears once this managed server is restarted. On checking the logs we could trace it down to the below error:

    oracle.jbo.PersistenceException: Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-26049. Error messages settings are {0 = XxwfsMdmCustSummaryReportVO}

    at oracle.jbo.server.ViewDefImpl.doLoadFromXML(ViewDefImpl.java:4762)

    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4015)

    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3962)

    at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:560)

    at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1300)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:626)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:546)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:528)

    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:794)

    at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:876)

    at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)

    at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)

    at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)

    at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:510)

    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)

    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)

    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2836)

    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:583)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2396)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3169)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:592)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:525)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:520)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1412)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1211)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreDataControl(DataControlFrameImpl.java:953)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreSnapshot(DataControlFrameImpl.java:1022)

    at oracle.adf.model.BindingContext.restoreSnapshot(BindingContext.java:766)

    at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:1876)

    at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:395)

    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:261)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:292)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: java.lang.IllegalArgumentException: no oracle.jbo.AttributeDependency$ class const enum Type.

    at java.lang.Enum.valueOf(Enum.java:196)

    to oracle.jbo.AttributeDependency$ Type.valueOf (AttributeDependency.java:20)

    at oracle.jbo.server.AttributeDefImpl.loadDependencies(AttributeDefImpl.java:6235)

    at oracle.jbo.server.AttributeDefImpl.loadUserDefinedAttr(AttributeDefImpl.java:4672)

    at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2190)

    at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:7081)

    at oracle.jbo.server.ViewDefImpl.doLoadFromXML(ViewDefImpl.java:4631)

    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4015)

    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3962)

    at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:560)

    at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1300)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:626)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:546)

    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:528)

    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:794)

    at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:876)

    at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)

    at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)

    at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)

    at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:510)

    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)

    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)

    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2836)

    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:583)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2396)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3169)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:592)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:525)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:520)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:871)

    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:484)

    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)

    at oracle.adf.model.BindingContext.put(BindingContext.java:1412)

    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:174)

    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)

    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)

    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)

    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)

    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)

    at oracle.adf.model.BindingContext.get(BindingContext.java:1211)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreDataControl(DataControlFrameImpl.java:953)

    at oracle.adf.model.dcframe.DataControlFrameImpl.restoreSnapshot(DataControlFrameImpl.java:1022)

    at oracle.adf.model.BindingContext.restoreSnapshot(BindingContext.java:766)

    at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:1876)

    at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:396)

    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:261)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:447)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:447)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:293)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    I found a bug " ", "(12564061" related to this error and it asks me to check if the oracle.jbo.usemdm property is set to true or not and check if there are dependencies defined in the associated principal object. The property is already set to true and it is y no dependency attribute defined in the enitity object. Could you please help?

    Your case root:

    java.lang.IllegalArgumentException: no oracle.jbo.AttributeDependency$ class const enum Type.

    This means that your java implementation line is corrupt.

    Try to remove your current line Impl, then expose it again.

  • 12 c parallel execution Plans

    Hello world

    I have a little a problem of performance on 12 c that gives me a little trouble at the head. I moved from 11 to 12 databases and no amendment of the application have been made. Our requests are generated somewhat dynamically, so that they are the same thing every time.

    Let's start with the execution plan I get:

    SQL > select * from table (dbms_xplan.display ());


    PLAN_TABLE_OUTPUT

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hash value of plan: 3567104424

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    | ID | Operation                                            | Name                  | Lines | Bytes | Cost (% CPU). Time |    TQ | IN-OUT | PQ Distrib.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                       |    55.  7095 |  3764 (1) | 00:00:01 |        |      |            |

    |   1.  COORDINATOR OF PX |                       |       |       |            |          |        |      |            |

    |   2.   PX SEND QC (ORDER). : TQ10006 |    55.  7095 |  3764 (1) | 00:00:01 |  Q1, 06 | P > S | QC (ORDER).

    |   3.    SORT ORDER BY |                       |    55.  7095 |  3764 (1) | 00:00:01 |  Q1, 06 | SVCP |            |

    |   4.     PX RECEIVE                                       |                       |    55.  7095 |  3763 (1) | 00:00:01 |  Q1, 06 | SVCP |            |

    |   5.      RANGE OF SEND PX | : TQ10005 |    55.  7095 |  3763 (1) | 00:00:01 |  Q1, 05 | P > P | RANGE |

    |   6.       UNIQUE FATE |                       |    55.  7095 |  3763 (1) | 00:00:01 |  Q1, 05 | SVCP |            |

    |*  7 |        HASH JOIN                                     |                       |    55.  7095 |  3762 (1) | 00:00:01 |  Q1, 05 | SVCP |            |

    |   8.         PX RECEIVE                                   |                       |   801 | 50463 |  3696 (1) | 00:00:01 |  Q1, 05 | SVCP |            |

    |   9.          PX SEND HASH | : TQ10003 |   801 | 50463 |  3696 (1) | 00:00:01 |  Q1, 03 | P > P | HASH |

    | * 10 |           HASH JOIN                                  |                       |   801 | 50463 |  3696 (1) | 00:00:01 |  Q1, 03 | SVCP |            |

    |  11.            RECEIVE PX |                       |   801 | 40851 |  2333 (1) | 00:00:01 |  Q1, 03 | SVCP |            |

    |  12.             PX SEND BROADCAST | : TQ10002 |   801 | 40851 |  2333 (1) | 00:00:01 |  Q1, 02 | P > P | BROADCAST |

    |  13.              NESTED LOOPS |                       |   801 | 40851 |  2333 (1) | 00:00:01 |  Q1, 02 | SVCP |            |

    |  14.               KIND OF BUFFER.                       |       |       |            |          |  Q1, 02 | ISSUE |            |

    |  15.                RECEIVE PX |                       |       |       |            |          |  Q1, 02 | SVCP |            |

    |  16.                 PX SEND HASH | : TQ10000 |       |       |            |          |        | S > P | HASH |

    |  17.                  NESTED LOOPS |                       |   823. 31274 |  1509 (1) | 00:00:01 |        |      |            |

    | * 18.                   TABLE ACCESS BY ROWID INDEX BATCH | PAGED_LOOKUP_PKS |   500 |  9500 |     3 (0) | 00:00:01 |        |      |            |

    | * 19.                    INDEX RANGE SCAN | PAGED_LOOKUP_PKS_IDX2 |     1.       |     2 (0) | 00:00:01 |        |      |            |

    |  20.                   TABLE ACCESS BY ROWID INDEX BATCH | BILL_ITEM |     2.    38.     4 (0) | 00:00:01 |        |      |            |

    | * 21.                    INDEX RANGE SCAN | BILL_ITEM_FK2 |     4.       |     2 (0) | 00:00:01 |        |      |            |

    | * 22.               INDEX UNIQUE SCAN | PK_INSERTION |     1.    13.     1 (0) | 00:00:01 |  Q1, 02 | SVCP |            |

    |  23.            ITERATOR BLOCK PX |                       |  1548K |    17 M |  1353 (2) | 00:00:01 |  Q1, 03 | ISSUE |            |

    |  24.             FULL RESTRICTED INDEX SCAN FAST | BOOKING_ACCOUNT_1 |  1548K |    17 M |  1353 (2) | 00:00:01 |  Q1, 03 | SVCP |            |

    |  25.         PX RECEIVE                                   |                       | 22037 |  1420K |    65 (2) | 00:00:01 |  Q1, 05 | SVCP |            |

    |  26.          PX SEND HASH | : TQ10004 | 22037 |  1420K |    65 (2) | 00:00:01 |  Q1, 04 | S > P | HASH |

    |  27.           SELECTOR PX |                       |       |       |            |          |  Q1, 04 | SCWC |            |

    |  28.            TABLE ACCESS FULL | CONTACT | 22037 |  1420K |    65 (2) | 00:00:01 |  Q1, 04 | SCWP |            |

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    7 - access ("ACCOUNT_ID" ="ACCOUNT_ID")

    10 - access ("BOOKING" ="BOOKING")

    18 - filter("T1".") SEQUENCE_NO' < 501 AND "T1". ("' SEQUENCE_NO" > = 1).

    19 - access("T1".") SESSION_ID '= 123456 AND 'T1'.' SEARCH_ID "= 25)

    21 - access("T1".") N1 "=" BILL_ID")

    22 - access ("BOOKING" = "BOOKING" AND "INSERTION_SET" = "INSERTION_SET" AND "INSERT"="INSERT")

    Note

    -----

    -the dynamic statistics used: dynamic sampling (level = 2)

    -This is an adaptation plan

    -2 directives Plan Sql used for this statement

    51 selected lines.

    Elapsed time: 00:00:00.15

    SQL > spool off

    OK, now let's go through the problem:

    1. It's a development running on a virtual server, and which hosts a few other databases, so the parallel execution is not a good thing. parallel_degree_policy is set to MANUAL, parallel_max_servers and all other parallel_ limits are set to 1 and tables have been changed with the settings of NOPARALLEL. So why is the execution plan always generated with all stages of parallel execution? I don't seem to get rid of in 12 c
    2. Next mystery is that the said plan of the explain command is an adaptation plan, and yet I put the true optimizer_adaptive_reproting_only
    3. Now to the problem of effective enforcement, so I'm playing around with all these settings. The query runs for 3-4 seconds, returning around about 500 cases. However, in some cases this same query with the same input variable races for hours and if I can believe the AWR and ASH reports, read a good 180 GB of data. The main wait event is direct path read temp temp and writing.


    This is not isolated to that one query. I have a few queries now that all display the same behavior, one of them running overnight. I don't seem to get to a standard nested loop execution plans.


    The entire base is a database plug-in and I don't know I just missed something in the new features Guide.

    Would appreciate some ideas.

    Thank you

    If you want to disable parallel execution, you must set parallel_max_servers to zero.  Maybe the optimizer thinks he can use a parallel plan because parallel_max_servers is non-zero (even though the number of slaves available means that it will be serialized to a parallel plan).

    Note that you have a ticket saying dynamic stats have been used.  Maybe you have a 11 for optimizer_dynamic_sampling setting, and allowing Oracle to be very inventive with collection of samples and parallelism.

    You have also 2 SQL instructions in game. These are the things that get associated with objects rather than the instructions, then perhaps someone has been playing with parallelism and managed to associate the parallelism with one of the tables in your query (I am not sure 100% that it is possible, just throw a suggestion).  Take a look at the SQL used for education guidelines.

    To give us a little more information, you can:

    Shoot memory execution plan dbms_xplan.display_cursor ({sql_id}, {number of children}, 'ALL'));

    We show all the parallel settings (see setting the parallel)

    Pull on the parameters of the optimizer for query memory (select name, value of V$ sql_optimizer_env where sql_id = {your sql identifier} and child_number = {your child number})

    Concerning

    Jonathan Lewis

Maybe you are looking for