Load the rules from database?

Hello

I understand that I can load rules from the file system by using the following code:


Configuration EngineConfiguration = new EngineConfiguration();
configuration.setRulebaseDirectory (rulebasePath);
InterviewEngine engine = InterviewEngineFactory.createInstance (setting);


But in my case I want to store and load the database rules. How can I achieve this?

GBTW,

I guess you want to load from a database of rulebases determinations Web. The explanation of how to do this in: Oracle policy Automation Developer Help in the section create a Service modules

You will find a tutorial by searching: DerbyRulebaseService using the developer.

Tags: Oracle Applications

Similar Questions

  • Generic procedure to load the data from the source to the table target

    Hi all

    I want to create a generic procedure to load data of X number of the source table to X number of the target table.

    such as:

    Source1-> Target1

    Source2-> Target2

    -> Target3 Source3

    Each target table has the same structure as the source table.

    The indexes are same as well. Constraint are not predefined in the source or target tables.there is no involved in loading the data from the business logic.

    It would simply add.

    This procedure will be scheduled during off hours and probably only once in a month.

    I created a procedure that does this, and not like:

    (1) make a contribution to the procedure as Source and target table.

    (2) find the index in the target table.

    (3) get the metadata of the target table indexes and pick up.

    (4) delete the index above.

    (5) load the data from the source to the target (Append).

    (6) Re-create the indexes on the target table by using the collection of meta data.

    (7) delete the records in the source table.

    sample proc as: (logging of errors is missing)

    CREATE or REPLACE PROCEDURE PP_LOAD_SOURCE_TARGET (p_source_table IN VARCHAR2,

    p_target_table IN VARCHAR2)

    IS

    V_varchar_tbl. ARRAY TYPE IS VARCHAR2 (32);

    l_varchar_tbl v_varchar_tbl;

    TYPE v_clob_tbl_ind IS TABLE OF VARCHAR2 (32767) INDEX OF PLS_INTEGER;

    l_clob_tbl_ind v_clob_tbl_ind;

    g_owner CONSTANT VARCHAR2 (10): = 'STG '.

    CONSTANT VARCHAR2 G_OBJECT (6): = 'INDEX ';

    BEGIN

    SELECT DISTINCT INDEX_NAME BULK COLLECT

    IN l_varchar_tbl

    OF ALL_INDEXES

    WHERE table_name = p_target_table

    AND the OWNER = g_owner;

    FOR k IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    SELECT DBMS_METADATA. GET_DDL (g_object,

    l_varchar_tbl (k),

    g_owner)

    IN l_clob_tbl_ind (k)

    FROM DUAL;

    END LOOP;

    BECAUSE me IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    RUN IMMEDIATELY "DROP INDEX ' |" l_varchar_tbl (i);

    DBMS_OUTPUT. PUT_LINE (' INDEXED DROPED AS :'|| l_varchar_tbl (i));

    END LOOP;

    RUN IMMEDIATELY ' INSERT / * + APPEND * / INTO ' | p_target_table |

    ' SELECT * FROM ' | '. p_source_table;

    COMMIT;

    FOR s IN l_clob_tbl_ind. FIRST... l_clob_tbl_ind LAST LOOP.

    EXECUTE IMMEDIATE l_clob_tbl_ind (s);

    END LOOP;

    RUN IMMEDIATELY 'TRUNCATE TABLE ' | p_source_table;

    END PP_LOAD_SOURCE_TARGET;

    I want to know:

    1 has anyone put up a similar solution if yes what kind of challenges have to face.

    2. it is a good approach.

    3. How can I minimize the failure of the data load.

    Why not just

    create table to check-in as

    Select "SOURCE1" source, targets "TARGET1", 'Y' union flag double all the

    Select "SOURCE2', 'TARGET2', 'Y' in all the double union

    Select "SOURCE3', 'Target3', 'Y' in all the double union

    Select "SOURCE4', 'TARGET4', 'Y' in all the double union

    Select 'Source.5', 'TARGET5', 'Y' in double

    SOURCE TARGET FLAG
    SOURCE1 TARGET1 THERE
    SOURCE2 TARGET2 THERE
    SOURCE3 TARGET3 THERE
    SOURCE4 TARGET4 THERE
    SOURCE.5 TARGET5 THERE

    declare

    the_command varchar2 (1000);

    Start

    for r in (select source, target of the archiving of the pavilion where = 'Y')

    loop

    the_command: = "insert / * + append * / into ' |" r.Target | ' Select * from ' | '. r.source;

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    the_command: = 'truncate table ' | r.source | "drop storage."

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    dbms_output.put_line(r.source ||) 'table transformed');

    end loop;

    end;

    Insert / * + append * / into select destination1 * source1

    truncate table SOURCE1 drop storage

    Treated SOURCE1 table

    Insert / * + append * / to select TARGET2 * in SOURCE2

    truncate table SOURCE2 drop storage

    Treated SOURCE2 table

    Insert / * + append * / into select target3 * of SOURCE3

    truncate table SOURCE3 drop storage

    Treated SOURCE3 table

    Insert / * + append * / into TARGET4 select * from SOURCE4

    truncate table SOURCE4 drop storage

    Table treated SOURCE4

    Insert / * + append * / into TARGET5 select * from source.5

    truncate table source.5 drop storage

    Treated source.5 table

    Concerning

    Etbin

  • Load the data from a text file into a table using pl/sql

    Hi Experts,

    I want to load the data from a text file (sample1.txt) to a table using pl/sql

    I used the pl/sql code below

    ***********************************
    declare
    f utl_file.file_type;
    s varchar2 (200);
    c number: = 0;
    Start
    f: = utl_file.fopen('TRY','sample1.txt','R');
    loop
    UTL_FILE.get_line (f, s);
    insert into sampletable (a, b, c) values (s, s, s);
    c: = c + 1;
    end loop;
    exception
    When NO_DATA_FOUND then
    UTL_FILE.fclose (f);
    dbms_output.put_line('No. deles de lignes insérées: ' || c);
    end;

    ***************************************

    and my sample1.txt file looks like

    ***************************************
    1
    2
    3
    ***************************************

    Gets the data inserted, with way below

    Select * from sampletable;

    A, B AND C

    1-1-1
    2-2-2
    3 3 3

    I want that data to get inserted as

    A, B AND C

    1 2 3

    The text file I have is to have three lines, and the first value of each line should go to each column

    Help, please...

    Thank you
    declare
    f utl_file.file_type;
    s1 varchar2(200);
    s2 varchar2(200);
    s3 varchar2(200);
    c number := 0;
    begin
    f := utl_file.fopen('TRY','sample1.txt','R');
    utl_file.get_line(f,s1);
    utl_file.get_line(f,s2);
    utl_file.get_line(f,s3);
    insert into sampletable (a,b,c) values (s1,s2,s3);
    c := c + 1;
    utl_file.fclose(f);
    exception
    when NO_DATA_FOUND then
    if utl_file.is_open(f) then utl_file.fclose(f); ens if;
    dbms_output.put_line('No. of rows inserted : ' || c);
    end;
    

    SY.

  • Can we use Source accounting entity group to load the data from multiple entities with a single rule to load?


    Page 79 of erpi_admin_11123200.pdf says that "reporting entity groups are used to extract data from several reporting entities in a single data rule execution.  I use standard EBS adapter to load data in HFM application, I created a group of entity made up of several accounting entities, but I can't find a place in FDMEE where you get to select/use this group... When you define an import format you type the name and select Source (e, g. EBS) system you can select Map Source (for example EBS11 I adapter) or the accounting entity (it is what I select to define data load maps), but not both.  Note that there is no place to select the Group of accounting entity...  Location check menu group entity drop-down but it doe not my group of accounting entity which I believe is anyway something different... and creating a location and pointing to a format compatible with the selected Source adapter is no not good either... I'm confused, so is it possible to load data from several reporting entities in one rule to load or am I misreading the documentation?  Thank you in advance.

    Do not leave the field blank in the Import Format. If leave you empty to the place, when you set the rule to load data (for the location with EBS as a Source system), you will be able to select a single accounting entity or a group of accounting entity.

    You can see here

    Please mark this as useful or answer question so that others can see.

    Thank you

  • Load the rule with the data in two columns.

    I have a SQL Interface as the source of data for my rule to load but I have two columns of data, it is possible to load them into the same rule of load?

    Published by: user5170363 on June 4, 2010 18:51

    Published by: user5170363 on June 4, 2010 19:04

    This is in addition to what Glenn says.
    Generally, we will have two types of data files.
    If we have five dimensions.

    (1) in the first five columns of data files is the names of the members and the last column data.
    The mapping is like this:
    column contains the names of the members the deposited property is a corresponding dimension name
    column contains numbers the area of the given property.

    (1) in the foucolumns files first is the member names and you have one or more columns of data
    The mapping is like this:
    column contains the names of the members the deposited property is a corresponding dimension name
    column contains numbers the property field is the names of the members of the dimension remaining problems (level 0).

    Note: To provide the missing information from the dimension, you can use header definition in the rules file.

  • To access the data from database to a remote computer

    Hi all

    Can someone tell me how to access data from a database, sitting on another computer? I use the Sqlite database. It works fine in my computer. But I don't know hoe to put the database in another computer (server) and access the data from there. In my program, it is essential to do this for a simultaneous use for different users. Someone please help.

    Kind regards

    Cindy.

    I found the solution... http://ConnectionStrings.com/

  • Unable to remove the user from database

    Hi all

    I'm unable to remove the user from the database and get the error shows:

    "must use DBMS_AQADM. DROP_QUEUE_TABLE to drop the queue tables"

    I find 3 table with AQ prefix in the schema, but unable to remove the table even using "sys" user.

    No idea how I can do?

    Kind regards

    Hello

    select object_name,object_type from dba_objects where owner='USERNAME' and object_name like '%AQ%';
    

    TO remove the table from the queue, sign in as the owner and

    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'PASTE_THE_OBJECT_NAME_FROM_ABOVE',force =>TRUE);
    

    Anand

  • What is the fastest way bulk load the data from ACE / 400 to Oracle?

    Asked me to move data from the AS / 400 to Oracle11gR2 as fast that ODI may eventually. Quinte just no mapping, no transformation, no membership.

    An ODI11g agent is started on the computer of Oracle target, but being new ODI, I don't know how to use SQL for Oracle LKM loading in a scene and then updated incremental Oracle IKM layout from staging to the target table.

    It took 50 minutes to move recorded about 4 million. I need to get this in about 10 minutes. So guys, if there is a best practice to do this, please let me know, but now I'll try any suggestion you might think.

    Thank you in advance.

    Means the faster is to use a combination of ODI interface and ODI tool named OdiSqlUnload.
    N ° 1). Use the ODI OdiSqlUnload tool to export the data from the AS / 400 files in a flat file of the BONES.
    Step 2.) Use this flat file as source and LKM file for Oracle (SQLLDR) and Oracle IKM incremental update to load Oracle data.

    Your current path is slow because it operates on a row by row basis.

  • Loader will load the images from another server, but then we get error on Bitmap operation

    I develop an application that currently uses Loader to get the images to another server.  This should not work now because we are still waiting for the owner of that server to put a crossdomain in place file.  However, it works - sort of .

    Charger can load the images very well, without error.  But then the application has a feature that we are a great duplicate of the image to display in a sidebar, we do this in this way:

    var myBitmap:Bitmap = Bitmap (loader.content);

    and when will we get a Flash player 2122 security error, violation of sandbox.

    So although I hope that all this will fix itself when the crossdomain.xml file is set up, I am confused as to why we get only the sandbox error when we do a bitmap image, and not when we try to initially retrieve the image.

    (By the way: is there a better way to make a "copy" of an image loaded by a loader and change its width and height to display simultaneously in another part of the scene?)  "I have need to change its real dimensions - I just need to change its display width and height).

    Thank you!

    The sandbox allows you to view, not not editing from another server without a cross-domain.

    Therefore, when you try to load up, it loads, it 'read only' and gives you an error when you try to "change" by a new Bitmap out of it.

    This should resolve itself once crossdomain is in place.

    || EDIT |

    I just realized that I have to clarify my statement a bit more.

    When you load images from another server without a crossdomain, it only allows the load for display.  When you try to load data, it will fail.  It is because that data XML, or another type of data is editable by default, and the images are only visible by default.  As a result, the image fails when you try to convert it to an editable form.

  • Load the clip from the library in target on stage

    Hello. Don't bother anyone with this but have been at it for hours and am at max of frustration level. I am using Flash CS3. I want to flip a button on the stage which will load a clip from my library in a clip that is currently sitting on the stage.

    The desired effect would be comperable using the loadmovie command and by loading an external .swf into a target on the stage. Except in my case I want to load a clip in my library in the target, rather than having to load an external swf file. Make sense? The goal of making this way is I want the loaded clip to stand on the stage, while the cursor mills. But when the cursor rolls over another button, I would like a different clip in the library to replace the already loaded by the first button.

    Any suggestions would be greatly appreciated. Be precise because I tend to get lost easily with this stuff. Thank you in advance.

    If you want to replace what has already been placed with something new, and then specify a depth rather than using... target.getNextHighestDepth (...) which always goes to the top depth value

    If the target is not a wild animal that would put you in danger, just use... 1 (I think). In all cases, you can find the best value before setting this value in stone using... trace (target.getNextHighestDepth ()); before fixing anything.

    on {(overview)
    target.attachMovie ("Area1Web1", "anyName", 1);
    }

    Shit!... I forgot if that simply pushes the element formerly loaded at a different depth, is probably with my luck. If so, use target.removeMovieClip (); before attaching a new. The bottom line, I always try to offer... look in the files to help... they are your friend (once you get familiar with them).

    Cool!... I spent some time with this friend, I just mentioned and found this diamond in the rough... "If you create or join a new clip on a depth has already a clip, the clip again or attached replaces existing content."

  • prolific usb-to-serial com port driver problem. I can't load the driver from propper for her. What should I do?

    prolific usb-to-serial com port driver problem. I can't load the driver appropriate for that. What should I do?

    Hello edmcski,

    This thread has been created in the Feedback forum. the Microsoft moderation team has moved this thread on the forums of hardware and drivers.

  • Problems loading the pictures from the camera

    all drivers, etc.updated/Canon tech said my Windows Imaging acquisition {program, file?} does not work / is my canon Camera Access Library which supposedly feeds off the coast of the previous / he said also that my SSDP Discovery is not runnig/how can I get these re-run?

    This problem started a few days ago / until then, everything was good / did not have any other situation w / this questions until then since I downloaded IE 8 as my browser & updated all drivers pertaing to this problem

    Hi W.Auld,

    Method 1

    I suggest that scan you SFC on the computer that will search the corrupted system files and try again later start services.

    The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows XP installation CD.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

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

    Method 2

    Temporarily disable the security software on the computer and try to start the services.

    Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 3

    If the previous step fails then I would suggest that you uninstall all driver software related to the camera from Canon to the computer and reinstall the latest version of the software driver from the Canon website.

    http://www.Canon.com/support/

  • load the png from the SD card

    I use the flash cs5 and air2.5 tools

    I just want to load the SD card as image or xml files

    and I have added the ok of permission, but still cannot load the png successfully

    I load the path as this:/mnt/sdcard/tipsdoo/aa.png

    someone did it?

    Thank you

    Sorry, my English is not very well

    Hello

    Use it instead:

    import flash.filesystem.File;

    var file:File = File.documentsDirectory.resolvePath("tipsdoo/aa.png");

    If (file.exists) {}

    trace (file. (URL);

    loader = new Loader();

    Loader.Load (new URLRequest (file.url));

    }

  • Load the data from txt

    Hello

    I just export the data in my cube, he geneates two text because of this file is more than 2 GB in size, one is xxxxx.txt, another is xxxxx_1.txt.

    My question is that if I load the data file above in the same cube, I should just specify the first file xxxxx.txt? It seems that I can't specify both text files?

    Thank you

    you only need to load the second file
    Or
    clear data and load the two

    Your choice, you will get the same results.

  • Dynamically loading the interface from a remote source implementation class

    Hello guys,.

    I'm kind new to AS3, please bear with me.

    I'm working on a project were I want to implement some sort of MVC. The idea is this: have an application Viewer that connects to a database and reads the object to display (based on some ID); have an app Setter that connects to the database and sets the object to display for a particular ID.

    What I'm trying to do is to have an interface that declares the common methods for the object class (like the draw, etc.) and have implementations of this interface be dynamically loaded from the database in the Viewer.

    Is this possible? I still think about it in the right way?

    I'd appreciate any suggestions really.
    Thank you

    If you check the book by peldi et al., u would have found what you're talking about. The principle u want to talk is easy to do. This might get u started (it is FMS but the idea is the same): http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/flashmediaserver_3.5_sslr.pdf - p.28 - application.registerClass () method.

Maybe you are looking for

  • How do the profile folder to change the settings?

    A spammer has taken control of my email. AT & T says that I need to change my firefox profile settings, but I can't find the file. How to file. This has happened Each time Firefox opened Is last Thursday

  • Cannot change the password. Is currently tiny one. When I try to change it I tells me this isn't my password. This is the case.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • OpenLdap Cisco ISE 1.2

    OpenLdap is supported by Cisco ISE 1.2? When I try to "Connect to Test Server" I get results so the connection seems fine. However when I put in place the policies for a wlan with wpa2 authentication base it says "Invalid password". When I put my use

  • ASUS enrich your life Smart Download Windows updates

    Just brought a new Asus enrich your life Smart. (Windows RT) Noticed that apps were not download, read somewhere on the line that I need to install windows update first. Go to install updates for windows, but I hit the following problems. Do not upda

  • Please help with a technical problem 2209WA

    Hello I own a model 2209WA monitor. She was purchased in March 2010. Recently, I found that there was a visible gray streak in the center of the screen and ran a diagnostic test as described on the forum. I was not able to reproduce the problem on ST