How to check set to false/true of a function

Hi all, how can I check if a function has a value true or false?

My goal is to check if a string does not start with a particular substring. The StartsWith function works for me, but how do I check if it returns false?

I tried:

-It is not not true that StartsWith (string, substring)
-StartsWith(string,substring) = false
-StartsWith(string,substring) is not true

But in the first case the function is not recognized, and in the second and third, I got an error

Bye, Andrea

Hello Andrea,

All the ordinary rules have an implied conclusion of spare, so if you're writing on the StartsWith rule like this:

the person's favorite animal begins with the letters CA so
StartsWith (favorite of the person, 'CA' animal)

... then an entry that does not begin with 'CA' (or 'ca') will deduct the conclusion is false, i.e. "the person's favorite animal does not begin with the letters CA.

You can also use the StartsWith rule conclusion in other rules, either in the positive or negative form. Here is an example of its use in the negative form:

It is prohibited if
favorite person does not begin with the letters CA

You can test these rules in the debugger (with or without screens) or in the determinations of the Web.

See you soon,.
Jasmine

Tags: Oracle Applications

Similar Questions

  • How to check/set CPU Power Management policy?

    Hello

    I wonder if there is a way to check/set of CPU power on by PowerCLI ESX host management policies?

    I would like to do the same as described here http://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.resourcemanagement.doc_41/managing_cpu_resources/c_managing_cpu_power_efficiency.html the script.

    Thank you

    qwert

    Hey this post may be exactly what need you...

    http://communities.VMware.com/thread/344390?TSTART=5

  • How can I set _gby_hash_aggregation_enabled = FALSE in 11 GR 2

    Hello
    I am tiring to define together gbyhash_aggregation_enabled = FALSE in my new 11 GR 2 instance using the:

    ALTER system set gbyhash_aggregation_enabled is false scope = spfile;.

    And I get this:

    ALTER system set gbyhash_aggregation_enabled = false scope = spfile
    *
    ERROR on line 1:
    ORA-00911: invalid character

    change the system '_gby_hash_aggregation_enabled' = false;

  • How to check for the application ID in a function of connection?

    Hello

    I have a connection procedure which is something like this:
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P58_USERNAME,
        P_PASSWORD    => :P58_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':15'
        );
    And the authentication procedure is this:
    create or replace
    FUNCTION  "ACL_CUSTOM_AUTH" (
        p_username IN VARCHAR2,
        p_password IN VARCHAR2
        )
    RETURN BOOLEAN IS
    BEGIN
      FOR c1 IN (SELECT 1 
                  FROM acl_employees
                 WHERE upper(userid) = upper(p_username)
                   AND mot_de_passe = p_password)
      LOOP
        RETURN TRUE;
      END LOOP;
      RETURN FALSE;
    END;
    I want to check for an application in the acl_employees table ID, because I want to check if this user is credited for THIS specific APP_ID, adding a following kind of code to the function of authentication:
    AND application_id = :app_id)
    The problem is that the connection API takes in charge only two parameters for custom authentication: user name and password. How can I switch the APP_ID to authentication?

    Thank you for your help.

    Christian

    Published by: France Christian February 23, 2010 06:23

    Published by: France Christian February 23, 2010 06:24

    It is sometimes easier to check the user before calling the connection custom Apex then past just a password to NULL to the connection works if the check fails. Something like that before the connection:

    DECLARE
    v_dummy NUMBER;
    BEGIN
    SELECT 1
    INTO v_dummy
    FROM acl_employees
    WHERE upper(userid) = upper(p_username)
    AND application_id = :app_id;
    EXCEPTION WHEN NO_DATA_FOUND THEN :P58_PASSWORD := NULL;
    END;
    
  • How can I move my tabs down? browser.tabs.onTop is already set to "false".

    I followed the instructions in the help on this article, but when I got to browser.tabs.onTop, it has already been set to "false". So I tried to put it on true, but there was no change. Go back, it was again set to false, but my tabs are always on top. Please help - it is a problem for me!

    If you miss the module bar and the tabs on the bottom option, you can certainly do with extensions!

  • How to convert only the first false true after a series of real values

    Hello

    I would like to know how I can convert only the first value false true after a series of true values. For example, I want to make the TTTFFF to TTTTFF.


  • How to check the data file is set to unlimilted autoextend

    S/N,

    Oracle version: 10.2.0.4
    OS: linux

    could someone tell me how can I check the data file are set to unlimited autoextend?

    Thank you
    Bahadur.

    Salvation;

    Pelase see:
    How to check the CanGrow data files the value of Maxsize unlimited [ID 468096.1]

    Respect of
    HELIOS

  • The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28

    The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28.
    I go to about: config and change the value 'true' but, after restarting Firefox it return false, so I can not AutoComplete URLS

    Note that your list of details of the system shows that you have a user.js file in the profile folder to initialize prefs each time you start Firefox.

    The user.js file is present than if you or another software has created this file and normally it wouldn't be here.
    You can check its contents with a text editor (right click: open with) If you do not create this file yourself.

    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can delete a possible user.js file and numbered prefs-# .js files and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How can I set default values to set the Mode in the config of the AO?

    Hi, how can I set default values to allocate mode in the config of the AO. To be precise, in the attached vi, I need to set the Mode allocate in the AO Config to ' use FIFO memory (6) ' if the value inside the structure of my case is false and 'no change (0)' if the value inside the strusture case is true.

    Create two constants for Mode allocate input (right click > create > constant). A place in the real case of the structure of the case and place it in the case of false. Their son in the same tunnel (border of the structure of the case), then the tunnel of wire to the pole to allocate the AO Config Mode. I do not have traditional DAQ installed, but who should do it.

  • How to check the links and buttons of enamel are traceable? If I send the email through Eloqua?

    I sent you an email through Eloqua. I don't know how to check the links and buttons are traceable?

    Hi Lucie,.

    There are 3 ways to check your links and buttons are traceable or not:

    1. When you mouse pass the link or button it will not display the actual URL. It will show you a few encrypted URL which will redirect you to the actual URL.

    2. connect to the eloqua account and search your email. When your email open ups click setting ICON and then click on manage links. All the links and URL of the button should be checked.

    3. If you want to check at the level of the code make sure after all the links and buttons URL "elqtrack = true" must be written.

    Hope this will help...

    Thank you

  • How to check if a path is within another way?

    I just said that I need a script that will check and see if a path is completely inside another way? In my case, I need to see if a GroupItem is part of a circle of a specific size. I see not all the methods available for PageItem who will do it for me, so no one knows of a workaround? (Preferably without having to check each unique PathPoint of each element in the group.) I use Illustrator CS6 and make my scripts with Javascript.

    It's good mind-exercise.
    What I came up with the below will let you know if the entire set of your unique path of anchor points is entirely within a closed Bézier path.

    What you need to do to start working on it, it's a document, make your ellipse containing and call it 'mycir' and test a path called "mypth".  The script gets a point-polygon of Bézier interpolated from the ellipse and uses the raycasting to check anchors of a path of test to see if all are inside.  Of course, you can already see the problem of your curve parts that aren't points anchor overlapping of the ellipse and undetected.  If it's a big problem, you need to change the process to create your test way Bézier polygon and check with the casting.  And it's just for a path - to make an entire group, Yes, you will need to adapt it to work on a set of paths.  One more thing - it's really based on points... so if your group... has certain effects, or appearance happening really outside the limits, you will certainly find a way to develop those to find your true limits, and Pixelation effects can be a real deal breaker.

    #target illustrator
    
    function test(){
    
        Array.prototype.indexOf = function(search){
            for(var i=0; i0 && (seg[0][0] == pathArr[pathArr.length-1][0] && seg[0][1] == pathArr[pathArr.length-1][1])){
                    seg.splice(0,1);
                }
                pathArr = pathArr.concat(seg);
            }
            return pathArr;
        }
    
        function markBezierPoints(seg){
            var grp = doc.groupItems.add(); grp.name="MyGroup";
            for(var i=0; i b.y || p.y < a.y) {
                    return false;
                } else if (p.x > a.x && p.x > b.x) {
                    return false;
                } else if (p.x < a.x && p.x < b.x) {
                    return true;
                } else {
                    mAB = (b.y - a.y) / (b.x - a.x);
                    mAP = (p.y - a.y) / (p.x - a.x);
                    return mAP > mAB;
                }
            }
        }
    
        function pathAnchorsInPoly(myPath, polyPts){
            var flag = false;
            var all = [];
            foreach(myPath.pathPoints, function(arg){
                if(RayCaster.pointInPoly(arg.anchor, polyPts) === false){
                    all.push(false);
                }
                all.push(true);
            });
    
            flag = (all.indexOf(false) != -1) ? false : true;
    
            if(flag === false){
                alert("NOT All Path Anchors are inside containing ellipse.");
            } else {
                alert("Yay!  All Path Anchors are INSIDE the containing ellipse!");
            }
            return flag; // for use later (?)
        }
    
        if(app == "[Application Adobe Illustrator]" && app.documents.length>0){
    
            app.coordinateSystem = CoordinateSystem.ARTBOARDCOORDINATESYSTEM;
            var clr = new CMYKColor();
            clr.cyan=0;
            clr.magenta=100;
            clr.yellow=100;
            clr.black=0;
    
            var doc=app.activeDocument;
    
            try{
                var m = doc.pathItems.getByName('mycir'); // my circle
                var mp = doc.pathItems.getByName('mypth'); // my test path
            } catch(e) {
                alert("Put 2 paths into a document: a containing ellipse, name it 'mycir', and some random path- name it 'mypth'.  Then run.");
                return;
            }
    
            var pts = getPathPoints(m);
    
            var bezPts = getBezierPath(pts);
    
            //markBezierPoints(bezPts);
            //makePolygon(bezPts);
            //foreach(bezPts, function(arg){$.writeln(arg)});
    
            pathAnchorsInPoly(mp, bezPts);
    
        }
    }
    
    test();
    
  • Connect KeyboardEvent to button visible to false/True

    I use a simple script to hide the Prev button in the first picture and next in the last frame button

    Prevbt_forproduct.visible = false;
    
    nextbt_forProduct.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);
    
    function fl_ClickToGoToNextFrame(event:MouseEvent):void
    {
        nextFrame();
         Prevbt_forproduct.visible = true;
         if(currentFrame == totalFrames){
         nextbt_forProduct.visible = false;
    }
    }
    
    
    Prevbt_forproduct.addEventListener(MouseEvent.CLICK, fl_ClickToGoToPreviousFrame);
    
    function fl_ClickToGoToPreviousFrame(event:MouseEvent):void
    {
        prevFrame();
        nextbt_forProduct.visible = true;
        if(currentFrame == 1){
        Prevbt_forproduct.visible = false;
    }
    }
    

    and I use the keyboard function to add right and left to go to Next and Prev Frame key

    import flash.display.Stage;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard
    
    stage.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
    
    function keyHandler(e:KeyboardEvent):void
    {
    switch(e.keyCode){
    case Keyboard.RIGHT: nextFrame();break;
    case Keyboard.LEFT:prevFrame();break;
    }
    }
    

    now the problem is, when I use the keyboard to change between the frames of the nextbt and Prevbt are not change, in the other way, it does not matter how much press the right or left button Prevbt not apear (good frames changes)

    So, how can I set up a connection between these Scripts?

    Thank you

    use:

    Prevbt_forproduct.visible = false;

    nextbt_forProduct.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);

    function fl_ClickToGoToNextFrame(event:MouseEvent):void
    {
        nextFrame();
    nextPrevF()
    }
    }

    Prevbt_forproduct.addEventListener(MouseEvent.CLICK, fl_ClickToGoToPreviousFrame);

    function fl_ClickToGoToPreviousFrame(event:MouseEvent):void
    {
        prevFrame();
    nextPrevF();
    }
    }

    import flash.display.Stage;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard
    
    stage.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
    
    function keyHandler(e:KeyboardEvent):void
    {
    switch(e.keyCode){
    case Keyboard.RIGHT: nextFrame();break;
    case Keyboard.LEFT:prevFrame();break;
    }nextPrevF();}
    

    function nextPrevF (): void {}

    if(currentFrame!=totalFrames){ nextbt_forProduct.visible = true;} else {nextbt_forProduct.visible=false;}    if(currentFrame == 1){    Prevbt_forproduct.visible = false; } else {
    
      Prevbt_forproduct.visible = true;
    
    
    } }
    
  • ORA-00481 and Patch 3659289 - how to check if the patch has been applied? --

    Dear all,

    Currently my client uses the oracle 10.2.0.4.0 database (RAC). However sometimes during treatment (the application attempts to write/change data), they are several ORA-00481 errors and then the database crashed. But I'd say it's an automatic restart sort of as the newspaper has said.

    Trying to get on a few articles on this subject and found one saying this is due to internal bugs, and the problem solved with patch 3659289 .

    So far, I couldn't find much information about this hotfix (3659289) and I need some help here.

    1. I wonder if it is the case of my customer database?
    2. how to check if this specific hotfix (3659289) has been applied?
    3. be appreciate if you have access to this patch and post the details here.

    Advise, Suggestion or jokes will be appreciated. Thanks in advance!

    Thank you and best regards,
    CT



    Some additional information:
    1 version of oracle 10.2.0.4.0 database

    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit
    With the Real Application Clusters option

    2 CARS with two nodes.

    3. in the course of running on Solaris 10 sparc infrastructure.

    4. what error log says:

    Sun Dec 4 00:51:09 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
    Sun Dec 4 00:51:34 2011
    Track of dumping performs id = [cdmp_20111204003639]
    Sun Dec 4 00:52:03 2011
    kkjcre1p: unable to reproduce the jobq slave process
    Sun Dec 4 00:52:04 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_cjq0_16598.trc file:

    Sun Dec 4 00:54:58 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmon_16525.trc file:
    ORA-29740: expelled by Member 1, group incarnation 74
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j002_14521.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j000_29799.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    WARNING: inbound connections has expired (ORA-3136)
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_j003_15093.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lck0_16841.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_pmon_16519.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms3_16549.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:54:59 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_psp0_16523.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:00 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms5_16557.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:00 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms4_16553.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lmd0_16527.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms0_16537.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    Errors in the /opt/app/oracle/admin/xxxxx/bdump/xxxxx1_lms1_16541.trc file:
    ORA-00481: LMON process ended with the error
    Sun Dec 4 00:55:01 2011
    RECO: termination litigation because of the error 481
    Sun Dec 4 00:55:07 2011
    Instance terminated by RECO, pid = 16588
    Sun Dec 4 00:55:18 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge2 configured 10.0.2.0 from OCR to serve a cluster interconnect
    Type 1 202.76.5.0 configured OCR bge0 interface to be used as a public interface
    SNA system picked latch-free 3
    Autotune undo retention is enabled.
    LICENSE_MAX_USERS = 0
    SYS audit is disabled
    ksdpec: called to the event 13740 before initialization of the event group
    Commissioning ORACLE RDBMS Version: 10.2.0.4.0.
    Parameters of the system with default values:
    process = 300
    sessions = 500
    SGA_MAX_SIZE = 5368709120
    __shared_pool_size = 1879048192
    shared_pool_size = 1073741824
    __large_pool_size = 16777216
    LARGE_POOL_SIZE = 16777216
    __java_pool_size = 134217728
    JAVA_POOL_SIZE = 134217728
    __streams_pool_size = 0
    SHARED_POOL_RESERVED_SIZE = 142606336
    SPFile = +DATA/xxxxx/spfilexxxxx.ora
    SGA_TARGET = 5368709120
    control_files = +DATA/xxxxx/controlfile/current.258.702223445
    DB_BLOCK_SIZE = 8192
    __db_cache_size = 3288334336
    db_cache_size = 3221225472
    compatible = 10.2.0.1.0
    Log_archive_dest = + REDOARCH/xxxxx/archlog
    log_buffer = 30543360
    db_file_multiblock_read_count = 16
    cluster_database = TRUE
    cluster_database_instances = 2
    db_create_file_dest = + DATA
    db_create_online_log_dest_1 = + REDOARCH
    db_recovery_file_dest_size = 2147483648
    = 1 thread
    instance_number = 1
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = UNDOTBS1
    UNDO_RETENTION = 14400
    Remote_login_passwordfile = EXCLUSIVE lock
    db_domain =
    dispatchers = (PROTOCOL = TCP) (SERVICE = xxxxxXDB)
    LOCAL_LISTENER = LISTENER_xxxxx1
    remote_listener = LISTENERS_xxxxx
    session_cached_cursors = 100
    JOB_QUEUE_PROCESSES = 10
    CURSOR_SHARING = SIMILAR
    background_dump_dest = / opt/app/oracle/admin/xxxxx/bdump
    user_dump_dest = / opt/app/oracle/admin/xxxxx/udump
    core_dump_dest = / opt/app/oracle/admin/xxxxx/cdump
    audit_file_dest = / opt/app/oracle/admin/xxxxx/adump
    db_name = xxxxx
    open_cursors = 500
    pga_aggregate_target = 1073741824
    Communication of cluster is configured to use the following interfaces for this instance
    10.0.2.235
    Sun Dec 4 00:55:25 2011
    cluster interconnect IPC version: Oracle UDP/IP (generic)
    CPI for the seller 1 proto 2
    PMON started with pid = 2, OS id = 19662
    DIAG started with pid = 3, OS id = 19664
    PSP0 started with pid = 4, OS id = 19666
    LMON started with pid = 5, OS id = 19668
    LMD0 started with pid = 6, OS id = 19670
    LMS0 started with pid = 7, OS id = 19672
    LMS1 started with pid = 8, OS id = 19676
    LMS2 started with pid = 9, OS id = 19688
    LMS3 started with pid = 10, OS id = 19692
    LMS4 started with pid = 11, OS id = 19696
    LMS5 started with pid = 12, OS id = 19700
    MA started with pid = 13, OS id = 19704
    DBW0 started with pid = 14, OS id = 19706
    DBW1 started with pid = 15, OS id = 19708
    DBW2 started with pid = 16, OS id = 19718
    LGWR started with pid = 17, OS id = 19720
    CKPT started with pid = 18, OS id = 19722
    SMON started with pid = 19, OS id = 19724
    RECCE has started with pid = 20, OS id = 19726
    CJQ0 started with pid = 21, OS id = 19728
    MMON started with pid = 22, OS id = 19730
    Sun Dec 4 00:55:28 2011
    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
    MMNL started with pid = 23, OS id = 19732
    Sun Dec 4 00:55:28 2011
    commissioning or shared server 1...
    Sun Dec 4 00:55:28 2011
    DISM started, OS id = 19746
    Sun Dec 4 00:55:52 2011
    LMON recorded with NM - 1 instance id (internal mem not 0)
    Sun Dec 4 00:55:53 2011
    Reconfiguration began (old Inc. 0, Inc. new, 78)
    List of nodes:
    0 1
    Global Resource Directory frozen
    allocate domain 0, invalid = TRUE
    Restored communication channels
    * field validates according to the instance 1 0
    * domain 0 valid = 1 according to instance 1
    Sun Dec 4 00:55:53 2011
    Diffuse master hash resource bitmaps
    Blocks of non-local process cleaned
    Sun Dec 4 00:55:53 2011
    Shadows GCS LMS 0 0: cancelled, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows SCM 4: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows GCS 3: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows GCS 1: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows BSC 5: 0, 0 closed
    Sun Dec 4 00:55:53 2011
    Cancelled LMS shadows SCM 2: 0, 0 closed
    Set of master node info
    Subject to all requests for remote enqueue
    DWN-cvts replayed, questionable VALBLKs
    All enqueues grant awarded
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 5: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 3: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    Crossed shadows SCM 2: 0, replayed 0 LMS
    Sun Dec 4 00:55:53 2011
    LMS 0: 0 GCS shadows traveled 0 replayed
    Sun Dec 4 00:55:53 2011
    Crossed shadows SCM 4: 0, replayed 0 LMS
    Sun Dec 4 00:55:53 2011
    LMS crossed shadows 1: 0, replayed 0 GCS
    Sun Dec 4 00:55:53 2011
    Subject to all requests for remote-cache GCS
    Post SMON start 1 IR pass
    Fix write in SCM resources
    Reconfiguration complete
    LCK0 started with pid = 26, OS id = 19984
    Sun Dec 4 00:55:55 2011
    Oracle Data Guard is not available in this edition of Oracle.
    Sun Dec 4 00:55:55 2011
    ALTER DATABASE MOUNT
    Sun Dec 4 00:55:56 2011
    From FILIPE background process
    FILIPE started with pid = 28, OS id = 19995
    From RBAL background process
    RBAL started with pid = 29, OS id = 19999
    Sun Dec 4 00:55:59 2011
    SUCCESS: diskgroup DATA has been mounted
    Sun Dec 4 00:56:03 2011
    Assessment target incarnation to 7
    Sun Dec 4 00:56:04 2011
    Mount of redo thread 1, with mount id 3288132717
    Sun Dec 4 00:56:04 2011
    Database mounted in shared Mode (CLUSTER_DATABASE = TRUE)
    Completed: ALTER DATABASE MOUNT
    Sun Dec 4 00:56:05 2011
    ALTER DATABASE OPEN
    Selected broadcast the validation schema to generate notifications SNA
    Sun Dec 4 00:56:06 2011
    LGWR: FROM PROCESS ARCH
    Arc0 started with pid = 33, OS id = 20135
    Sun Dec 4 00:56:06 2011
    Arc0: Started archiving
    Arc1: Started archiving
    LGWR: FROM PROCESS ARCH COMPLETE
    Arc1 started with pid = 34, OS id = 20137
    Sun Dec 4 00:56:06 2011
    SUCCESS: diskgroup REDOARCH rose
    Thread 1 is open to the sequence of journal 23830
    Currently Journal # 3 seq # 23830 mem # 0: +REDOARCH/xxxxx/onlinelog/group_3.261.709928305
    Opening of redo thread 1
    Sun Dec 4 00:56:07 2011
    SMON: enabling cache recovery
    Sun Dec 4 00:56:07 2011
    Arc0: become the "no FAL' ARCH
    Arc0: become the "no SRL" ARCH
    Sun Dec 4 00:56:07 2011
    Arc1: Become the heartbeat ARCH
    Sun Dec 4 00:56:09 2011
    Successfully onlined Undo Tablespace 1.
    Sun Dec 4 00:56:09 2011
    SMON: enabling the recovery of tx
    Sun Dec 4 00:56:09 2011
    Database charset is UTF8
    off replication_dependency_tracking (no replication multimaster async found)
    From QMNC background process
    QMNC started with pid = 35, OS id = 20185
    Sun Dec 4 00:56:15 2011
    Errors in the /opt/app/oracle/admin/xxxxx/udump/xxxxx1_ora_20121.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-12663: Services required by the customer not available on the server
    ORA-36961: Oracle OLAP is not available.
    ORA-06512: at "SYS." OLAPIHISTORYRETENTION', line 1
    ORA-06512: at line 15 level
    Sun Dec 4 00:56:15 2011
    Completed: ALTER DATABASE OPEN

    Hi, Eric.

    Sory for these last response time.

    If you are looking for a special patch that is exists or not, you must run below

    ORACLE_HOME and ORACLE_SID and opatch as mention in my previous post, that it is the value

    lsinventory opatch | grep patch_no

    If she reports record than his average you past. If its does not provide that the problem is that you do not have this patch

    Respect of
    HELIOS

  • setLineWrap (true) versus firePropertyChange ("lineWrap", false, true);

    I'm trying to figure out what to do about my packing against the problem of the column line. I want my text boxes to wrap properly but also have their width of the appropriate column if they have less than 14 characters. Because of the problem of the column, I looked in the JDK source code and found that JTextArea.setLineWrap (true) is supposed to pull the equivalent code JTextArea.firePropertyChange ("lineWrap", false, true). So I put in place that, but when I do this, my lines won't wrap. I don't know if it is a bug in Java (in this case, is there another solution I could use?) or if I do something wrong (in this case, how to fix it?).

    Thanks again.
    package sscce2;
    
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.FlowLayout;
    import java.awt.Font;
    import java.awt.GridLayout;
    import java.awt.LayoutManager;
    
    import javax.swing.BorderFactory;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.WindowConstants;
    
    public class SSCCE
    {
         int           choice     = 0;
         JPanel       mainPanel     = null, secondPanel = null, mainSubPanel[] = null,
             secondSubPanel[] = null;
         JTextArea     ta[]     = null;
         
         public SSCCE()
         {
              final JFrame f = new JFrame();
              ta = new JTextArea[5];
              mainSubPanel = new JPanel[12];
              ta[0] = cTA("13 cols 1 row", true);
              ta[1] = cTA("13 cols 1 row", false);
              ta[2] = cTA("I want 12 columns, 3 rows in this one", true);
              ta[3] = cTA("I want 12 columns, 3 rows in this one", false);
              ta[4] = cTA("I want 12\r\ncolumns, 3 \r\nrows in this\r\none", false);
              ta[4].setColumns(12);
              ta[4].setRows(3);
              mainSubPanel[0] = createPanel(new JLabel());
              mainSubPanel[1] = createPanel(new JLabel("setLineWrap()"));
              mainSubPanel[2] = createPanel(new JLabel("nothing"));
              mainSubPanel[3] = createPanel(new JLabel("wrap"));
              mainSubPanel[4] = createPanel(ta[0]);
              mainSubPanel[5] = createPanel(ta[1]);
              mainSubPanel[6] = createPanel(new JLabel("non-wrap"));
              mainSubPanel[7] = createPanel(ta[2]);
              mainSubPanel[8] = createPanel(ta[3]);
              mainSubPanel[9] =
                  createPanel(
                      new JLabel(
                          "<html>This is what I want when<br/>the user enters data. ==&gt;</html>"),
                      FlowLayout.LEFT);
              mainSubPanel[10] = createPanel(ta[4], FlowLayout.LEFT);
              mainSubPanel[11] = createPanel(new JLabel(""));
              setBottomBorders(mainSubPanel[6], mainSubPanel[7], mainSubPanel[8]);
              mainPanel = createPanel(new GridLayout(4, 3), mainSubPanel);
              f.setSize(485, 338);
              f.setTitle("SSCCE");
              f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              f.setLocationRelativeTo(null);
              f.add(mainPanel, BorderLayout.CENTER);
              f.setVisible(true);
         }
         
         public static void main(final String[] args)
         {
              new SSCCE();
         }
         
         public final JPanel createPanel(final JComponent... component)
         {
              final JPanel p = new JPanel();
              for (final JComponent element : component)
              {
                   p.add(element);
              }
              p.setBackground(Color.WHITE);
              return p;
         }
         
         public final JPanel
             createPanel(final JComponent component, final int align)
         {
              final JPanel p = new JPanel();
              p.add(component, align);
              p.setBackground(Color.WHITE);
              return p;
         }
         
         public final JPanel createPanel(final LayoutManager layout,
             final JComponent... component)
         {
              final JPanel p = createPanel(component);
              p.setLayout(layout);
              return p;
         }
         
         public final JTextArea cTA(final String text, final boolean lineWrap)
         {
              final JTextArea t = new JTextArea(text, 1, Math.min(text.length(), 12));
              t.setFont(new Font("Courier New", Font.BOLD, 12));
              t.setBorder(BorderFactory.createLineBorder(Color.BLACK));
              if (lineWrap)
              {
                   t.setLineWrap(true);
              }
              t.setWrapStyleWord(true);
              return t;
         }
         
         public final void setBottomBorders(final JPanel... panels)
         {
              for (final JPanel element : panels)
              {
                   element.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0,
                       Color.BLACK));
              }
         }
    }
    Published by: ElectrifiedBrain on March 24, 2011 17:05

    Edit: I changed this to have a new NBS that shows exactly what I compared to what is happening with setLineWrap() or nothing.

    Can't sleep, so barbatruc!

    import java.awt.*;
    import javax.swing.*;
    
    public class TestTextArea {
    
        public static void main(final String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    FlowLayout layout = new FlowLayout();
                    layout.setAlignOnBaseline(true);
                    JPanel panel = new JPanel(layout);
                    panel.add(createTextArea("1234"));
                    panel.add(createTextArea("123456789012345678901"));
                    panel.add(createTextArea("text"));
                    panel.add(createTextArea("text that should wrap"));
    
                    JFrame f = new JFrame("Barbatruc!");
                    f.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                    f.getContentPane().add(panel);
                    f.pack();
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
                }
            });
        }
    
        public static JTextArea createTextArea(String text) {
            JTextArea t = new JTextArea(text, 1, Math.min(text.length(), 12));
            t.setFont(new Font(Font.MONOSPACED, Font.BOLD, 12));
            t.setLineWrap(true);
            t.setWrapStyleWord(true);
            // the preferred size calculation will use the current width/height
            // and we want to have it grow in height not width
            // might also work by setting the text after showing the text area
            // instead of this
            t.setSize(0, Short.MAX_VALUE);
            return t;
        }
    }
    

    Don't ask me why he has that Colocation of 11 characters with 12 columns with monoscaped font, but looks like to do the packaging (try the spaces to positions on 11/12/13.)

  • Event.currentTarget.visible = false true back

    Hi, I have a delicate issue, I ' m make a game involving learning activities. In this one, I have to push the letters on a screen and compose a Word. Whenever you click on a letter he sets its State to false, so you can't click on it again. Just as worked so far, but right now I do not know how the value visible return letters I clicked on.

    Basically, I have to do, for example, if you make a mistake in selecting the letters you want to make the word. I managed to create a button Delete, you can press on, so the letter will pop out of the textfield, but how do I set the button or the letter to visible?

    I tried to push the clickedLetters into a table, but they can become so visible channels = true does not work. Any help?

    Thank you

    private function takeTheLetter(Event:MouseEvent):void
            {
                var letterTraced:String = Event.currentTarget.letter.text.charAt(0);
                clickedLettersArray.push(letterTraced);
                //show the letters that are typed;
                var composeWord:String = clickedLettersArray.toString();
                composeWord = composeWord.split(",").join("");
                hero_txt.text = composeWord;
                //remove the pressed letter
                Event.currentTarget.visible = false;
    
                currentTargetArray.push(letterTraced);
                trace(currentTargetArray);
            }
    
    private function deleteTheLetter(Event:MouseEvent):void
            {
                clickedLettersArray.pop();
                //set the array back to a string;
                var correctedWord:String = clickedLettersArray.join(",");
                //set the true sprite to compare
                correctedWord = correctedWord.split(",").join("");
                hero_txt.text = correctedWord;
            }
    

    private void deleteTheLetter(evt:MouseEvent):void

    {

    clickedLettersArray.pop ();

    define the array to a string;

    var correctedWord:String = clickedLettersArray.join(",");

    the true sprite to compare the value

    correctedWord = correctedWord.split(",").join("");

    hero_txt. Text = correctedWord;

    currentTargetArray [currentTargetArray.length - 1] .visible = true;

    currentTargetArray.pop ();

    }

    IT IS THE RIGHT CODE, IF SOMEONE NEEDS.

Maybe you are looking for