Problem with DESC ordering for the resolution of conflicts

I am trying to create a composite event with semantic alias set and table. I created a simplified below example to show the problem that I get. I have assessments that are entered into a table, and whenever a new is an elder at the same address, the composite event should fire. But, if there is more than two for the same address, I want only to raise the event for the most recent prior assessment. I know that this is not yet a complete solution I have to find a way to expire old events after they are used for the composite event, but I can't get beyond the error I get. CREATE_RULE_CLASS gives me the following error:

Error on line 1
ORA-41621: error in ordering the property:
ORA-00904: "RLM$ EVENT. "" RLM OBCOL_0DESC$ ": invalid identifier
ORA-06512: at "EXFSYS. DBMS_RLMGR', line 709
ORA-06512: at line 2

Looks like he's trying to treat my "DESC" designation under another name of the column to order by. Oracle 11g Enterprise 11.1.0.7.0. Here is my script:

CREATE TABLE APPRAISALTEST
(
APPRAISAL_ID NUMBER (20) NOT NULL,
ADDRESS_ID NUMBER (20).
DATE OF APPRAISAL_DATE,
NUMBER VALUE (10)
);

CREATE A UNIQUE APPRAISALTEST_PK ON APPRAISALTEST INDEX
(APPRAISAL_ID);


Start
DBMS_RLMGR. CREATE_EVENT_STRUCT (data = > 'AppraisalPair');

DBMS_RLMGR. () ADD_ELEMENTARY_ATTRIBUTE
Event_Struct = > 'AppraisalPair ',.
attr_name = > "appr1"
tab_alias = > RLM$ TABLE_ALIAS ('APPRAISALTEST'));

DBMS_RLMGR. () ADD_ELEMENTARY_ATTRIBUTE
Event_Struct = > 'AppraisalPair ',.
attr_name = > "appr2"
tab_alias = > RLM$ TABLE_ALIAS ('APPRAISALTEST'));
end;

BEGIN
DBMS_RLMGR. () CREATE_RULE_CLASS
rule_class = > 'AppraisalPairRC ',.
Event_Struct = > 'AppraisalPair ',.
action_cbk = > 'AppraisalPairCBK ',.
actprf_spec = > ' EVENT_TYPE VARCHAR2 (20), EVENT_PARAM VARCHAR2 (20),
rslt_viewnm = > 'NewAppraisalPairs ',.
rlcls_prop = > ' < composite equal = 'appr1. ADDRESS_ID, appr2. ADDRESS_ID"' |
' consumption = command 'shared' = 'appr1. ' APPRAISAL_DATE DESC' cnfevents = 'I' / > ");"
END;

SET DEFINE OFF
insert into AppraisalPairRC (rlm$ ruleid, score_component_type, score_value, rulecond$ rlm)
values ('Rule1', 'ABC', 'DEF',
' < condition >
< and join = "Appr2.APPRAISAL_DATE & gt; Appr1.APPRAISAL_DATE and Appr2.VALUE & gt; Appr1.value">
< name of the object = "Appr1" / >
< name of the object = "Appr2" / >
< / and >
(< / condition > ');

Hello

You came across a bug that has been fixed in the latest version. You can work around this problem by changing the command clause as follows.

SQL> BEGIN
  2            DBMS_RLMGR.CREATE_RULE_CLASS (
  3            rule_class => 'AppraisalPairRC',
  4            event_struct => 'AppraisalPair',
  5            action_cbk => 'AppraisalPairCBK',
  6            actprf_spec => 'EVENT_TYPE VARCHAR2(20), EVENT_PARAM VARCHAR2(20)',
  7            rslt_viewnm => 'NewAppraisalPairs',
  8            rlcls_prop => '');
 10  END;
 11  /

Hope this helps,
-Aravind.

Tags: Oracle

Similar Questions

  • Dynamic problem with lookup-query for the purpose of resource request

    Hi all
    I need to set up several IOM user exchange mailboxes, I can set up AD account and account of the mailbox without any problem, but only for the first ad and Exchange account. For the second and third, etc. I get the error: "Invalid login name" during Exchange of account provisioning. I discovered that this problem exists with Exchange Connector - it is not able to collect correct GUID. So in my xml Dataset I use dynamic query Lookup to select manually correct Alias, the login name and GUID. The query for the GUID is the sequel (I cloned RO for AD and Exchnage):

    AttributeReference available-in-bulk = "true" length = "32" widget = 'search query' type = 'String' attr-ref = "Object GUID" name = "Object GUID" >
    * < lookupQuery search-query = "select distinct UD_KFUSER_OBJECTGUID GUID, ud_KFUSER_uid like UD_KFUSER UD_KFUSER, orc orc Login, sta sta where UD_KFUSER.orc_key = orc.orc_key and orc.usr_key = ' $Form data." Take ' and UD_KFUSER. "UD_KFUSER_AD = 27 and orc.orc_status = STA.sta_status AND STA.sta_bucket! = 'Cancelled'" display-field = "GUID" save-field = "Object GUID" / > *.
    * < / AttributeReference > *.


    My questions are:

    1. I have to type * to run the query in the user interface, without * I got error:

    + < 17 February 2012 11:12:22 THIS > < error > < oracle.adfinternal.view.faces.config.ric +.
    h.RegistrationConfigurator > < BEA-000000 > < ADF_FACES - 60096:Server Exception durin
    PPR, #10 g
    oracle.iam.platform.canonic.base.NoteException: an error occurred during executin
    g the search query.
    to oracle.iam.platform.canonic.agentry.GenericEntityLookupActor.perform)
    GenericEntityLookupActor.java:337)
    Is this right?

    2. when I got correct values (from the search query) - they are missing on the details of the application and form of RO - what Miss me?

    I use OIM 11.1.1.5, in my xml dataset I use correct attr-Ref (labels), when I type the values manually, they are propagated to form RO and Exchange mailbox is created.
    Best
    MP

    I not had no problem when writing search query.
    This works very well for me.
    The request will be filled for the field, so why choose *?
    I used as

  • Problem with cursor Max for the PLSQL called by OAF Page

    All,

    We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

    This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

    Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

    Ex PLSQL Call:

    String createRow = null;

    try {}

    OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

    callablestatement.setString (2, primaryJob.getText (pageContext));

    callablestatement.registerOutParameter(1,Types.VARCHAR);

    CallableStatement.Execute ();

    createRow = callablestatement.getString (1);

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    System.out.println("CreateRow:"+CreateRow);

    CallableStatement.Close ();

    }

    catch (Exception e) {}

    e.printStackTrace ();

    pageContext.writeDiagnostics (this, try (), 1);

    }

    Thank you

    A

    Ankit,

    Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

    In addition,

    Why do you call the code inside this test below? What is the link?

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    Why do you need the code below? Delete this.

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    Move the callablestatement.close ();  outside of try catch.

    See the link, if you need some examples below:

    Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

    See you soon

    AJ

  • Problem with 'source file for the environment.

    Hello, I have problems with the supply environment file.

    I just read this post...

    How to "Source in the environment file.

    How to find the file of the environment. But after I Executive the .env file there is nothing set up. I checked "echo $APPL_TOP and there is nothing."


    My environmental record is:

    /D01/Oracle/vis/FS1/EBSapp/appl/APPSVIS_ebs122.env


    Then... I'm source Pentecost environmental record these steps:


    step 1: cd /d01/oracle/VIS/fs1/EBSapp/appl/APPSVIS_ebs122.env

    step 2:./APPSVIS_ebs122.env


    And still nothing.


    Help with this?


    Thank you.

    Send "source /d01/oracle/VIS/fs1/EBSapp/appl/APPSVIS_ebs122.env" followed by "env | ranking"to check.

    Thank you

    Hussein

  • Problem with joining photos for the Windows 8 library mail program and error message 'create an association in the default program control panel '.

    Original title: E-mail question

    I want to send pictures of the library in Windows 8. Cannot do. He told me to create an association in the default program control panel. Been there, no help.

    Hello Jeff,.

    Please keep us updated on the status of the issue.

    I will certainly help you in the right direction to solve the problem. However, I would be grateful if you could let us know that you have set the email client that you use as default to the Control Panel program to send and receive electronic messages from the computer.

    Please respond with the requested information, in order to help you solve the problem.

    Thank you

  • I have a problem with an error for the ad blocker that interferes with the video playback

    Whenever I try to watch a video, I get this error message:

    Oops, you have activated an adblocker!

    To watch this episode, please disable it and refresh the page.

    I removed anti-ad, refresh the page and the error came again. I have installed firewall bluhell and handicapped who, refreshed the page and the error message still appears. I've added will eliminate them permanently, click on remove and which did not help. I never had these problems before.

    Maybe a different extension is at stake. Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    That you still get this message?

  • I have a problem with a record for the administrator account.

    Original title: my password as an administrator does not work how to fix it when it doesn't let me do anything to my computer without password

    my computer will be noy take my password. IM the only one without her addministrator I can't make changes or even get in my control panel. my index is always the same that a TI does not work. Can howw I fix?

    There are a lot of options built into Windows to help you out of this situation:
    • Restart the computer with your Windows repair CD, then use system restore to set Windows in a few days (only works if you have recently changed the password).
    • Log on to your account admin to spare, and then reset the password for your existing account (works only if you set up an alternative admin account).
    • Log in as administrator mode without failure, then reset the password for your existing account (the password is usually empty).
    • Insert your flash drive USB with the password key file (only works if you have taken the time to create such a key file).
    • Use the password indicator (works only if you have created an index and it is up-to-date)
    • Check your paper files (works only if you threw down the password somewhere)
  • A good day! Make an order for the iPhone to your site, the provision of the code ' reservation number is: B2 * Q0A "many skills information. It is impossible to confirm the order. What is the problem?

    A good day!

    Make an order for the iPhone to your site, the provision of the code ' reservation number is: B2 * Q0A "many skills information. It is impossible to confirm the order. What is the problem?

    It is a support so nobody user forum here can help you. Maybe if you release with Apple itself.

    http://www.Apple.com/contact/

    There are links here to the online store.

  • How to change the boot order for the applications to the taskbar?

    When I moved to W7, software of my trackball wouldn't work and Kensington wouldn't fix, so I moved to a conventional mouse. I recently bought a better mouse and it has its own software. The software works very well, the problem is that it starts towards the end of the boot sequence. I would like to start earlier. The problem is that all the research I've done changing the order of departure come back with how to change the order of display in the taskbar.

    How can I change the boot order for the applications to the taskbar for the software for the mouse, boots earlier in the list?

    Windows does not have native to adjust the boot order, but there are third party solutions. See

    http://www.howtogeek.com/52043/how-to-control-the-order-of-startup-programs-in-Windows/

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Problem with copying and pasting the bottom like a layer

    I use Photoshop elements 14.  I used the Polygonal Lasso to select part of an image and to turn off the Cup in a new layer.  I opened the image I want to use as the background to place the cutting on.  I select all and then copy and paste it into the file with the cutting.  What appears as a layer of this background in cutting a file image is a tiny part of the original image.  For example, the original image is a photo of the entire landscape and all that glue in the bottom layer is a small part of the sky.  I changed the resolution of the original background photo and the file with the cutting at the same resolution and that did not help.  How can I get the whole background photo to appear as a layer of the file cut on the Photo?

    If I understand your problem, using this example, I selected the background flower later and placed on a new layer, layer 1. Then I selected the field of the whole flower to another image and and copy/pasted on layer 2. The problem is not so much the resolution of 2 photos but rather their pixel dimensions. In this example, the dimensions of the field of flowers were much smaller than the image of the close-up.

    I resized and then 2 layer to fill the drawing area:

    Perhaps it would be easier to pick the flower of the image enlarged and paste the selection in the field of flower photo. Then, you can resize and reposition the flower according to the needs:

    If this isn't your scenario, please specify.

  • I have a payment problem trying to register for the plan of creative photography of cloud.

    I tried to register for Adobe Creative cloud photography plan today and I met a payment problem, when I tried to pay with my credit card for the S $13 per month plan. He informed me that there was a problem with my order and asked me to call 800-448-1642. I did and the useful operator said that it could raise the question for the payment service. I received the answer from earlier, and I copy it here so that you can help me with it.

    [email protected] through Flybe.com

    16:05 (2 hours ago)

    For me

    Dear Kim NGO,

    Thank you for your interest in Adobe Store-APAC & LATAM. According to your request, we spent reviewing your order. Unfortunately, we are unable to complete your order at this time. If you are still interested in purchasing the products, please place a new order using a non credit card payment method.

    Please note: this e-mail was sent from a notification-only address who does not accept incoming emails. Please do not respond to this message.

    Sincerely,

    Adobe Store-APAC & LATAM Customer Service

    Shop.Adobe.com

    So, how to buy the monthly subscription to Adobe Creative Photography Cloud plan without using a credit card?

    I called my Bank and they verified that there was no transaction on their record for any payment for S $13 today. I tried with my VISA and AMEX card credit (from different banks) and the two do not work. Why Adobe / Digital River rejects my credit card payment?

    The problem seems to be resolved, please try to place another order, send me the result.

    Concerning

    Baudier

  • Are there any known problems with external battery for iPhone 6 s karim?

    Are there any known problems with external battery for iPhone 6 s karim? Jackery of input: 5V / 2. 1a.

    I had heard that some may damage internal parts of the phone.

    I am interested in what Apple says rather than what says karim.

    Thank you.

    Jkim99 wrote:

    Are there any known problems with external battery for iPhone 6 s karim? Jackery of input: 5V / 2. 1a.

    I had heard that some may damage internal parts of the phone.

    I am interested what said Apple rather than what it says karim.

    Thank you.

    There is no Apple here in this technical forum from user to user.

  • I have a problem with my password for my MSN account.

    I'm having a problem with my password for Windows Live.  It does not recognize the sensitive passwords case.  I asked cela before and you refered me to Windows Live.  And I give them credit.  They tried several times to fix my problem and failed.  Then they refered back me to you.  And guess what, you refered me to Windows Live.  I'm stuck in limbo between you two.  CAN SOMEONE HELP ME WITH MY PROBLEM PLEASE?  PLEASE...  PRETTY PLEASE...

    This is a forum for issues relating to security, privacy and user for the Windows XP operating system accounts.

    Post Windows Live questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Problem with Windows Update after the new installation of Windows 7 Pro the Lenovo ThinkPad X 200

    I'm trying to do a fresh install of Windows 7 Pro on a Lenovo ThinkPad X 200. The product key is easy to find on the sticker of the ThinkPad. However, the version of Windows is hidden (for example, I can't check that my ThinkPad had originally installed Windows 7 Pro). I was able to install by using a Pro Win 7 SP1 CD ROM I bought for another installation. I used the ThinkPad I was trying to make the new facility on the product key. I was able to activate the Windows 7 Pro using the phone call and my cell phone. I checked the activation! However, I have problems with Windows update. The product key may be a different version of Windows 7. If so, why did it install and activate OK? Y at - it a fix for this problem or I have to buy a new version of Windows 7 Pro? Please note that I have not yet installed all drivers Lenovo ThinkPad as I can't seem to install correctly. Thank you!

    Since the issue is updated to Windows, it is not a product number key.

    You can reset the Windows Update components by running the Fixit on this page. But if there is malware present, she will continue to reset the connection to the update servers:

    How to reset the Windows Update components

    http://support.Microsoft.com/kb/971058

    Suggest you download and save the Fixit. Then configure the system before the clean boot by running:

    How to troubleshoot a problem by performing a clean boot in Windows Vista/Windows 7

    http://support.Microsoft.com/kb/929135

    Once the Fixit has been downloaded and the system is started in the pure State, check that the native Windows Firewall is now on if a 3rd party firewall has been used previously. Now run the Fixit and choose the default mode. Restart once it's done and see if the system can be connected to the update servers. If he can't, then rerun the Fixit and choose aggressive mode. Turn it back on when he finished the race and updates.

Maybe you are looking for

  • Unable to read the "Bourne Ultimatum" HD DVD

    Hello I bought two times now the HD DVD of "The Bourne Ultimatum.But it does not start. Other HD DVD works properly. Who can help? Thank you!

  • Calibrate the IMU to any desired level/executive aircraft

    Hi, I make an IMU display using LabVIEW. I want to pitch/yaw/roll to easily calibrate (or reset) to any level of management/attitude. I think as for example From positions = 90 degrees. If I could make this a "int x" value and so that would mean yaw

  • Open msg files

    How can I open the saved Outlook msg files if I don't have Outlook on my computer?

  • Reference Dell 2407WFP-HC driver for Windows 7 x 64?

    I was wondering if there was a new driver for the 2407WFP-HC has published since the original on 24/10/06 (as shown in my device manager). I've seen several for the 2408... Which driver should I I have installed for optimum performance with my Dell 1

  • BlackBerry Curve 8330 of Smartphones camera-can't save photos

    Greetings, Just upgraded to the curve 8330 after that my 8703e died. Received yesterday and took a picture and saved it. Did not consider the meter that I didn't even know it existed then. Activated my email and etc through today assistance companies