Retrieve a set of specific objects

I am looking for a way in JDO to retrieve and update sets of specific
objects using a single SQL statement of the form:
SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
This is a relatively frequent and important use case for the types of
applications that deal with graphs, such as for modeling telecommunications
networks. I will describe below the specific behavior as taken from JSR 142:
OSS Inventory API, specifically the Resource Inventory EJB Session Facade.
(See http://jcp.org/jsr/detail/142.jsp and
http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
followed by http://java.sun.com/products/oss/ .)
(1) ResourceInventoryEntityValue[]
getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
String[] attrNames)
This is one occurrence of the operation pattern get<ManagedEntities>ByKeys.
When the ResourceInventoryEntityValue implementation is a JDO
PersistenceCapable class, and the ResourceInventoryEntityKey holds the
primary key of each object of interest, the result set should be selected
with a single SQL statement.
(2) void removeResourceInventoryEntitiesByKeys (ResourceInventoryEntityKey[]
keys)
This is one occurrence of the operation pattern
remove<ManagedEntities>ByKeys. The identified instances should be deleted
with a single SQL statement.
The problem is I do not see any obvious JDOQL syntax or operations on the
JDO interfaces that would allow me to accomplish the above. On the positive
side, Kodo is handling the other patterns extremely elegantly (pretty Java
in WebLogic Server) and efficiently (pretty SQL). It is only this one ByKeys
pattern that I can't see a way of doing nicely in JDO.
Any help would be appreciated.
Ben

Thanks Abe. Your response was most helpful.
Ben
"Abe White" <[email protected]> wrote in message
news:[email protected]...
Actually, JDOQL does offer a way of doing what you want assuming you'reusing
application identity and you use only a single primary key field:
q.declareParameters ("Collection pks");
q.setFilter ("pks.contains (myPKField)");
Collection results = (Collection) filter.execute (pkCollection);
Now the bad news: Collection parameters were added to the spec between the
proposed final draft and the 1.0 release, and the were not noted in the
spec ChangeLog. Unfortunately, that means that we here at Solarmetricdidn't
notice the addition until someone pointed it out to us recently, and we
haven't implemented it yet. Or actually, we've implemented it internally
as part of a major query rework, but it won't be available publicly for
awhile. You do, however, have other options:
You could do it with "||" clauses:
StringBuffer filter = new StringBuffer ();
for (Iterator itr = pks.iterator (); itr.hasNext ();)
filter.append (pkFieldName).append (" == ").append (itr.next ());
if (itr.hasNext ())
filter.append (" || ");
q.setFilter (filter.toString ());
Collection results = (Collection) q.execute ();
You can also use our filter extensions (assuming you have the enterprise
edition or have purchased the filter extensions module). You could usethe
lit:sqlEmbed extension to embed whatever custom SQL you wanted:
q.setFilter ("lit:sqlEmbed (\"IDX IN (...)\")");
Collection results = (Collection) q.execute ();
Good luck.
I am looking for a way in JDO to retrieve and update sets of specific
objects using a single SQL statement of the form:
SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
This is a relatively frequent and important use case for the types of
applications that deal with graphs, such as for modeling
telecommunications
networks. I will describe below the specific behavior as taken from JSR142:
OSS Inventory API, specifically the Resource Inventory EJB SessionFacade.
(See http://jcp.org/jsr/detail/142.jsp and
http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
followed by http://java.sun.com/products/oss/ .)
(1) ResourceInventoryEntityValue[]
getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
String[] attrNames)
This is one occurrence of the operation patternget<ManagedEntities>ByKeys.
When the ResourceInventoryEntityValue implementation is a JDO
PersistenceCapable class, and the ResourceInventoryEntityKey holds the
primary key of each object of interest, the result set should beselected
with a single SQL statement.
(2) void removeResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[]
keys)
This is one occurrence of the operation pattern
remove<ManagedEntities>ByKeys. The identified instances should bedeleted
with a single SQL statement.
The problem is I do not see any obvious JDOQL syntax or operations onthe
JDO interfaces that would allow me to accomplish the above. On thepositive
side, Kodo is handling the other patterns extremely elegantly (prettyJava
in WebLogic Server) and efficiently (pretty SQL). It is only this oneByKeys
pattern that I can't see a way of doing nicely in JDO.
Any help would be appreciated.
Ben

Similar Messages

  • Setting Adapter-Specific Message Attributes in an Adapter Module

    Hi!
    I want to set Adapter-Specific Message Attributes in an Adapter Module. Is it possible to configure the Variable Transport Binding in this way?
    Best regards,
    Daniel

    I'd like to know it as well.
    I've checked out the XI AF API but didn't find much.
    One thing that I've observed is that since Module API can treat any Message Class (not only XI Messages), I guess it won't have any specific methods for XI messages (hence, no dynamic configuration). But you could try to get the message object and then treat it as an XI Message (you would be doing the steps that the Java Mapping API do before it calls a Java Mapping class) to get the Map objects (which include the parameters).
    Good luck on it, and let us know if you have any progress!
    Regards,
    Henrique.

  • How to set Dnet assembly object instance

    I have an MKS Dnet MFC (P6AO) that I want to connect to.  I have been able to connect to other MFCs using my Vi as long as the input assembly instance is set to 14 and the output assembly instance is set to 19.  I can explicitly message this MFC.  What class, instance and attribute do I use to set this assembly object?  What is the data type?
    I can communicate with other brands of MFCs as long as the I/O assemblies are set to 14&19.  Any help would be appreciated.
    Thanks,
    Joe

    The ODVA has a freeware EDS editor that will go a long way toward preventing typos and incorrect settings, and allows you to try "what if" settings as you learn EDS details.  The specification for an EDS file is part of the ODVA CIP standard and as far as I know, costs $300, but you will be able to do a lot of simple things just by surfing through example EDS files.
    www.odva.org then search for "EZ-EDS".  They require a quick email registration first.
    Here's a valid link as of this writing:
    http://www.odva.org/Home/CIPNETWORKSPECIFICATIONS/Order/Software/tabid/134/Default.aspx

  • Failed to retrieve data set (dsLibrary) for spry:repeat

    I've tried to make this work with an external xml file,
    external html table, and finally this version with an internal html
    table for the data set source. The source table shows up in the
    browser along with the error message in a box with red header
    "Failed to retrieve data set (dsLibrary) for spry:repeat".
    I used one of the Adobe Samples as a base for my page. I've
    checked and recheck, and I can't find the source of my problem.
    Please help!!!
    My code is below and the url to the page is
    http://www.healthy-horse.info/articles.html
    Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry/">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>hh1</title>
    <link href="matt_layout.css" rel="stylesheet"
    type="text/css" />
    <link href="matt_style.css" rel="stylesheet"
    type="text/css" />
    <link rel="stylesheet" type="text/css"
    href="chromestyle.css" />
    <script type="text/javascript"
    src="SpryAssets/SpryHTMLDataSet.js"></script>
    <script type="text/javascript"
    src="SpryAssets/SpryData.js"></script>
    <script type="text/javascript">
    var dsLibrary = new Spry.Data.HTMLDataSet(null,
    "ArticleLibrary");
    </script>
    <style type="text/css">
    .style1 {color:black}
    .product {
    cursor: pointer;
    .hover {
    background-color: #A6C4E1;
    .selected {
    background-color: #D5C897;
    </style>
    </head>
    <body>
    <div id="masthead"><img class="title"
    src="images/articles_title.gif"/>
    <div class="headerinfo">Great informational articles
    that cover a wide variety of topics relating to
    <strong><em>Horse Health</em></strong> and
    <strong><em>Natural Horse
    Keeping</em></strong>. </div>
    </div>
    <!-- end masthead -->
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li ><a href="default.html"
    >HOME</a></li>
    <li><a
    href="articles.html">ARTICLES</a></li>
    <li><a
    href="faqs.html">FAQ'S</a></li>
    <li><a
    href="links.html">LINKS</a></li>
    <li><a target="_blank" href="
    http://www.healthy-horse.info/forum">FORUM</a></li>
    <li><a href="mailto:[email protected]"
    >EMAIL</a></li>
    </ul>
    </div>
    <div id="wrapper">
    <table width="100%" border="0">
    <tr>
    <td width="30%" valign="top">
    <ul spry:region="dsLibrary"
    spry:repeatchildren="dsLibrary">
    <li class="product" spry:setrow="dsLibrary"
    spry:select="selected" spry:hover="hover">{category}</li>
    </ul>
    </td>
    <td width="70%" valign="top">
    <div spry:detailregion="dsLibrary">
    <div><strong>Articles:</strong>
    {articles}</div>
    </div>
    </td>
    </tr>
    </table>
    <br/>
    <!--SOURCE TABLE-->
    <table id="ArticleLibrary" border="1" cellspacing="0"
    cellpadding="10">
    <tr>
    <th>category</th>
    <th>articles</th>
    </tr>
    <tr>
    <td>Adobe Photoshop CS2</td>
    <td>
    <ul>
    <li>Revolutionary Vanishing Point</li>
    <li>Multiple layer control</li>
    <li>Smart Objects</li>
    <li>Multi-image digital camera raw file
    processing</li>
    <li>Image Warp</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Illustrator CS2</td>
    <td>
    <ul>
    <li>Live Trace</li>
    <li>Live Paint</li>
    <li>Control palette</li>
    <li>Custom workspaces</li>
    <li>Photoshop layer comp support</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe InDesign CS2</td>
    <td>
    <ul>
    <li>Object styles</li>
    <li>Adobe Photoshop and Adobe PDF layer
    support</li>
    <li>InDesign snippets</li>
    <li>Adobe InCopy CS2 assignments</li>
    <li>Save backwards to InDesign CS</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe GoLive CS2</td>
    <td>
    <ul>
    <li>Enhanced live rendering</li>
    <li>Simple visual tools to build and edit CSS-based
    pages</li>
    <li>Visual CSS authoring for mobile devices</li>
    <li>Visual SVG-t inspection and authoring for
    mobile</li>
    <li>Total site management</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Fireworks 8</td>
    <td>
    <ul>
    <li>Get top-quality design results.</li>
    <li>Produce highly optimized files that still look
    great.</li>
    <li>Slice and export page comps.</li>
    <li>Create sophisticated web navigation.</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Professional</td>
    <td>
    <ul>
    <li>Enjoy improved performance</li>
    <li>Extend commenting capabilities</li>
    <li>Easily design Adobe PDF forms</li>
    <li>Enjoy improved attachment capabilities</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Standard</td>
    <td>
    <ul>
    <li>Create Adobe PDF documents from Microsoft
    Outlook</li>
    <li>Enjoy improved performance</li>
    <li>Use enhanced headers, footers, and
    watermarks</li>
    <li>Enjoy improved attachment capabilities</li>
    <li>Organize Adobe PDF documents</li>
    </ul></td>
    </tr>
    </table>
    <!--END SOURCE TABLE-->
    </div>
    <!--end wrapper-->
    <div id="footer"><p class="footer">Mathew Baker
       <a
    href="mailto:[email protected]">[email protected]</a>   
    *     Waynesville, OH</p>
    </div>
    <!--end footer-->
    <br/>
    <p class="center" style="font-size:9px"><img
    src="/cgi-sys/Count.cgi?df=matt.dat|display=Counter|ft=6|md=5|frgb=228;224;224|dd=E"/>
    <span class="style1">Web Design by:   Maria Lee
      -  <a
    href="mailto:[email protected]">[email protected]</a> 
    -   (937)554-4116</span></p>
    </body>
    </html>

    Try moving the SpryHTMLDataSet.js script tag below the
    SpryData.js script tag.

  • Audit specific objects for specific users

    audit statement has the option to choose audit by user list
    audit object has the option to choose audited objects
    now i need to audit specific objects, i.e. user A's tables accessed by a specific group of users, let's say ALL users other than A
    Is it a simple way to achieve this goal? (audit A's tables that accessed by all database users other than A)
    Thanks!

    sorry, the link works now. However, there is nothing new in 10G, same as I read from 9i document. See my highlight below in the quoted document text, my requirements is the combination of them ( specific users and specific objects). Thanks anyway.
    <quote
    Table 8-1 Auditing Types and Descriptions
    Type of Auditing (link to discussion)      Meaning/Description
    Statement Auditing      Enables you to audit SQL statements by type of statement, not by the specific schema objects on which they operate. Typically broad, statement auditing audits the use of several types of related actions for each option. For example, AUDIT TABLE tracks several DDL statements regardless of the table on which they are issued. You can also set statement auditing to audit selected users or every user in the database.
    Privilege Auditing
         Enables you to audit the use of powerful system privileges that enable corresponding actions, such as AUDIT CREATE TABLE. Privilege auditing is more focused than statement auditing, which audits only a particular type of action. You can set privilege auditing to audit a selected user or every user in the database.
    Schema Object Auditing
         Enables you to audit specific statements on a particular schema object, such as AUDIT SELECT ON employees. Schema object auditing is very focused, auditing only a single specified type of statement (such as SELECT) on a specified schema object. Schema object auditing always applies to all users of the database.
    Fine-Grained Auditing
         Enables you to audit at the most granular level, data access and actions based on content, using any Boolean measure, such as value > 1,000,000. Enables auditing based on access to or changes in a column.
    /quote>

  • JDOQL queryfilter failure while retrieving field of "java.lang.Object" Type.

    PROBLEM DESCRIPTION --->
    JDOQL FILTER ON A FIELD OF "java.lang.Object" TYPE, NOT WORKING.
    HELP REQUESTED WITH SUGGESTIONS OR POINTERS TO THE CORRECT SOLUTION.
    Deatiled Problem :=
    Environment :=
    Kodo version 2.4.1 (on Windows 2000).
    J2SDK 1.3.1_06 (on Windows 2000).
    Database:= MySQL 3.23.55 (on Windows 2000).
    Java Class Hierarchy Example:=
    SuperPersistentObject
    |__ LevelOneDescendant
    |__ LevelTwoDescendant
    |__ LastDescendant
    Procedures Followed :=
    Java class named "LastDescendant" is enhanced and persisted in the
    database.
    The field "m_value" is of java type "java.lang.Object" and is
    represented as a "blob" in the database.
    Aadequate data is pumped in the field "m_value" (Data of Type
    String/Integer/Double/Boolean etc.). The class "LastDescendant" is
    retrieved using following JDO specific code :=
    SUCCESSFUL EXAMPLE :=
    Extent extent= PersistentManager.getExtent
    (com.name.project.LastDescendant.class, false);
    String m_queryFilter = "";
    Query query = PersistentManager.getQuery(extent, m_queryFilter);
    Collection m_resultset = (Collection)query.execute();
    The above code returns all the available "LastDescendant" objects
    persisted in the DB. Post Load, The value in the field "m_value" of
    all the retrieved "LastDescendant" objects, is testeded successfully
    and found to be matching to the expected values.
    FAILED EXAMPLE :=
    Extent extent= PersistentManager.getExtent
    (com.name.project.LastDescendant.class, false);
    //Retrieving only the objects whose "m_value" field contains Integer
    // values, between 10 and 9000. (110 objects with Integer value
    // between 10 and 9000 are pumped in the DB, for testing).
    String m_queryFilter = "(m_value >= 10 && m_value <= 9000)";
    Query query = PersistentManager.getQuery(extent, m_queryFilter);
    Collection m_resultset = (Collection)query.execute();
    NO "LastDescendant" OBJECTS RETRIEVED, the Collection "m_resultset" is
    Empty, (Actually Expecting 110 objects).
    Tried every other way, using "declareImports()"/ "declareParameters()"/
    "declareVariables()" etc. Tried TypeCasting the m_value field to Integer,
    but to no avail.
    Actual Classes :=
    public class SuperPersistentObject implements java.io.Serializable {
    protected String appKey;
    public class LevelOneDescendant extends SuperPersistentObject {
    protected SuperPersistentObject m_classRef;
    public class LevelTwoDescendant extends LevelOneDescendant {
    protected Object m_value;
    public class LastDescendant extends LevelTwoDescendant {
    "project.jdo" meta-data entry :=
    <class name="SuperPersistentObject"
    identity-type="application"
    objectid-class="com.name.project.AppKeyImpl">
    <field name="appKey" primary-key="true"/>
    </class>
    <class name="LevelOneDescendant" identity-type="application"
    persistence-capable-superclass =
    "com.name.project.SuperPersistentObject">
    </class>
    <class name="LevelTwoDescendant" identity-type="application"
    persistence-capable-superclass =
    "com.name.project.LevelOneDescendant">
    <field name="m_value">
    <extension vendor-name="kodo" key="data-column" value="VALUE"/>
    </field>
    </class>
    <class name="LastDescendant" identity-type="application"
    persistence-capable-superclass="com.name.project.LevelTwoDescendant">
    </class>
    JDO related properties :=
    javax.jdo.PersistenceManagerFactoryClass =
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionURL= jdbc:mysql://localhost/PRTestDB
    javax.jdo.option.ConnectionUserName= SuperUser
    javax.jdo.option.ConnectionPassword= <xxxxxx>
    javax.jdo.option.ConnectionDriverName= com.mysql.jdbc.Driver
    javax.jdo.option.Optimistic= true
    javax.jdo.option.RetainValues= true
    javax.jdo.option.NontransactionalRead= true
    javax.jdo.option.NontransactionalWrite= true
    javax.jdo.option.RestoreValues= true
    javax.jdo.option.Multithreaded= true
    javax.jdo.option.MsWait= 5000
    javax.jdo.option.IgnoreCache= false
    javax.jdo.option.MinPool= 1
    javax.jdo.option.MaxPool= 80
    com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure= true
    com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass=
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory
    com.solarmetric.kodo.impl.jdbc.FlatInheritanceMapping= true
    com.solarmetric.kodo.LicenseKey= <xxxx-yyyy-zzzz-2345-6789>
    com.solarmetric.kodo.EnableQueryExtensions= false
    com.solarmetric.kodo.DefaultFetchThreshold= 30
    com.solarmetric.kodo.DefaultFetchBatchSize= 10

    You can't query on a blob column.

  • Need to find a calendar to schedule multiple assignments with multiple tasks set on specific days for multiple people

    There may be no such animal as what I am searching for, but I thought I'd give it a try.
    What I need to do is find a calendar app that allows me to have individual calendars for staff members that I can place a several-days-long assignment and have those people access remotely on an iPad or iPhone (autosync).
    I also want to be able to have tasks set on specific days within that assignment that have alerts/reminders for each stage of the assignment.
    Being able to custom colour each individual assignment (not just the person's own calndar) is also necessary, as these asignments overlap and need to be easily distinguishable at a glance. Each assignment needs to be its own entity and not affect any furture or previous entries, even if I choose the same colour.
    It needs to be in a month by month view and be able to be something each person can subscribe to and sync up with for changes on a daily basis. It does nothave to be a calendar like in the screen shot below, it could be a linear calendar that has days across the top and assignments down the left side.....
    Here is a screen shot of a rudimentary excel spreadsheet I have been using. It is awkward and becoming unmanageable as the number of assigments increases and more staff are being added on. And I must send a new spreadsheet out every time I make a change or add an assignment, which is several times a week.
    I suspect I may be asking for the world, but if anyone knows a direction I can go in to start a search, I'd be grateful. I haven't had success of my own so far and need to find something soon.
    iCal doesn't work for me due to the fact I can only colour code the calendar itself and not the event, plus not being able to have multiple tasks within one event. And the qty of assignments I'd have would see most getting lost, eliminating my abilty to see every staff member's assignmanet at the same time.
    Thank you in advance if you have a suggestion and if not, thanks for looking at my dilemma! 

    check with T-code TPM44
    zashok

  • How do I set up the "Objects and Attachments"

    Hi .... I'm new at WorkFlow (and SAP for that matter) and have inherited a WF that is already built.  In several of the steps I can see "Objects and Attachments" on the work item screen where a User can click to be directed to a transaction. For example, on one screen the User can click on "Incoming Invoice: 5105601690" to be directed to the Invoice Display Screen that is populated with information for that particular invoice (5105601690).
    I am looking at the WF using TCode SWDD and cannot figure our how the original developer set this up.  So my question is ..... for a particular WF step, how do you set up the "Objects and Attachments: area so that the User will be directed to a particular transaction when he/she clicks on it.
    Thanks in advance, and sorry for such a "juvenile" question.
    Dan A

    Thanks for your reply Rajkumar,
    I am looking at the screen you have directed me to.  Business object is BUS2081 (actually it is ZMMWBS2081 which is a customized version BUS2081) Method is "Display" and Attribute is "InvoiceDocNumber".  How do I know by looking at this that "Display" means Display Invoice?  What if I wanted to display the PO instead?
    Thanks for the "spoon feeding".
    Dan A

  • How can I set a specific user log on neme to a specific machine

    Greeting,
    I have a question : 
    How can I set a specific user log on name to a specific machine.
    e.g. 
    Only User.A can log on to PC.A and the other can not.
    Base On :
    Windows Server 2003
    Active Directory Version : 5.2.3790.1812

    Technically we're both right.  This depends on what scenario you're setting this up.
    1)  If you want to say only this person can log on to this machine, and it's not an enterprise solution (meaning you have a handful of computers you want restricted, not all computers) then do something like Yan Li has recommended.  However, I
    do not recommend using any DENY LOCAL LOGON user rights.  In this case, you would have to deny everyone except 'User A' and your Administrators.  If you put a user in ALLOW LOCAL LOGON and DENY LOCAL LOGON, then DENY wins and no one logs in.  Instead,
    you should remove all the settings from ALLOW LOCAL LOGON and add only User A and administrators.
    2) If this is an enterprise solution, use the LOG ON TO option I mentioned before.  Managing user right assignments per machine is very difficult and isn't a practical way to do it on a large scale.  If every user in your domain is assigned a computer
    that they can use, only that user can use that machine and that machine will effectively only allow that user.  For this to work, EVERY user must be restricted to a workstation, if no setting is present, then that user can log on anywhere.  This
    is my preferred solution still.
    Like I said, it depends on your situation to which route is better.  I hope this helps and is clear and easy to understand.
    - If you have my posts to be helpful, or the answer, please mark them appropriately.  Thank you.
    Chris Ream

  • How to Run a Request Set on specific days and at specific hours

    Hi community,
    The question is simple, how to rin a Request Set on Specific Days and at Specific hours?
    Let me explain the scenario.
    E-Business Suite, Release 11.5.9.
    We have a request set under Sysadmin user. This Request set is running 24x7, during all year, and we want to restrict the execution from Monday to Friday since 08:00 a.m. to 20:00 p.m. in order to increase the productivity of our system and more over, to avoid the size increase of a table (OE_EXPOSURE_INTERFACE)
    The Request Set includes 5 Requests:
    10. Workflow Background Process.
    20. GUZMAN: Cálculo metodo pago en pedidos.
    30. GUZMAN: Exposición de crédito externo.
    40. Credit Exposure Import.
    50 Initialize Credit Summaries Table.
    As you can see three of them are standar Oracle Order Management Processes and two of them are custom Oracle Order Management Processes; and the requests must be executed in that order.
    We have just thinking about to create a Custom Manager with a workshift from Monday to Friday since 08:00 a.m. to 20:00 p.m., and include the requests as specialization rules or assigning those request to a Request Type and then include that Request Type as specializated rule, but this does not assure us that the request will be executed in that order.
    Any suggestion?
    Thanks a lot for your answer in advice.
    Luis.

    Hi Anchorage,
    It could be a solution, but not the exact solution that we want. Let me say why.
    With the Request set we have the security that each concurrent request is executed when the prior one finishes; is that to say 20, does not begin till 10 finishes, and 30 does not begin till 20 finishes and so on. The most critical concurrent requests are 40 and 50, cause those are the ones that import an external credit exposure in the OE_EXPORURE_INTERFACE table (40) and are the ones that delete those external credit exposures imported (50). The problem is (and we do not know why) that these actions makes grow the size of the table and each time the 40 and 50 processes takes more minutes to finish. That's why we need to truncate the table in order to avoid the excesive grow of itself.
    Making each process independent, with a begining time and hoping and expecting that the following one does not begin till the prior one ends is not an admisible or realizable solution due to the problem with the 40 and 50 processes.
    So at the end, we need a request set in order to know that each one began when the prior one ends.
    And Due to in order to truncate the table, as I said before, the processes that have a relationship whit it, must be stopped (just the 40 and 50 processes) prior to the truncation.
    So as you see, it is difficult, very difficult.
    Regards.

  • How to set a specific starting time for the falling snow code snippet

    Hi everyone
    I want to use the falling snow code snipet but I don't want it it to start as soon the movie starts.
    So how to set a specific time to start the falling snow?
    Thanks
    Patricia

    put the code (that's not in a function body and excluding variable declarations and import statements) in a function body and call it using the timer class.

  • How to set a specific time zone for time channel in DIADEM

    Hi,
    I'd like to know how to autmatically set a specific time zone for time channels in DIADEM.
    For example, I have stored data with corresponding time channel in UTC time on a disk which was collected in another time zone. Now I want to analyze this data and I want the time channel to show the local time in the time zone where the data was collected, and not the time in the local time zone where the computer is located.
    The time channel should also take site local summer/winter time into account. Now I'm running a script that handles it for me which adds or subtract hours according to my input. The problem is that I'm handling data from several different time zones and I'm not located in any of them and when you're running a lot of data over a greater time period, it's easy to make mistakes, especially when it comes to summer/winter time. Is there a any clever solution to this already implemented in Diadem that I have not found? 

    Hi hj77,
    No, I'm sorry, DIAdem has no time zone functionality at all.  I'm afraid you have no choice in DIAdem but to keep running your scripts.  Summer and Winter time are truly tricky, because the rules for when the changes occur are different in different countries and states within countries and also can change from year to year within the SAME country (as they did in the US a few years ago).
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • System is not set to changable - objects are not changeable

    Hi Gurus,
    I am trying to open a query in the test system. while opening the query a error message is showing like: system is not set to changable - objects are not changeable.
    Kinly let me know how to solve this error.
    Due to this reason in my Plannin modler screen its showing that query is inconsistant,
    Regards
    Sajid khan
    Edited by: sajid.khan on Jun 22, 2010 9:35 AM

    Hi.
    In RSA1->Transport connection->ShftCtrl0 check whether you have any transport request connected.
    In addition ensure in "objects changebility" that you can change queries.
    Regards.

  • How to set adapter specific message attributes on Pi 7.1 inside a Java map.

    Hello,
    how can I set adapter specific message attributes in a Java mapping on PI 7.1.? The TransformationInput grants access to the DynamicConfiguration but the TransformationOutput doesn't. I have found threads refering to the old way of implementing Java mappings (e.g. Get dynamic filename in a Java Mapping (NOT UDF)). But there doesn't seem to be one refering to the actual PI.
    Kind regards,
    Heiko

    Using DynamicConfiguration from the TransformationInput works.

  • Unable to retrieve attributes set in session.

    hi
    iam working on simple shopping cart application where iam using three arraylists to get three different items and then adding the objects of those
    arraylists to anew arraylist and setting the arraylist object as session attribute.........
    but ,when aim retriving those values using session.getAttribute();
    iam able to get only any one item values even if i select the other items.

    You can simplify your logic and test your code in a simple class.
    import java.util.ArrayList;
    public class TestArrayList {
    public static void main(String args[]) {
         ArrayList ar1 = new ArrayList();
         ar1.add("1");
         ar1.add("2");
         ar1.add("3");
         ArrayList ar2 = new ArrayList();
         ar2.add("11");
         ar2.add("12");
         ArrayList myWholeList = new ArrayList();
         saveToList(ar1,myWholeList);
         saveToList(ar2,myWholeList);
         showItemInArrayList(myWholeList);
    public static void saveToList(ArrayList input, ArrayList wholeList) {
         wholeList.addAll(input);
    public static void showItemInArrayList(ArrayList show) {
         if (show!=null && show.size()>0) {
              for (int i=0; i<show.size(); i++) {
                   System.out.println((String)show.get(i));
    }

Maybe you are looking for