How to create XMLIndex in the specific tablespace

Hi all I am using 12 c

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Advanced Analytics,
Oracle Database Vault and Real Application Testing options

IM creating a XMLIndex that goes to the default tablespace

15:34:40 SQL> CREATE INDEX TEST_IX ON dummy_table (xcontent)
15:34:40   2  INDEXTYPE IS XDB.XMLINDEX
15:34:40   3* PARAMETERS ('PATHS (INCLUDE (//DEFINITION/*) )')
15:34:40  /
Index created.
15:34:40 SQL> 


But when I try to specify a tablespace it error, what is the correct clause to specify a storage space for this type of index? I tried to follow doc Oracle but can't do work


15:46:53 SQL>
  1  CREATE INDEX TEST_IX ON dummy_table (xcontent)
  2  INDEXTYPE IS XDB.XMLINDEX
  3  PARAMETERS ('PATHS (INCLUDE (//DEFINITION/*) )')
  4* TABLESPACE MEDIUM_INDEXES
15:46:58 SQL> /
TABLESPACE MEDIUM_INDEXES
*
ERROR at line 4:
ORA-29850: invalid option for creation of domain indexes

Thanks in advance

SQL> CREATE INDEX XIDX_TEST_01
  2    ON TEST(XMLDOC)
  3    INDEXTYPE IS XDB.XMLINDEX
  4    LOCAL
  5    PARAMETERS
  6        ('PATHS (INCLUDE (/Employees/SSN /Employees/DateOfBirth)
  7                NAMESPACE MAPPING (xmlns="http://www.myserver.com/schema.v1.xsd")
  8              )
  9         PATH TABLE XDIX_TEST_PATHTABLE     (TABLESPACE USERS)
10          PIKEY      INDEX XDIX_TEST_PIKEY   (TABLESPACE USERS)
11          PATH ID    INDEX XDIX_TEST_PATH_ID (TABLESPACE USERS)
12          ORDER KEY  INDEX XDIX_TEST_KEY     (TABLESPACE USERS)
13          VALUE      INDEX XDIX_TEST_VALUE   (TABLESPACE USERS)
14          ASYNC (SYNC ALWAYS) STALE (FALSE)'
15         );

Exercise in Range Partitioning, Structured and Unstructured XMLIndexes

It is in the syntax / flow diagrams in the Oracle XMLDB, Developer's Guide index XML chapter... (not in the reference guide)


Tags: Database

Similar Questions

  • Creating table in the desired tablespace

    Hello

    I created the CUZK_BACKUP tablespace:


    CREATE the TABLESPACE CUZK_BACKUP DATAFILE ' / oradata/RUIAN/cuzk_backup01.dbf' SIZE 3 G AUTOEXTEND ON NEXT 100 M MAXSIZE 15 G;

    Now I'm trying to create table in this space of table like this:

    BEGIN

    -zjisti, if jiz existuji tabulky ve schematu centrumadmin (0 - no, 1 - year)

    SELECT COUNT (*) in the nCount_aud FROM dba_tables owner WHERE to = 'CENTRUMADMIN' and table_name = "$ _BACKUP2";

    SELECT COUNT (*) in the nCount_fga FROM dba_tables owner WHERE = 'CENTRUMADMIN' and table_name = "FGA_LOG$ _BACKUP2";

    IF (nCount_aud < = 0)-pokud tabulka neexistuje, vytvor ji partisnovanou po mesici

    THEN

    v_sql_aud: =' CREATE TABLE CENTRUMADMIN. AUD$ _BACKUP2

    TABLESPACE CUZK_BACKUP

    storage (initial 500 m next 50 m maxextents unlimited)

    PARTITION BY RANGE (NTIMESTAMP #)

    INTERVAL (NUMTOYMINTERVAL (1, "MONTHS"))

    (

    P_2013 PARTITION VALUES LOWER THAN (TO_DATE ("01/01/2014", "DD-MM-YYYY"));

    P_2014_01 PARTITION VALUES LOWER THAN (TO_DATE ("02/01/2014", "DD-MM-YYYY"));

    P_2014_02 PARTITION VALUES LOWER THAN (TO_DATE ("03/01/2014", "DD-MM-YYYY"));

    P_2014_03 PARTITION VALUES LOWER THAN (TO_DATE ("04/01/2014", "DD-MM-YYYY"));

    P_2014_04 PARTITION VALUES LOWER THAN (TO_DATE ("05/01/2014", "DD-MM-YYYY"));

    P_2014_05 PARTITION VALUES LESS THAN (TO_DATE ("06/01/2014", "DD-MM-YYYY")))

    AS select * from SYS. AUD$ where 1 = 2';

    EXECUTE IMMEDIATE v_sql_aud;

    DBMS_OUTPUT. Put_line ('Vytvorena tabulka CENTRUMADMIN.) AUD$ _BACKUP2.') ;

    ON THE OTHER

    DBMS_OUTPUT. Put_line (' CENTRUMADMIN Tabulka.) AUD$ _BACKUP2 jiz existuje.') ;

    END IF;

    Table is created, but not in the CUZK_BACKUP tablespace:

    Select table_name, tablespace_name from dba_tables where owner = "CENTRUMADMIN";

    TABLE_NAME, TABLESPACE_NAME

    ------------------------------ ------------------------------

    CUZK_SLUZBY OKO_USR_SCD

    CUZK_LOG_BEHU OKO_USR_SCD

    CUZK_LOG_FAZE OKO_USR_SCD

    CUZK_LOG_CHYBY OKO_USR_SCD

    AUD$ _BACKUP

    AUD$ _BACKUP2

    FGA_LOG$ _BACKUP

    FGA_LOG$ _BACKUP2

    Why there is no tablespace and how to make it work?

    Thank you

    Honza



    For a partitioned table, the actual segments are at the Partition level.  If a query DBA_TAB_PARTITIONS and DBA_SEGMENTS.

    Hemant K Collette

  • How to create indexes on the ordered collection of XMLTYPE table?

    I use Oracle 11.2.0.2.

    Basically, my XML documents have a 3-level hierarchy:

    event

    + - action [1: n]

    + - param [1: n]

    I try to create indexes on the tables of the orderly collection, but cannot get the right syntax...

    I created a table with an XMLType object-relational column:

    CREATE TABLE T_C_RMP_MNTRNG_XML_FULL_IL4 (
      MESSAGE_ID NUMBER(22,0) NOT NULL ENABLE,
      XML_EVAL_ID NUMBER(22,0),
      VIN7 VARCHAR2(7 BYTE),
      FLEET_ID VARCHAR2(50 BYTE),
      CSC_SW_VERSION VARCHAR2(100 BYTE),
      RECEIVED DATE,
      XML_CONTENT SYS.XMLTYPE ,
      DWH_LM_TS_UTC DATE NOT NULL ENABLE,
      CONSTRAINT PK_C_RMP_MNTRNG_XML_FULL_IL4 PRIMARY KEY (MESSAGE_ID)
    ) NOLOGGING TABLESPACE CATALOG
    VARRAY "XML_CONTENT"."XMLDATA"."action" STORE AS TABLE "T_OR_MON_ACTION" (
      NOLOGGING TABLESPACE "CATALOG"
      VARRAY "param" STORE AS TABLE "T_OR_MON_ACTION_PARAM" (
      NOLOGGING TABLESPACE "CATALOG"
      ) RETURN AS LOCATOR
    ) RETURN AS LOCATOR
    XMLTYPE XML_CONTENT STORE AS OBJECT RELATIONAL XMLSCHEMA "http://mydomain.com/cs.xsd" ELEMENT "monitoring";
    
    
    
    
    

    I execute the SELECT statement:

    SELECT EVENT_ID, ACTION_SUB_ID, MESSAGE_ID, ACTION_TYPE, UNIXTS_TO_DATE(ACTION_TIMESTAMP) ACTION_TIMESTAMP
    FROM T_C_RMP_MNTRNG_XML_FULL_IL4, 
    XMLTABLE( 
      'for $i1 in /monitoring , 
      $i2 in $i1/action            
      return element r {              
      $i1/eventId,              
      $i2            
      }' 
      PASSING XML_CONTENT COLUMNS 
      EVENT_ID VARCHAR(40) PATH 'eventId', 
      ACTION_SUB_ID INTEGER PATH 'action/actionSubId', 
      ACTION_TYPE VARCHAR2(100) PATH 'action/type', 
      ACTION_TIMESTAMP NUMBER(13,0) PATH 'action/time' 
    ) T2 
    WHERE ( 
      EVENT_ID IS NOT NULL AND ACTION_SUB_ID IS NOT NULL 
    )
    
    
    
    
    

    The plan of the explain command looks like this (sorry, don't know how to get it formatted any 'eye-team'):

    ----------------------------------------------------------------------------------------------------------

    | ID | Operation | Name                        | Lines | Bytes | TempSpc | Cost (% CPU). Time |

    ----------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                             |  1609K |  6316M |       |  6110K (1) | 20:22:11 |

    |*  1 |  HASH JOIN |                             |  1609K |  6316M |   111 M |  6110K (1) | 20:22:11 |

    |   2.   TABLE ACCESS FULL | T_C_RMP_MNTRNG_XML_FULL_IL4 |   582K |   104 M |       |  5241 (1) | 00:01:03 |

    |*  3 |   TABLE ACCESS FULL | T_OR_MON_ACTION |    32 M |   117G |       |   105K (2) | 00:21:08 |

    ----------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    1 - access ("NESTED_TABLE_ID"= "T_C_RMP_MNTRNG_XML_FULL_IL4"." ("SYS_NC0001300014$")

    filter (CAST (SYS_XQ_UPKXML2SQL (SYS_XQEXVAL (SYS_XQEXTRACT ((SYS_XMLGEN ("T_C_RMP_MNTRN XMLCONCAT

    G_XML_FULL_IL4 ". "" $ SYS_NC00017 ", NULL, SYS_XMLCONV ("T_C_RMP_MNTRNG_XML_FULL_IL4". "SYS_NC00012$", 0.32,

    (('EC1EEF23FD023A27E04032A06D930A8D', 3, 3783, 1)), SYS_MAKEXML ('EC1EEF23FD023A27E04032A06D930A8D', 3780,

    'T_C_RMP_MNTRNG_XML_FULL_IL4 '. "' SYS_NC00008$ ', 'SYS_ALIAS_0 '. ((("' SYS_NC_ROWINFO$ ')),'/ ID ', NULL), 0,.

    0,20971520,0), 50.1, 2) AS VARCHAR (40)) IS NOT NULL)

    3 filter (CAST (TO_NUMBER (TO_CHAR ("SYS_ALIAS_0". "actionSubId")) AS INTEGER) IS NOT NULL) "

    Note

    -----

    -dynamic sample used for this survey (level = 2)

    -Construction detected no optimized XML (activate XMLOptimizationCheck for more information)

    The XML schema looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="2105639" oraxdb:schemaURL="http://mydomain.com/cs.xsd" oraxdb:schemaOwner="MYUSER" oraxdb:numProps="23">
      <xs:element name="monitoring" oraxdb:propNumber="3785" oraxdb:global="true" oraxdb:SQLName="monitoring" oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="monitoring757_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element maxOccurs="unbounded" ref="action" oraxdb:propNumber="3780" oraxdb:global="false" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="action756_COLL" oraxdb:SQLCollSchema="MYUSER"/>
            <xs:element ref="reservationType" oraxdb:propNumber="3781" oraxdb:global="false" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="softwareVersion" oraxdb:propNumber="3782" oraxdb:global="false" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="eventId" oraxdb:propNumber="3783" oraxdb:global="false" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="vin" oraxdb:propNumber="3784" oraxdb:global="false" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="action" oraxdb:propNumber="3790" oraxdb:global="true" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="action754_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element ref="type" oraxdb:propNumber="3786" oraxdb:global="false" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element maxOccurs="unbounded" ref="param" oraxdb:propNumber="3787" oraxdb:global="false" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="param753_COLL" oraxdb:SQLCollSchema="MYUSER"/>
            <xs:element ref="actionSubId" oraxdb:propNumber="3788" oraxdb:global="false" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="time" oraxdb:propNumber="3789" oraxdb:global="false" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="type" type="xs:string" oraxdb:propNumber="3791" oraxdb:global="true" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="type751_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="param" oraxdb:propNumber="3794" oraxdb:global="true" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="param750_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element minOccurs="0" ref="value" oraxdb:propNumber="3792" oraxdb:global="false" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="key" oraxdb:propNumber="3793" oraxdb:global="false" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="value" type="xs:string" oraxdb:propNumber="3795" oraxdb:global="true" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="value748_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="key" type="xs:string" oraxdb:propNumber="3796" oraxdb:global="true" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="key747_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="actionSubId" type="xs:integer" oraxdb:propNumber="3797" oraxdb:global="true" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="actionSubId746_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="time" type="xs:integer" oraxdb:propNumber="3798" oraxdb:global="true" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="time745_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="reservationType" type="xs:string" oraxdb:propNumber="3799" oraxdb:global="true" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="reservationType744_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="softwareVersion" type="xs:string" oraxdb:propNumber="3800" oraxdb:global="true" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="softwareVersion743_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="eventId" type="xs:string" oraxdb:propNumber="3801" oraxdb:global="true" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="eventId742_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="vin" type="xs:string" oraxdb:propNumber="3802" oraxdb:global="true" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="vin741_TAB" oraxdb:defaultTableSchema="MYUSER"/>
    </xs:schema>
    
    
    
    
    

    How can I create an index on these tables of the ordered collection to improve performance?

    I found the example at http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_rewrite.htm#ADXDB5859 but am not able to apply to this particular case...

    Thank you in advance...

    If the schema is not annotated and XS: Integer and XS: String are mapped to types of data NUMBER and VARCHAR2 (4000), so you must use in your query to avoid typecasting unnecessary operations.

    You must also use XMLTABLEs chained when accessing a parent/child instead of a FLWOR expression relationship, otherwise the CBO cannot rewrite the XQuery query correctly (maybe it's fixed in the latest version).

    If you make these changes, the plan should show the cleaner predicates:

    SQL > SELECT EVENT_ID, MESSAGE_ID, ACTION_TYPE, ACTION_SUB_ID, ACTION_TIMESTAMP

    2 FROM test_table

    3 XMLTABLE ('/ monitoring ')

    4 COLUMNS XML_CONTENT OF PASSAGE

    5 WAY of VARCHAR2 (4000) EVENT_ID "ID."

    6 actions for XMLTYPE PATH 'action '.

    (7) T1,

    8 XMLTABLE ('/ action')

    Shares of PASSAGE 9 COLUMNS

    NUMBER of ACTION_SUB_ID 10 PATH "actionSubId."

    11 PATH of VARCHAR2 (4000) ACTION_TYPE "type."

    12 WAY of NUMBER ACTION_TIMESTAMP 'time '.

    (13) T2

    14 WHERE EVENT_ID IS NOT NULL

    15 AND ACTION_SUB_ID IS NOT NULL

    16;

    Execution plan

    ----------------------------------------------------------

    Hash value of plan: 1763884463

    ------------------------------------------------------------------------------------------------

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

    ------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |                 |   109.   220K |     6 (17). 00:00:01 |

    |   1.  THE MERGE JOIN.                 |   109.   220K |     6 (17). 00:00:01 |

    |*  2 |   TABLE ACCESS BY INDEX ROWID | TEST_TABLE |    11.   352.     2 (0) | 00:00:01 |

    |   3.    INDEX SCAN FULL | SYS_C007567 |    11.       |     1 (0) | 00:00:01 |

    |*  4 |   JOIN TYPE.                 |   109.   216K |     4 (25) | 00:00:01 |

    |*  5 |    TABLE ACCESS FULL | T_OR_MON_ACTION |   106 S 216K |     3 (0) | 00:00:01 |

    ------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - filter("TEST_TABLE".") (' SYS_NC00012$ ' IS NOT NULL)

    4 - access("SYS_ALIAS_0".") NESTED_TABLE_ID "=" TABLE_TEST. " ("' SYS_NC0000800009$ ')

    filter ("SYS_ALIAS_0". "NESTED_TABLE_ID"="TABLE_TEST" "." " ("SYS_NC0000800009$")

    5 - filter("SYS_ALIAS_0"." actionSubId» IS NOT NULL)

    Note

    -----

    -dynamic sample used for this survey (level = 2)

    Now, if it is still necessary, everything boils down to choosing a technique for index NULL values:

    -composite index with a column not zero or constant

    -FBI

    -bitmap image

    Choose the one that best fits your data, the selectivity and activity on the tables.

  • How to create seekbar for the generation of animation in flash, html5 canvas

    Hello

    I've created an animation in html5 canvas option in flash CC. I want to control the animation by using the seek bar (progress bar). Can someone guide me how to create the same.

    Thanks in advance.

    var totalFrame;
    var unitFrame;
    var unitSlide;
    var playMode;
    var sliderInitX = 0;
    var currMovie = this.parent;
    var _this = this;
    var BarMc = this["barMc"];
    
    function setSlider()
    {
      totalFrame = currMovie.timeline.duration;
      unitFrame = (totalFrame / (BarMc.nominalBounds.width));
      unitSlide = (BarMc.nominalBounds.width) / totalFrame;
    
      _this.sliderBtn.x = sliderInitX;
    
      playMode = true;
      setInterval(function(){onEnter();}, 33);
    
      BarMc.addEventListener("click", onClick);
    
    }
    
    function onClick(evt)
    {
      var stageXpos = stage.mouseX-(58);
      _this.sliderBtn.x = stageXpos;
      var movFrame = Math.round((_this.sliderBtn.x - (BarMc.x-(BarMc.nominalBounds.width/2))) * unitFrame);
      if ((movFrame< currMovie.timeline.duration) && playMode && (currMovie.timeline.position != currMovie.timeline.duration)) {
      currMovie.gotoAndPlay(movFrame);
      } else if (movFrame > currMovie.timeline.duration) {
      currMovie.gotoAndStop(currMovie.timeline.duration);
      playMode = false;
      } else {
      currMovie.gotoAndStop(movFrame);
      playMode = false;
      }
    }
    
    setSlider();
    
    function onEnter(){
      if (playMode) {
      _this.sliderBtn.x = BarMc.x + (unitSlide * currMovie.timeline.position) - (BarMc.nominalBounds.width/2);
      if (_this.sliderBtn.x > (BarMc.x + (BarMc.nominalBounds.width))) {
      _this.sliderBtn.x = (BarMc.x + (BarMc.nominalBounds.width));
      }
      }
    }
    

    name = barMc bar

    and the handle = sliderBtn

  • Does anyone know how to create mirror using the SDK sessions?

    I would like to know how to create a port mirror session. Anyone know?

    Take a look at the ReconfigurevDvs_Task() - http://vijava.sourceforge.net/vSphereAPIDoc/ver5/ReferenceGuide/vim.DistributedVirtualSwitch.html#reconfigure and you will need to specify config spec to be VMwareDVSVspanConfigSpec http://vijava.sourceforge.net/vSphereAPIDoc/ver5/ReferenceGuide/vim.dvs.VmwareDistributedVirtualSwitch.VspanConfigSpec.html , which is for duplication of port

  • How to create graphics with the constructor syntax

    How you can use the XXXBuilder class to generate graphs? I have this code:
    NumberAxis xa = NumberAxisBuilder.create().lowerBound(0.0).upperBound(10.0).build();
    NumberAxis ya = NumberAxisBuilder.create().lowerBound(-10.0).upperBound(10.0).build();
    ScatterChart<Number, Number> chart = ScatterChartBuilder.create().XAxis(xa).YAxis(ya).build();
    But I get:
    error: the reference to create is ambiguous, the method create() in RegionBuilder and < X, Y > method create() in ScatterChartBuilder match
    ScatterChart < number >, table = ScatterChartBuilder.create (). XAxis (xa). YAxis (ya) infrastructure ();
    ^
    where X, Y are variables of type:
    X extends the object declared in the < X, Y > method create()
    It extends the object declared in the < X, Y > method create()

    How can I resolve the ambiguity?

    Pete
    (it's 1.7.0_06 JDK, JavaFX 2.2.0 - b21)

    Probably a bug in the ChartBuilders or the JDK.

    ScatterChartBuilder.create().build(); // does not work either.
    

    javac is unable to determine if the create() method of SceneChartBuilder or the create() method of RegionBuilder must be applied.
    The AxisBuilders arising also from RegionBuilder work because they do not identify their own obscure create with generic type information method.

    How can I resolve the ambiguity?

    New ScatterChart ;-)

  • created by using the default tablespace "SYSAUX' table

    Hi all

    I am a newbie of semantic technology from oracle. I have a question that I do not understand why the "articles_rdf_data" table is not under the created tablespace "rdf_tblspace", but in the default tablespace "SYSAUX? I created a table space named articles_rdf_data and a network of semantic data using this tablespace. After I created the table "articles_rdf_data" and a semantic model 'items' which uses the created tablespace, and then I logged in the OEM to check it out, I found that this table uses the default tablespace "SYSAUX" rather than created tablespace which I thought that it should use. Thanks in advance.

    Kind regards
    Hong

    Salvation Hong,

    When you created your table in the application "articles_rdf_data" have you set the tablespace?
    for example
    SQL > create table xyz (i int) tablespace rdf_tblspace;

    If you don't explicitly set, you must change the default behavior of the user of the session
    tablespace. Assume that your user session is scott

    SQL > ALTER USER scott TABLESPACE DEFAULT rdf_tblspace;

    Thank you

    Zhe

  • How to create a LOV the same table in the adf.

    Hi all

    I have a simple table of database with over any dependant on other tables. In my table one of my name of the column as "Gander".
    Since I have given in table mod "or F. What is my requirement in simple with table search page that I want to search with Gander field also with other areas.
    while I want to show that gender as LOV in the search panel.
    I tried with when we have a relationship with some other table.but how to create LOV to field when the field in the same table only.

    as M or F even use cases or not like.


    Concerning
    Siva

    Siva,

    What is your version of JDev? What technology you are using (BC4J?)?

    Assuming you are using BC for the model, you tried to create another object view based on query something like

    select distinct gender, gender from your table
    

    and then use this VO for LOV?

    Arun-

  • How to create 2 of the 'me' in the same form?

    Hello

    I use Adobe Premiere Pro CS6 for awhile, and I wonder if it is possible to make 2 or 3 of the 'self', or any character all move on the screen at once. Of curse, there is really no 2 me. I had an idea of video a day I end up realizing I have a twin, and this double (which is actually me in both shots) and I are talking and things like that. I know very little about the use of Premiere pro CS6. I would like to know if it is possible, and if it is possible, how?

    Thank you!!

    It's called Split Screen

    Here's a start

    http://webvideouniversity.com/podcast/video/2009/06/19/how-to-make-a-video-with-a-twin-of-vous-m th.

    http://www.YouTube.com/watch?v=lF8_IqAkGyg

    http://www.YouTube.com/watch?v=-OL8dJF7SZM

    http://Vimeo.com/11074349

    -375865 http://Adobe-Premiere.WonderHowTo.com/How-to/Create-Split-Screen-Effect-Adobe-Premiere-Pro.

  • How to create indexes on the column xmtype

    Hello

    I have a table as follows

    CREATE TABLE T_TEST_XML (ID_PROCESSUS NUMBER, TXT_XML XMLTYPE);


    I query the table above very frequently with the query

    SELECT * FROM TXS T_TEST_XML WHERE EXISTSNODE (TXS. TXT_XML, '/ order [status = "PEN"]') = 1


    How to create function function index on the TXT_XML column for the xpath expression/order [status = "PEN"]' to improve the query performance?

    Thank you

    In fact if you are limited to the use of older software

    1 consider to define an XML schema and store XML using storage relational object.

    or

    2. If you need to store XML as CLOB to create the index on extractValue(), rather than existsNode() and provide the underlying value at the SQL level rather than the XPATH level.

    SQL> DROP TABLE T_TEST_XML
      2  /
    
    Table dropped.
    
    SQL> CREATE TABLE T_TEST_XML (PROCESS_ID NUMBER, TXT_XML XMLTYPE)
      2  /
    
    Table created.
    
    SQL> create INDEX T_TEXT_XML_IDX on T_TEST_XML( extractValue(TXT_XML,'/order/status'))
      2  /
    
    Index created.
    
    SQL> set autotrace on explain
    SQL> --
    SQL> SELECT *
      2    FROM T_TEST_XML TXS
      3   WHERE ExistsNode(TXT_XML,'/order[status="PEN"]') = 1
      4  /
    
    no rows selected
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 3001212210
    
    ---------------------------------------------------------------------------------
    | Id  | Operation          | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |            |     1 |  2017 |    31   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS SEMI |            |     1 |  2017 |    31   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| T_TEST_XML |     1 |  2015 |     2   (0)| 00:00:01 |
    |*  3 |   XPATH EVALUATION |            |       |       |            |          |
    ---------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - filter("P"."C_01$"='PEN')
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    SQL> SELECT *
      2    FROM T_TEST_XML TXS
      3   WHERE extractValue(TXT_XML,'/order/status') = 'PEN'
      4  /
    
    no rows selected
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1430727070
    
    ----------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name           | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |                |     1 |  2015 |     1   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_TEST_XML     |     1 |  2015 |     1   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | T_TEXT_XML_IDX |     1 |       |     1   (0)| 00:00:01 |
    ----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/order/status',null,0,0,5242
                  93,133120)='PEN')
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    

    This allows the index press questioning on any status value, rather than just the PEN

  • Data Modeler: how to create and use the collection type

    Hello
    essentially of departure I don't understand how (for example) create and use the data based on the type of data varray type.

    Please notify.
    Thank you
    Andrew

    Hi André,.

    You can create new types of collection (varray/table) in two ways:
    (1) in the browser - find 'Types of data' > 'Types of Collection' node menu dropdown - there just 'create new collection type' it
    (2) in the types of data model diagram - you can create collection "some type structured" or collection of references to the it - use 'new Collection... '. "tool and click first on sight structured type and after the structured type that will contain the collection - new attribute is added to the latter and if there is none this type of collection already didn't set the new collection type are created and you can change it later.

    Philippe

  • How to create untapped in the DB adapter connection details

    Hello

    User Guide to adapt the technology tells how to create unmanaged connection details.

    Note: Unhandled connection details are not created in the
    DBAdapter.jca files when you start Oracle JDeveloper is in the
    in normal mode. However, unmanaged connection details are created
    in .jca DBAdapter files when you start Oracle JDeveloper
    the preview mode.

    Guide 9-98 oracle Fusion Middleware for technology adapters


    I can't understand this.
    Can someone explain this?

    Thank you
    Maryse



    xmlns = "http://platform.integration.oracle/blocks/adapter/fw/metadata" >

    adapterRef ="" >
    <>
    managedConnectionFactoryClassName = "oracle.tip.adapter.aq.AQManagedConnectionFactor
    y « >

    value="JDBC:Oracle:thin:@stadd14.us.Oracle.com:1522:ORCL"/ >





    <>
    className = "oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec" > "





    These entries are correct. However according to Jay earlier for the time of execution, you create a connection for the jca adapter factory, using the Weblogic administration console. The JNDI name ' ist/QA/aqSample' as an example from above should be listed in the factory connections. Unused receipts are collect information from their jdeveloper design, and they cannot be used at run time. This is not supported in 11g.

  • (Pavilion dv2000 vista) How to create discs of the comand recovery console

    What is the name of the executable file and directory for the command to create the recovery partition recovery DVD?  I am unable to get to the desktop to create, and the recovery console has been unable to reformat the hard drive.  The way I see it I have only 3 choices:

    1 make the recovery partition disks, replace the disk and run recovery on the new hard drive.

    2. use linux software to copy the recovery on a "mega" flash drive partition, replace the hard drive, use linux software to copy the recovery on the new hard drive partition and run the system recovery then.

    3. pay $ 15 to have HP send me the recovery disks.

    Thanks in advance.

    I tried and there is no directory ' / Windows/creator "in my recovery partition.  I thought maybe the file and directory got renamed or moved to templates later (this paricular is dv2911us).  I have also sought among the various directories and have not found any executable "CD Creator.exe; This is not to say there isn't, I just have not seen in my seaching... There are a lot of directories.

    Edit:

    Just received this response from HP email help (the most useful of all the methods of "contact us" HP):

    Jim, thank you for writing back to us.

    Jim, to keep you informed, the recovery disk have a period of 90 days from the date of purchase of laptop computer for his creation. However, if you try to create after the period of such, you may experience problems. The same rule applies in the case of new hard drive.

    I'm afraid that there is no console command to launch the creation of recovery disks. Even if the recovery partition seems to be fully functional, it is in the hard drive only. Executable files named 'CD creator.exe' is just an image.

    There are third party available for the recovery disc software, however, ultimately they would create problems as the hard drive failed.

    Given the current situation, we recommend that you replace the hard drive and buy the new recovery drive.

    I'm sorry for the inconvenience.

    Also I find it a bit funny that last night when I called technical support, the lady that I spoke to said the new HDD would cost 400some dollars!  I think this is the cost that it's based on the price for the operating system and other software included on the disc.  Anyway, then I asked him what it would cost to just send it and make them repair the laptop, and she said it would be $ 300some! LOL it took everything I had not to start not to laugh.  Then, when I told her thanks for the help, and that she would have answered all my questions, she tried to sell me a new laptop! I didn't say thank you and she tried once again! I want to say Holy shit! It's just a hard drive of freeking! in any case I'm glad I took the time to email them and get a response from someone who knew what they were doing.

    Guess that just means it's tempting step 2 (see the original post).

    Message edited by JimboSan on 09/10/2009 23:43
  • How to create a list of specific price for customers in advance price oracle module

    Hi all

    I'm just curious to know if I can create some of the tariffs with the same elements and attached these rates to different customers.

    example:

    Suppose I have clients: Cust1 and Cust2

    And I have a few items such as: item1, item2, item3

    So if I create two different rates called: Cust1_pricelist join all the three elements item1, item2, item3 with the price of $20.

    Cust2_pricelist attach all three elements item1, item2, item3 with the price of $25.

    Then, in the installation of customer - Cust1 > tab Order Management > I assigned Cust1_pricelist

    and                                Cust2 > tab Order Management > I assigned Cust2_pricelist


    So now if I create sales orders with above client + price list and selecting Item1, item2/item2 then I get the error message that all elements are also connected to another price list.

    So my question is: can I do this in another way, without the help of the qualifiers and modifiers.

    Kind regards

    Prakash

    Hi Prakash,

    I tried the same scenario and did not meet any problem, I am able to create sales orders with. I followed as below.

    Customers:

    Customer 1 - order management tab under 'PRICE LIST 1' price list

    Customer 2: management order tab lists the price under "LIST of PRICE 2"

    Price list:

    1 PRICE LIST

    -GECKO - 1 - unit price - 100

    -GECKO - 2 - unit price - 100

    2 PRICE LIST

    -GECKO - 1 - unit price - 150

    -GECKO - 2 - unit price - 150

    Articles:

    GECKO - 1

    GECKO - 2

    Created a command like below

    Client 1 with three lines like below

    Please correct me if my understanding is wrong.

  • How to create and save the Excel file at the dam using java

    I'm trying to create an excel spreadsheet and save it in the dam. I am able to create Excel in the dam, but no data is it than excel. I use the following codes to create.

    String filename = "updatedMetadata.xls";

    FileOutputStream fos = new FileOutputStream (filename);

    Workbook WritableWorkbook is Workbook.createWorkbook (new File (filename));.

    WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);

    Label = null;

    label = new Label (0, 0, "Header1");

    writableSheet.addCell (label);

    label = new Label (0, 1, "tête2");

    writableSheet.addCell (label);

    label = new Label (0, 2, "Header3");

    writableSheet.addCell (label);

    label = new Label (0, 3, "Header4");

    writableSheet.addCell (label);

    label = new Label (0, 4, "Header5");

    writableSheet.addCell (label);

    label = new Label (0, 5, "Header6");

    writableSheet.addCell (label);

    label = new Label (0, 6, "Header7");

    writableSheet.addCell (label);

    label = new Label (0, 7, "Header8");

    writableSheet.addCell (label);

    label = new Label (1, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 4, "Col. val" "");

    writableSheet.addCell (label);

    label = new Label (1, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 7, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 4, ' Col. val "" ");

    writableSheet.addCell (label);

    label = new Label (2, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 7, "col val");

    writableSheet.addCell (label);

    Workbook.Write ();

    Workbook.Close ();

    ResourceResolver resourceResolver = request.getResourceResolver ();

    AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);

    InputStream is = this.getClass () .getResourceAsStream ("/ content/dam/company/fileFolder /" + filename);

    Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);

    File is created in the path "/ content/dam/company/fileFolder / '.

    The file name is "updatedMetadata.xls".

    Thanks in advance

    Mahesh Narayanan

    I found it myself. I share the code so that in the future someone else can use it.

    String filename = "updatedMetadata.xls";

    ExcelFile to the file = new File (filename);

    Workbook WritableWorkbook = Workbook.createWorkbook (excelFile);

    WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);

    Label = null;

    label = new Label (0, 0, "Header1");

    writableSheet.addCell (label);

    label = new Label (0, 1, "tête2");

    writableSheet.addCell (label);

    label = new Label (0, 2, "Header3");

    writableSheet.addCell (label);

    label = new Label (0, 3, "Header4");

    writableSheet.addCell (label);

    label = new Label (0, 4, "Header5");

    writableSheet.addCell (label);

    label = new Label (0, 5, "Header6");

    writableSheet.addCell (label);

    label = new Label (0, 6, "Header7");

    writableSheet.addCell (label);

    label = new Label (0, 7, "Header8");

    writableSheet.addCell (label);

    label = new Label (1, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 4, "Col. val" "");

    writableSheet.addCell (label);

    label = new Label (1, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (1, 7, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 0, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 1, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 2, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 3, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 4, ' Col. val "" ");

    writableSheet.addCell (label);

    label = new Label (2, 5, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 6, "col val");

    writableSheet.addCell (label);

    label = new Label (2, 7, "col val");

    writableSheet.addCell (label);

    Workbook.Write ();

    Workbook.Close ();

    ResourceResolver resourceResolver = request.getResourceResolver ();

    AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);

    InputStream stream = new FileInputStream (excelFile);

    Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);

Maybe you are looking for