Passivation on VO programmatically non-cles attributes to jump

Hi all

Jdev Version: 11.1.1.7.1

I have a programmatic VO which is filled with (insertRow()), CreateRow() & setAttribute(). The VO is enabled for all transient attributes to passivate & don't not to recover the DB:

  Passivate="All"
  MaxFetchSize="0">

I have a key attribute "ECN" on my VO. I observe that the VO Atotech two rows, but the second row Atotech only the key attribute. The first line Atotech however all the attributes correctly.

Inspection of the table PS_TXN, found the following:

<VO sig="1408344233846" qf="1" ut="0" cs="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.app.SearchVO"><Key><![CDATA[000200000008C73452305B4A3411FFFFFFFF]]></Key><cd><Tr><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke><ECN>12323</ECN><CaseId null="true"/></Tr><QC Ex="1"><Ke>ACED00057702z</Ke><NR
Hdl="30" Idx="0"><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke></NR></QC></cd></VO>

<VO sig="1408344233846" qf="1" qm="1" ut="0" cs="2" It="1" Sz="25" St="0" im="1" Ex="empty" Def="com.app.SearchVO" Name="CreateRequestSearchResultsVO"><Key><![CDATA[000200000008C73452305B4A3411FFFFFFFF]]></Key><cd><Tr><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke><ECN>12323</ECN><SSNTIN>01554231425033</SSNTIN><AccountNumber>602342340001088</AccountNumber><FirstName>Srini LEUTERS</FirstName><LastName>LEUTERS</LastName><DOB>1962-04-28</DOB><Address>234 RD</Address><City>ARLINGTON</City><State>VA</State><ZipCode>222074233</ZipCode><SSNTINType>SSN</SSNTINType><RecordType>SMIS</RecordType><CaseId null="true"/><index>0</index><PartyId>2308</PartyId></Tr><Tr><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke><ECN>12323</ECN><CaseId null="true"/></Tr><QC Ex="1"><Ke>ACED000577020000</Ke><NR Hdl="362" Idx="0"><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke></NR><NR Hdl="361" Idx="1"z><Ke>000200000008C73452305B4A3411FFFFFFFF</Ke></NR></QC></cd></VO>

As you can see, a line is passivated properly while the other has passive only the key attribute "ECN".

Appreciate the pointers on this one.

It is one of the cases where adfbc needs a PK (which is unique). The framework think that the keys are identical, so you don't need the data once and can refer to the data of the second time. If you set a pk it must be unique or adfbc walk the rows with the same key as being identical.

Timo

Tags: Java

Similar Questions

  • Programmatically setting QueryDescriptor attribute values

    Hi all

    How can I set the values of the attribute in a descriptor of query programmatically? From the application descriptor, you can get a handle on a particular attribute criterion that has a getValues() but not setValues(). Is this possible?

    Also, is it possible to program a panel of query mode base on the edge of fashion and vice versa?

    I use JDeveloper 11.1.1.7

    Thank you

    Bill

    Try

    QueryDescriptor qd = queryEvent.getDescriptor ();

    AttributeCriterion test = qd.getCurrentCriterion ();

    / * Gets the key currently in the search criteria

    * You can manipulate the values here :)

    */

    String attrLabel = criterion.getAttribute () .getLabel ();

    Object attrValue = criterion.getValues () .get (0);

    To change the value, you get the list of values and set in the new list.

    Timo

  • How to programmatically change the attribute of af:message.for?

    < p >
    I would like to know how, if possible, dynamically change the attribute 'for' of the af: message in the code for the validator in my grain of support. In my example below, I would like to change the af: message for the 'txtReportNumber' attribute 'txtCaratWeight '.

    I have included an excerpt from the next page
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup2} '"
    ID = "panelGroup2" layout = "vertical".
    styleClass = "body_text15" & gt;
    < /p >
    < p >
    & lt; < color = "#ff0000" > af:message < / police > binding = "#{backing_ReportVerificationCriteria4.message1} '"
    ID = "message1", color = "#ff0000" > for = "txtReportNumber".
    < / police > inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 15px; color: #FFFF00; make-weight: bold; left margin: 0px; Max-width: 300px; line-height: 5px; < br / >
    messageType = "none" / & gt; < br / >
    & lt; AF:objectSpacer width = "10" height = "10" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.objectSpacer1}" < br / >
    ID = "objectSpacer1" / & gt; < br / >
    & lt; / af:panelGroup & gt; < br / >
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup3}" < br / >
    ID = "panelGroup3" layout = "horizontal" < br / >
    inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 11px; color: #052149; margin left: 15px; line-height: 14px; "& gt; < br / >
    & lt; AF:outputLabel value = "number of statement:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.outputLabel5}" < br / >
    ID = "outputLabel5" < br / >
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "/ & gt; < br / >
    & lt; AF:inputText label = "number of statement:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.txtReportNumber}" < br / >
    < color = "#ff0000" > id = "" txtReportNumber < / police > ' columns = "20" simple = "true" < br / > "
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "< br / >
    showRequired = 'false' immediate = "false" < br / >
    Validator = "#{backing_ReportVerificationCriteria4.txtReportNumber_validator}" < br / >
    requiredMessageDetail = 'Both report number and Carat weights are necessary.' < br / >
    required = "true" / & gt; < br / >
    & lt; / af:panelGroup & gt; < br / >
    & lt; AF:panelGroup binding = "#{backing_ReportVerificationCriteria4.panelGroup4}" < br / >
    ID = "panelGroup4" < br / >
    inlineStyle = "font family: Gil without, Verdana, Arial, Helvetica, without serif;" do-size: 11px; color: #052149; margin left: 15px; line-height: 14px; "< br / >
    page = "horizontal" & gt; < br / >
    & lt; AF:outputLabel value = "Carat weight: ' < br / >" "
    Binding = "#{backing_ReportVerificationCriteria4.outputLabel6}" < br / >
    ID = "outputLabel6" < br / >
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; "/ & gt; < br / >
    & lt; AF:inputText label = "Carat weight:" < br / >
    Binding = "#{backing_ReportVerificationCriteria4.txtCaratWeight}" < br / >
    < color = "#ff0000" > id = "" txtCaratWeight < / police > ' columns = "20" simple = "true" < br / > "
    inlineStyle = "do-family: Gil without Verdana Arial Helvetica without serif;" font-size: 11.0px; Color:RGB (5,33,73); line-height: 14.0px; margin-left: 7.0pt; "< br / >
    Validator = "#{backing_ReportVerificationCriteria4.txtCaratWeight_validator}" / & gt; "" < br / >
    & lt; / af:panelGroup & gt; < br / >
    < /p >

    Hello

    the field 'for' supports the El. So you can use a reference of bean managed to replace the value

    Frank

  • Ranking of the non transient attributes

    I want to order the attributes in my request form. I went into 'The Source Order value', but there is no transient attributes that were generated by the SQL query - they cannot be moved upwards or downwards. I want to move some of them below some transient attributes at the bottom. Is this possible?

    I use JDeveloper 11.1.1.5.0

    How about you manually change the VO.xml?

  • findbyAltKey &amp; TooManyObjectsException

    Hi all

    Jdev Version: 11.1.1.7.0

    In our application, we have a View object above a table X that has columns C1 and C2. We have defined an AltKey on the C2 column we find frequently on this column. Please note that this column C2 is duplicates.

    While I understand that the primary use of AltKey, is that it allows to apply the uniqueness Check in EO layer - but I do not see why we cannot use it as a quick search mechanism.

    We find that when we use the findByAltKey() on the AltKey, we get a TooManyObjectsException - you see something wrong with that?

    Thank you

    Srini

    It came while doing some other tests - so wanted to keep this thread posted.

    For the non-cles attributes, line Finder is the recommended - way'working with online Finders'

  • Read Device Simulator jad properties programmatically

    Hello.

    I know there are ways to read properties in an RIMlet JAD file, but we face a problem when you use the Simulator devices:

    The common way to do this is more sample extract to:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/programmatically-read-the-attributes-o...

    And it's working pretty well on the device.

    However this code snippet does not work when you use the device Simulator (we use 9000 Simulator included in JDE components). It seems that he is not capable of matching the CodeModuleGroup of the application.

    The project is compiled with API 4.6.1 and we use ant + bb - ant - tools for the generation.  Pourrait - what the problem may be because on a simulator, we do not install the app?

    So the question is: is there a trick to be able to read the file properties on the simulator device as jad?

    THX in advance,

    Why not install the application via the jad, rather than compile directly in the Simulator?

    If the MDS Simulator, start it up the Simulator you want to test with, put your jad/cod on a web site accessible and load from there.

    Just a thought.

  • Sort reviews LOV with transient attribute

    Hello

    I use JDeveloper 12 c.

    I have a view with a list of valuable object. Let's say EmployeeView and EmployeeStatusLovView.

    I have a transient attribute on my watchlist. Let's say statusDescription.

    I want to sort my list of value with the transitional attribute. How can I do?

    I see I can easily sort with the non-transitory attribute.

    If it wasn't a LOV, I could override executeQuery and call setSortBy(), but it does not work with a LOV as executeQuery is not called.

    Any ideas?

    Thank you

    Cindy

    OK I get it. The problem is that I tried to substitute the executeQuery() instead of executeQueryForCollection(). With first LOV is not used. Call setSortBy ("myTransientAttribute") in executeQueryForCollection() works great!

  • Question of encapsulation: protected attributes must be visible to child classes

    Hi guys, I found the following problem of inheritance and encapsulation and I was wondering if someone could explain it to me:

    Suppose you have a parent with a non protected attribute class static (I know that's a mouthful, thank you that follows).

    package package1.
    public class {Parent}
    protected int a = 10; It's the non-static protected attribute in question
    Public Shared Sub main (String [] args) {}
    what logic
    } / / end class parent
    } / / end of main()

    Now suppose you have a class of the child in another package and that you imported in the parent class.

    the package2 package;
    package1 Import. Parent;
    Child/public class extends {Parent}
    Public Shared Sub main (String [] args) {}
    Parent p = New Parent();
    Class c Child = new Child();

    System.out.println (p.a.); should print at 10 BUT did NOT
    System.out.println (c.a.); should print 10
    } / / end of main()
    } / / end of class of the child


    My observation is that p.a. generates an error, even if, to the best of my knowledge, it should not. I think the "System.out.println (p.a.)" statement; should I print a 10.

    I'm something of misunderstanding about inheritance and encapsulation? Could someone tell me if there is a problem with my understanding or a problem with the Java language?

    Thanks for reading this far. I hope that you are also interested in this question that I am. : )
    -Vineet Gupta
    June 6, 2013

    Published by: 1010389 on June 6, 2013 23:44

    Published by: 1010389 on June 6, 2013 23:57

    >
    An important point to make, since rp0428 posted about it, is that the class of the child is in another package than the parent class. This is done deliberately for the purpose of this thought experiment. By the rules of Java, as I understand it, ANY class of the child - regardless of the package - should be able to see the protected variables.
    >
    Then you don't have to "understand" section of the specification of the Java language that I quoted.
    >
    If the class of the child was in the same package as the parent, the child would be able to see the default encapsulated AND protected variables. But if the child is NOT in the same packet, then it should always be able to see the protected variables. Isn't it?
    >
    No - it's NOT just as technical section I quoted said you.
    >
    Once again, without a concrete answer, he got to wonder if this is a bug hidden in the JAVA virtual machine. If so, my next question would be how to report?
    >
    You have a "concrete response." It doesn't get any more "real" than the specification of the Java language. It defines the rules and that I have cited applies to your use case.

  • Generate a rule to show several instances of entity attributes

    Hey!

    Phil (the still waiting for beginner training here). I have a little trouble getting the aliasing to work when I want to perform a check on the same entity non-singleton.

    I have a scenario set up when an entity of non-singleton attribute 5 (let's call it 'the child') will generate a maximum of 10 times (source of data-> muiltiple Oracle dbs).

    I need to generate a rule (or rules) to report a failure when the no. recovered children is > 10 AND to display each attribute of the up of 10 entities "the child."

    so far I have generated the following:



    the BusRule (limiting the number of children) works correctly if
    the number of X_children < 11

    the number of X_children = InstanceCount (text value of relationship "the child")



    SO at this point I have a check for the number of instances of 'the child' entity and one indicator if there is > 10 entity instances (so I'm halfway there!)
    I played with the following to try to display each of the attributes of each of the children (up to 10) that are returned (below is the first example, I tried with the child.firstname attribute)


    Display of up to 10 X_children attributes works if
    ForAllScope (text value for the "child" link, children)
    and
    first name of the MCH is known * the number of X_children


    HOWEVER - I get the HTTP 500 error (stack trace indicates the modules failed to load cos ' Subpremise to quantify local must be Boolean "). I kindof get the bulk of the error response, but do not understand why he thinks that it is Boolean.

    All I need essentially to know is 1. How to view each of the attributes for each instance of the entity and 2. What I'm doing wrong.

    As in my previous post, I feel that I should apologize because I'm not sure if I provide enough information or even good info for anyone to understand what I'm talking about because I have yet to attend training (I only used the tool for the last 2 days) and so I'm limited to trawl through the help files , so I appreciate any help/advice anyone can provide!

    NB: I'm using OPM v10.1

    See you soon,.

    Phil

    I have not read all the details here, but for purposes of validation, error or warning events are another option to consider.

    ForAll requires you to put your condition in the same line (the condition is generally defined as a rule by the way).

    ForAllScope allows you to continue your rule to put conditions on the following (indented) lines of the rules. If you want to disambiguate on a reference to the same entity in the bottom of your rule conditions, ForAllScope allows you also to alias of this entity in the lower part of the rules to another name. For example, this allows you to talk about "brothers and sisters" as part of one of the kids 'parents.

    Davin.

  • ViewObject programmatically

    Hai friends,

    I use Jdeveloper 11.1.1.3.

    I need to create view programmatically with two attributes.any object type suggestions always welcome.


    Thank you
    Kanna...

    Try this http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#sm0341

    Timo

  • Dimension of the BSO attributes properties

    Hello

    I have a small number of attribute associated with my base product dimension members. I still maintined them manually in the EA. They are more generic consolidaton types. Recently, I have revised my rule to load product dimension member (base) to accomidate a few new data source and attributes associated with. After running the rule of load successfully, when I look at my members attribute the consoldiaton is set on ~ ignore. And I can't change the properties in environmental assessments. This is true in my other aspects of non-produit attribute as well.

    I suspect that I changed a global setting with my new charge rule, but I don't know how to find or change it back.

    Any ideas?

    Thank you

    Jeff

    Are you sure they are attrubite dimensions? Attribute dimensions typically don't have any operator consolidation on them all the

  • Changing the components of the user interface on a page programmatically

    Do I need auto-bind backing bean if I have to programmatically change the attributes, the events of the user interface on a page components? I'm sure that Yes. Thus, each jsf page must have a bean of support to do the above and a bean managed to retrieve/store data? It seems that backing bean is more than enough. Why do I need a managed bean? Is there a way to delete unwanted ui components accessors in the bean to support? Thank you.

    You need a support to programaticaly access bean and change elements on your page.
    But you do not need to expose each component on your page in the bean support - the best practice is to expose a few components that actually access you.
    So instead of using the auto-bind tge option that offers JDeveloper, create your page without a bean of support. Then when you need to access a specific object in your code, go to the attribute binding of this object in the property inspector, click the > change to his right and JDeveloper will give you a quick way to expose this specific component in a pod of support.

  • Cannot change the value of an attribute

    I'm having a lot of trouble trying to change the value of an attribute in a document in my database. I get the error message:
    Transaction specified for a non-transactional database
    Nov 26, 2008 9:35:02 AM com.kitfox.db.BaseLocal processRequest
    SEVERE: null
    com.sleepycat.dbxml.XmlException: Error: Invalid argument, errcode = DATABASE_ERROR
            at com.sleepycat.dbxml.dbxml_javaJNI.XmlQueryExpression_execute__SWIG_1(Native Method)
            at com.sleepycat.dbxml.XmlQueryExpression.execute(XmlQueryExpression.java:89)
    However, the database is configured to perform operations:
            try {
                EnvironmentConfig config = new EnvironmentConfig();
                config.setAllowCreate(createIfAbsent);
                config.setInitializeLocking(true);
                config.setInitializeLogging(true);
                config.setInitializeCache(true);
                config.setTransactional(true);
                config.setRunRecovery(true);
                config.setThreaded(true);
                //config.setLockDetectMode(LockDetectMode.DEFAULT);
    
                env = new Environment(home, config);
    
                XmlManagerConfig managerConfig = new XmlManagerConfig();
                managerConfig.setAllowAutoOpen(true);
                managerConfig.setAdoptEnvironment(true);
                managerConfig.setAllowExternalAccess(true);
                manager = new XmlManager(env, managerConfig);
    
                manager.setDefaultContainerType(XmlContainer.NodeContainer);
                
                manager.registerResolver(resolver);
    
                if (manager.existsContainer(CONTAINER_NAME) == 0) {
                    container = manager.createContainer(CONTAINER_NAME);
    
                    //Add index
                    {
                        XmlIndexSpecification is = container.getIndexSpecification();
                        is.addIndex(GAMEBASE_NS, "uid", "node-element-presence-none unique-edge-attribute-equality-decimal");
                        is.addIndex(GAMEBASE_NS, "name", "node-element-presence-none edge-attribute-equality-string");
    
                        XmlUpdateContext uc = manager.createUpdateContext();
                        container.setIndexSpecification(is, uc);
                        is.delete();
                    }
                    
                    //Initial document
                    {
                        InputStream is = null;
                        XmlInputStream xin = null;
                        URL initXml = getClass().getResource("/com/kitfox/db/dbInit.xml");
                        is = initXml.openStream();
    
                        xin = manager.createInputStream(is);
    
                        container.putDocument(DOCUMENT_NAME, xin);
                        xin.delete();
                    }
    
                } else {
                    container = manager.openContainer(CONTAINER_NAME);
                }
    While I am able to update my document by running insert or remove instructions independently, they fail:
        let $dir := $repository//gb:directory[@gb:uid=$cmd/@uid]
        return
            replace value of node $dir/@gb:name with "blorp"
    
        let $dir := $repository//gb:directory[@gb:uid=$cmd/@uid]
        return
            (delete node $dir/@gb:name,
            insert node (attribute gb:name {"bigbird"}) into $dir)
    Any idea what goes wrong? How can I change my attribute value?

    Published by: kitfox on November 26, 2008 09:48

    The problem is that even if your environment is configured to use transactions, your container is not. Set up for using transactions is a process in two steps, first of all, you must set up the environment that you did, then you must configure each container in the environment, what you can do as follows:

    XmlContainerConfig config = new XmlContainerConfig();
    config.setTransactional(true);
    container = manager.createContainer(CONTAINER_NAME, config);
    

    The same steps are used to open the container.

    Lauren Foutz

  • Where can I find the "Mirror Vertical" property?

    Hello

    I have a connected USB camera that displays the image in the wrong rotation. Under Max there is a setting in"attributes"-> "Mirror Vertical", which can be set to True.

    How can I adjust this setting under LabView? I don't find it in the properties.

    Thanks in advance

    How can I adjust this setting under LabView? I don't find it in the properties.

    In IMAQdx, you generally refers to properties by specifying them with string. See get programmatically and set attributes with IMAQdx
    For a list of the supported your camera attributes, call "IMAQdx enumerate attributes.

  • To access the elements of a cluster of LV-class

    Elements of a cluster are also accessible using nodes property. Therefore, it is possible to write a generic function to get the "content" (e.g. labels, variant values) of the clusters.

    But it's not possible for a "class pole", even, it is used in a class method. The property is not available here.

    How can I programmatic read items (attributes ' ") of a class (-cluster)?

    For example, I like to read the labels of all the elements / attributes in a class.

    Any idea?

    You can access the items in the class, but this approach is somehow "hackmac" and so I would not recommend you to do. However, it seems to be possible...

    In the attached approach, exchange of with the name of your control that contains the data of the class.

    hope this helps,

    Norbert

Maybe you are looking for

  • Questions about buying iMac 21.5

    Hi, I have the same question. i´d want to change my MacBook Pro (upgrade) mi2012 8 GB ram, ssd 500 GB and i5 bi-core, chipset Intel graphics HD 4000 I would buy the end of 2015 21.5 "iMac 2.8 quad core, 8 GB ram, chipset Intel 6200 pro iris and 256 G

  • write the file wav with power button

    Hi all I am trying to record a wav file at a push of a button with Auto name files. The idea is the VI is running, display data when recording key data are saved as wav up to what the key once again. The file name is generated with the date and time

  • simultaneous acquisition of the accelerometer and a measure of a rotating machine encoder.

    I want to make a simultaneous purchase of the accelerometer and a measure of a rotating machine encoder. So what National Instruments data acquisition product must be chosen to do this capture.

  • My PC drive letter assignment is incorrect.

    I have a HP Pavilion a230n w/Windows XP Home Edition, SP3 & IE 7. I tried to find why I can't burn a CD/DVD, when I noticed that the designations of drive letter on my secondary internal drive would be ', the CD/DVD burner and CD-rom have changed. Ho

  • HP Designjet 130

    I need driver for printer HP Designjet 130 (Windows 7 x 64)? where can I get it?