Type array? Is it possible?

Hi,
i want to know is it possible to have the array of the
specific type? (in declaration)
For example
public function test( items:Array) ...
in this example i can't force user to put an array of a
special type.
for example in java
for 'static' array
public void test( MyItem[] items)
or
for 'dynamic' array
public void test ( ArrayList<MyItem> itmes )
These examples are type-safe.
Is it possible to do it Action Script

quote:
Originally posted by:
levancho
use metatag :
[ArrayElementType("your.object.type")]
private var yourArray:Array = new Array();
thanks for reply.
i think this is a hack. This works only if i specify "all
values" of the array in my mxml file.
But if want to do it dinamically - doesn't works. This is not
the same like in java (typed array) :(

Similar Messages

  • Posting with transaction type 160 is not possible at MR8M

    MODERATOR:  Do not post (or request) email address or links to copyrighted or confidential information on these forums.  If you do, the thread will be LOCKED and all points UNASSIGNED.  If you have some information, please consider posting it to the [Wiki|https://wiki.sdn.sap.com/wiki/display/ERPFI/Home] rather than sharing via email.  Thank you for your assistance.
    Hi All,
    We raised  a PO w.r.t CWIP asset and posted GRN (MIGO - Transaction typr:100) and Invoice (MIRO).
    Here, Invoice posted wrongly, So we are trying to reverse the invoice with MR8M (which is posted thru MIRO).
    But system populating one message as per the following:
    Posting with transaction type 160 is not possible here, see long text
    Message no. AAPO 177
    Diagnosis:
    Transaction type 160 has a depreciation limitation, although posting is not mandatory in all of the depreciation areas entered However, it is not possible to select depreciation areas in the current transactions.
    Procedure:
    Check the specification of transaction type 160 or use transaction MR8M to enter the transaction
    Please help
    Sairavi
    kumarfi9gmailcom

    Welcome to the forum.
    As a newbie you should understand the forum rules where you are not suppose to post any basic or repeated question.  To avoid this, you should make a search here
    [Forum Search|http://forums.sdn.sap.com/search!default.jspa?objID=f327]
    Type the same error text in Search Terms so that you will find the solution.
    thanks
    G. Lakshmipathi

  • What are the different types of analytic techniques possible in SAP HANA with the examples?

    Hello Gurus,
    Please provide the information on what are the different types of Analytic techniques possible in SAP HANA with examples.
    I would want to know in category of Predictive analysis ,Advance statistical analysis ,segmentation analysis ,data reduction techniques and forecast techniques
    Which Analytic techniques are possible in SAP HANA?
    Thanks and Regards
    Sushma C Narasimhamurthy

    Hi Sushma,
    You can download the user guide here:
    http://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CFcQFjAB&url=http%3A%2F%2Fhelp.sap.com%2Fbusinessobject%2Fproduct_guides%2FSBOpa10%2Fen%2Fpa_user_en.pdf&ei=NMgHUOOtIcSziQfqupyeBA&usg=AFQjCNG10eovyZvNOJneT-l6J7fk0KMQ1Q&sig2=l56CSxtyr_heE1WlhfTdZQ
    It has a list of the algorithms, which are pretty disappointing, I must say. No Random Forests? No ensembling methods? Given that it's using R algorithms, I must say this is a missed opportunity to beat products like SPSS and SAS at their own game. If SAP were to include this functionality, they would be the only BI vendor capable of having a serious predictive tool integrated with the rest of the platform.... but this looks pretty weak.
    I can only hope a later release will remedy this - or maybe the SDK will allow me to create what I need.
    As things stand, I could built a random forest using this tool, but I would have to use a lot of hardcoded SQL to make it happen. And if I wanted to go down that road, I could use the algorithms that come with the Microsoft/Oracle software.
    Please let me be wrong........

  • Converting object wrapper type array into equivalent primary type array

    Hi All!
    My question is how to convert object wrapper type array into equivalent prime type array, e.g. Integer[] -> int[] or Float[] -> float[] etc.
    Is sound like a trivial task however the problem is that I do not know the type I work with. To understand what I mean, please read the following code -
    //Method signature
    Object createArray( Class clazz, String value ) throws Exception;
    //and usage should be as follows:
    Object arr = createArray( Integer.class, "2%%3%%4" );
    //"arr" will be passed as a parameter of a method again via reflection
    public void compute( Object... args ) {
        a = (int[])args[0];
    //or
    Object arr = createArray( Double.class, "2%%3%%4" );
    public void compute( Object... args ) {
        b = (double[])args[0];
    //and the method implementation -
    Object createArray( Class clazz, String value ) throws Exception {
         String[] split = value.split( "%%" );
         //create array, e.g. Integer[] or Double[] etc.
         Object[] o = (Object[])Array.newInstance( clazz, split.length );
         //fill the array with parsed values, on parse error exception will be thrown
         for (int i = 0; i < split.length; i++) {
              Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
              o[i] = meth.invoke( null, new Object[]{ split[i] });
         //here convert Object[] to Object of type int[] or double[] etc...
         /* and return that object*/
         //NB!!! I want to avoid the following code:
         if( o instanceof Integer[] ) {
              int[] ar = new int[o.length];
              for (int i = 0; i < o.length; i++) {
                   ar[i] = (Integer)o;
              return ar;
         } else if( o instanceof Double[] ) {
         //...repeat "else if" for all primary types... :(
         return null;
    Unfortunately I was unable to find any useful method in Java API (I work with 1.5).
    Did I make myself clear? :)
    Thanks in advance,
    Pavel Grigorenko

    I think I've found the answer myself ;-)
    Never thought I could use something like int.class or double.class,
    so the next statement holds int[] q = (int[])Array.newInstance( int.class, 2 );
    and the easy solution is the following -
    Object primeArray = Array.newInstance( token.getPrimeClass(), split.length );
    for (int j = 0; j < split.length; j++) {
         Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
         Object val = meth.invoke( null, new Object[]{ split[j] });
         Array.set( primeArray, j, val );
    }where "token.getPrimeClass()" return appropriate Class, i.e. int.class, float.class etc.

  • 1067: Implicit coercion of a value of type void to an unrelated type Array.

            public function Helicopter (stageRef:Stage) : void
                this.stageRef =stageRef;
                addEventListener(Event.ENTER_FRAME, loop, false, 0, true);
                addEventListener(Event.ENTER_FRAME, Backdrop);
                key = new KeyObject(stageRef);
                x = stageRef.stageWidth/2;
                y = stageRef.stageHeight/2;
    I'm basically having the following error:
    1067: Implicit coercion of a value of type void to an unrelated type Array.
    In relation to the event listener that calls 'Backdrop'. Backdrop is a public function in another class, but it does still recognise Backdrop as a function. Any ideas on what might be causing the error?

    there's no Backdrop method there.  and, if you're importing your Backdrop class, you can't use a Backdrop method.  i don't know what you're trying to do but if you're trying to create a Backdrop instance use the following:
    package com.chopper.helicopter
                import flash.display.MovieClip;
                import flash.events.Event;
                import com.senocular.utils.KeyObject;
                import flash.display.Stage;
                import flash.ui.Keyboard;
            public class Backdrop extends flash.display.MovieClip
            public function Backdrop() : void
      trace ("Working code")
    /* none of this makes sense
                x += vx;
                if (vx > maxspeed)
                    vx = maxspeed;
                else if (vx < -maxspeed)
                    vx = -maxspeed;
    package com.chopper.helicopter
        import flash.display.MovieClip;
        import flash.events.Event;
        import com.senocular.utils.KeyObject;
        import flash.display.Stage;
        import flash.ui.Keyboard;
        public class Helicopter extends MovieClip
            private var gravity:Number = 1;
            private var vy:Number = 0;
            public var vx:Number = 0;
            private var key:KeyObject;
            private var stageRef:Stage;
    private var bd:Backdrop;
            public var maxspeedG:Number = 6;
            public var maxspeed:Number = 3;
            private var friction:Number = 0.92;
            public function Helicopter (_stageRef:Stage) : void
                stageRef =_stageRef;
                addEventListener(Event.ENTER_FRAME, loop, false, 0, true);
                trace ("working code")
                addEventListener(Event.ADDED_TO_STAGE, backdropF);
                key = new KeyObject(stageRef);
                x = stageRef.stageWidth/2;
                y = stageRef.stageHeight/2;
    private function backdropF(e:Event):void{
    bd=new Backdrop();
    stageRef.addChild(bd);
            public function loop(e:Event) : void
    // some of these variables appear to be undefined
                vy += gravity;
                y += vy;
                x += vx;
                if (vy > maxspeedG)
                    vy = maxspeedG;
                else if (vy < -maxspeed)
                    vy = -maxspeed;
                if (vx > maxspeed)
                    vx = maxspeed;
                else if (vx < -maxspeed)
                    vx = -maxspeed;
                if (vx > 0)
                    scaleX = 1;
                else if (vx < 0)
                    scaleX = -1;
                if (y > stageRef.stageHeight)
                    y = stageRef.stageHeight;
                    vy = -8
                rotation = vx*2;
                if (key.isDown(Keyboard.RIGHT))
                    vx += .5;
                else if (key.isDown(Keyboard.LEFT))
                    vx -= .5;
                else
                    vx *= friction;
                if (key.isDown(Keyboard.UP))
                    vy -= 1;
                else if (key.isDown(Keyboard.DOWN))
                    vy += .5;

  • Complex Types Array in webservices

    How can i invoke the generated Codec for one of my complex type array to serialize and get the xml data..
    I am supposed to store the object info in database as xml. I cannot use regular xml encoding schemas due to limitations.
    Thanks in Advance
    Venkat

    There are no public API for using the generated codec. Check out
    if XMLBeans will be of any help:
    http://xml.apache.org/xmlbeans/
    Regards,
    -manoj
    http://manojc.com
    "Venkat Addanki" <[email protected]> wrote in message
    news:40d71639$1@mktnews1...
    How can i invoke the generated Codec for one of my complex type array toserialize and get the xml data..
    >
    I am supposed to store the object info in database as xml. I cannot useregular xml encoding schemas due to limitations.
    >
    Thanks in Advance
    Venkat

  • How to register IN parameter of Types.Array

    I am trying to call a stored procedure in oracle database using a java application. The stored procedure has a IN parameter of Types.Array type. While trying to register the IN parameter using
    callableStatement.setArray(pos,(java.sql.Array)sqlParameter.value)
    (sqlParameter.value is of Object type)
    I get a ClassCastException
    Can anyone tell me how to pass the Array to the stored procedure?

    sqlParameter.value is of Object typeYou have to create the array using the class oracle.sql.ArrayDescriptor; like this:
    Connection dbConnection = dbConnectionAccess.getConnection ();
    ArrayDescriptor arrayDescriptor = ArrayDescriptor.createDescriptor ("HYPOLINE.NTESTARRAY", dbConnection);
    String [] newArrayValue = new String [] {"A1","A2","A3"};
    Array newArray = new ARRAY (arrayDescriptor, dbConnection, newArrayValue);
    See also the Oracle JDBC Developer's Guide and Reference!
    Hope this helps Thomas

  • How to force Get Type Array(..) return a direct pointer to the elements

    So, my question is how the native method can ask the VM to pin down the contents of an array.
    Performing storage allocation and copying is too long for
    Java objects containing many primitive data types...
    Thank you !

    I must use GetPrimitiveArrayCritical(..) instead of
    Get<type>array(..).
    Thank you for me!

  • Child tag initializer for type 'Array' may not be empty?error.

    hey,
    I imported this file from illustrator into catalyst. WE assume the error is caused by the filters tags but we can't delete them in the code view. The project is unable to run with this error. Is there a way to resolve this?

    Hey,
    I am also getting this error message and reads: "Errors (1 item) Child tag initializer for type 'Array' may not be empty. There is no way to edit anything in Code view, and I've been working this project for a little while. Imported items from Photoshop CS4. What to do? Thanks.

  • DB Adapter JCA - db:type="Array"

    We have a user defined type in the PLSQL call.
    TYPE controlTable IS TABLE OF VARCHAR2 (100) INDEX BY BINARY_INTEGER;
    We have created a JCA DBAdapter for this PLSQL. XSD looks like below :
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/SYS/BPEL_SAMPLESERVICE1/GENERICPACKAGE-24GENE/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/SYS/BPEL_SAMPLESERVICE1/GENERICPACKAGE-24GENE/" elementFormDefault="qualified">
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="IN_SRVID" type="string" db:index="1" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="IN_INPUTTABLE" type="db:SYS.GENERICPACKAGX15863X1X5" db:index="2" db:type="Array" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="OUT_ERRORCODE" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="SYS.GENERICPACKAGX15863X1X5">
    <sequence>
    <element name="IN_INPUTTABLE_ITEM" db:type="VARCHAR2" minOccurs="0" maxOccurs="unbounded" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </schema>
    But how to set the value to this tag - IN_INPUTTABLE_ITEM which is a db:type of Array. If i set a string value i am getting the below error.
    invalid name pattern: SYS.GENERICPACKAGX15863X1X5
    Please help us on this
    Thanks
    Sesha

    Hi
    when i change the type as string and invoke , i am getting the below error :
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SampleService1' failed due to: Parse array conversion error.
    An error occurred while parsing XML representing a Java array.
    Unable to convert the XSD element IN_INPUTTABLE whose collection type is string to a Java array. Cause: java.lang.ClassCastException: oracle.xml.parser.schema.XSDSimpleType cannot be cast to oracle.xml.parser.schema.XSDComplexType
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    But i have a concern that - If we change that to a string , then how i can pass a list of values. I set the same column using java as below :
    this.functionName = new String[3];
    this.functionName[0] = "operation1";
    this.functionName[1] = "operation2";
    this.functionName[2] = "operation3";
    int currentLen = functionName.length;
    int maxLen = currentLen;
    int elementMaxLen = 20;
    cStatement.setPlsqlIndexTable(5, functionName, maxLen, currentLen, OracleTypes.VARCHAR,elementMaxLen);
    Thanks
    Sesha

  • I want to do gr against mvt type 351, is it possible?

    Hi
    i want to do gr against mvt type 351, is it possible?
    Regards
    Tanmoy

    Hi,
    351 movement - Transfer posting to stock in transit from unrestricted-use, so PO is mandetory to track the intransit stock , you can very much do 351 movement from one plant to another plant agaisnt STO PO, in which stock will be shown as in transit from supplying plant to receiving plant against PO , you can see the stock in transit thru MB5T. Accounting Entries are generated with 351 Movement Type ,
    Stock outward movemnt A/c  Cr   - Supplying Plant
          Stock inwrd movement A/c Dr  - receiving Plant
    Now,  to get the stock in Inventory in receiving plant, against the same STO PO, you have to make GR (MIGO), here no accounting entries are generated.
    Pl. revert in case you need any further clarification
    Regards,
    Vikas

  • Multidimensionality of C type array and NSArray

    C type arrays can be defined as multidimensional. Is there a pendent for NSArrays?
    Perhaps: declaring an NSArray with an instance variable which is itself a NSArray?

    Sorry, my table wasn't really clear. I inserted spaces instead of tabs in the table which made the table unreadable. These spaces were removed automatically during sending my message. I couldn't find how to insert tabs in a message. Instead of writing an example in another language I send the table again - this time with the help of some dummy tabs (underscore character):
    ________________ array2 contains n array1: __________
    __________ column1 _ column2 _ column3_ column4
    array1.1 ___ a1.1.1 ___ a1.1.2 ___ a1.1.3 ___ a1.1.4
    array1.2 ___ a1.2.1 ___ a1.2.2 ___ a1.2.3 ___ a1.2.4
    array1.3 ___ a1.3.1 ___ a1.3.2 ___ a1.3.3 ___ a1.3.4
    array1.n ___ a1.n.1 ___ a1.n.2 ___ a1.n.3 ___ a1.n.4
    As said, I like to sort all arrays1 (array1.1 up to array1.n) contained in array2 according to column 3 without disturbing the order within arrays1. If this statement is perhaps too abstract I give an example. Suppose column3 contains the integers 3, 5, 1, 2:
    ________________ Old sort order of array 2 ___________
    ________________ array2 contains n array1: __________
    __________ column1 _ column2 _ column3_ column4
    array1.1 ___ a1.1.1 ___ a1.1.2 ______ 3 _____ a1.1.4
    array1.2 ___ a1.2.1 ___ a1.2.2 ______ 5 _____ a1.2.4
    array1.3 ___ a1.3.1 ___ a1.3.2 ______ 1 _____ a1.3.4
    array1.n ___ a1.n.1 ___ a1.n.2 ______ 2 _____ a1.n.4
    Sorting the arrays1.n in an ascending order should result in a newly sorted array2:
    ________________ New sort order of array 2 ___________
    ________________ array2 contains n array1: __________
    __________ column1 _ column2 _ column3_ column4
    array1.3 ___ a1.3.1 ___ a1.3.2 ______ 1 _____ a1.3.4
    array1.n ___ a1.n.1 ___ a1.n.2 ______ 2 _____ a1.n.4
    array1.1 ___ a1.1.1 ___ a1.1.2 ______ 3 _____ a1.1.4
    array1.2 ___ a1.2.1 ___ a1.2.2 ______ 5 _____ a1.2.4
    You are writing: "There are a number of sorting methods to use. I suggest the new sortedArrayUsingComparator. Just pass in a block that defines how you want the array sorted."
    Unfortunately, I see my Cocoa kowledge is too weak until now, so I have to learn a lot more. I have vaguely heard about 'blocks' and I don't know the method 'sortedArrayUsingComparator'. Nonetheless, I hope that now my question/problem is clear.
    Merci beaucoup pour votre patience
    Gérard

  • Declaring array of T[] - possible bug?

    See the following code:
    class A {}
    class B {}
    public class Test {
         public static void main(String[] args) {
              A a = null;
              foo(a);
         public static <T> void foo(T a) {
              T[] t = (T[]) new Object[10];
              Object[] o = t; // correct. Object[] is parent of T[].
              o[0] = new B(); // correct.  Insert B into object[].
              T val = t[0]; // Type error if T is not A!!
              System.out.println(t[0]);
    }T[] t = (T[]) new Object[10]; is the way of declaring an array of T that people in this forum recommend. However, I've found something
    quite strange. As you can see in the code above , T must be A. However, strangely enough, T val = t[0] succeeded. In this code, T is obviously A, and t[0] is also obviously B. However, JDK raises only one warning about T[] t = (T[]) new Object[10];, saying that "cast from Object[] to T[] is actually checking against erased type Object[]."
    Though the tutorial on generics says that codes are type-safe only when there's no warning, assigning instance of B into the variable whose type is A is quite weird.
    Is this a bug or my mistake?
    TIA.

    T[] t = (T[]) new Object[10];My compiler gives a warning here, which makes sense:     [javac] Compiling 236 source files to C:\cygwin\home\jeff\dev\scratch\classes
        [javac] C:\cygwin\home\jeff\dev\scratch\Test.java:14: warning: [unchecked] unchecked cast
        [javac] found   : java.lang.Object[]
        [javac] required: T[]
        [javac]         T[] t = (T[]) new Object[10];
        [javac]                       ^
        [javac] 1 warning
    Object[] o = t; // correct. Object[] is parent of
    of T[].No, it's not. Object is the parent of T.
    [url http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#40879]JLS 10.8 Class Objects for Arrays: The direct superclass of an array type is Object.
    The conversion works because [url http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#184206]JLS 5.2 Assignment Conversion says:
    Assignment of a value of compile-time reference type S (source) to a variable of compile-time reference type T (target) is checked as follows:
    If S is an array type SC[], that is, an array of components of type SC:
    If T is a class type, then T must be Object, or a compile-time error occurs.
    If T is an interface type, then a compile-time error occurs unless T is the type java.io.Serializable or the type Cloneable, the only interfaces implemented by arrays.
    If T is an array type TC[], that is, an array of components of type TC, then a compile-time error occurs unless one of the following is true:
    TC and SC are the same primitive type.
    TC and SC are both reference types and type SC is assignable to TC, as determined by a recursive application of these compile-time rules for assignability.
    I'm a little disappointed that this doesn't at least produce a warning, but I guess you can't expect generics to catch everything.
    o[0] = new B(); // correct. Insert B into
    to object[].This is why it kind of sucks that the previous statement works.
    T[] t = (T[]) new Object[10]; is the way of declaring
    an array of T that people in this forum recommend.They do? Seems odd, but then, I'm not really on 5.0 yet, so I don't know that much about generics.
    However, I've found something
    quite strange. As you can see in the code above , T
    must be A. However, strangely enough, T val = t[0]
    succeeded. In this code, T is obviously A, and t[0]
    is also obviously B. That may be a bug, or it may just be a limitation of how far generics can go in type checking. Poke through some generics tutorials and white papers, and if you don't find an explanation, submit it to the bug parade.
    Though the tutorial on generics says that codes are
    type-safe only when there's no warning, assigning
    instance of B into the variable whose type is A is
    quite weird.Yeah, but the code that got you there is kind of weird too. Generics provide type safety in a lot of common scenarios, but they can't cover every possibility.
    Is this a bug or my mistake?Not sure. My guess is this is just something that generics are not meant to cover, but it could be a bug.

  • Email with HTML (content/type). Is it possible?

    Hello!
    I have this script to send e-mail form my PDF form:
    event.target.submitForm({cURL
    :"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody,cSubmitAs:"PDF",cCharset:"utf-8"});
    I would like to send e-mail with content/type HTML. Is it possible? When open my Outlook, the message is in format simple text, but I don't want. I want the format HTML.
    Thanks!

    Hello my friend Niall. How are you?
    So, Not is it possible, right?
    I try search on the internet about the function submitform, but I didn't found anything about the HTML. I need this because the user going to put a html table when reply the e-mail for me.
    Thanks.

  • User Defined Type - Array bind Query very slow

    Hi.
    I have following Problem. I try to use Oracle Instant Client 11 and ODP.NET to pass Arrays in SELECT statements as Bind Parameters. I did it, but it runs very-very slow. Example:
    - Inittial Query:
    SELECT tbl1.field1, tbl1.field2, tbl2.field1, tbl2.field2 ... FROM tbl1
    LEFT JOIN tbl2 ON tbl1.field11=tbl2.field0
    LEFT JOIN tbl3 ON tbl2.field11=tbl3.field0 AND tbll1.field5=tbl3.field1
    ...and another LEFT JOINS
    WHERE
    tbl1.field0 IN ('id01', 'id02', 'id03'...)
    this query with 100 elements in "IN" on my database takes 3 seconds.
    - Query with Array bind:
    in Oracle I did UDT: create or replace type myschema.mytype as table of varchar2(1000)
    than, as described in Oracle Example I did few classes (Factory and implementing IOracleCustomType) and use it in Query,
    instead of IN ('id01', 'id02', 'id03'...) I have tbl1.field0 IN (select column_value from table(:prmTable)), and :prmTable is bound array.
    this query takes 190 seconds!!! Why? I works, but the HDD of Oracle server works very hard, and it takes too long.
    Oracle server we habe 10g.
    PS: I tried to use only 5 elements in array - the same result, it takes also 190 seconds...
    Please help!

    I recommend you generate an explain plan for each query and post them here. Based on what you have given the following MAY be happening:
    Your first query has as static IN list when it is submitted to the server. Therefore when Oracle generates the execution plan the CBO can accurately determine it based on a KNOWN set of input parameters. However the second query has a bind variable for this list of parameters and Oracle has no way of knowing at the time the execution plan is generated what that list contains. If it does not know what the list contains it cannot generate the most optimal execution plan. Therefore I would guess that it is probably doing some sort of full table scan (although these aren't always bad, remember that!).
    Again please post the execution plans for each.
    HTH!

Maybe you are looking for

  • Mail Backup: On My Mac

    Hi I was wondering if there is a way that I can save ON MY MAC section from my Mail? I'm using Lion OS. Thanks

  • Java mail api: SendFailedException when trying to send Mail via SMTP

    Hello, I'm trying to send a mail via java mail api using a server that requires smtp authentication. I'm currently using the following code: protocol = "smtp"; host = "auth.smtp.profimailer.de"; port = 25; String from="[email protected]"; String to="

  • System not allowing to assign the master batch in Equipment

    Dear PM Guru's, I am trying to rotables managment process through installation and dismantling process. Material created with different valuation types and serial number profiles. Stock updated for valuation type REPAIRED & NEW. For TOBE REPAIRED, th

  • Languages and predictive texting

    My n95 comes with a few languages (English, French, Spanish, German, Portuguese...) pre-installed. I'm living in the UK but I'm Belgian, speak fluent Dutch, French, English and some Portuguese. Obviously, Dutch is missing in the language list of my p

  • SROAUG meeting invite-Friday June 21, 2002

    SROAUG Meeting Invite-Friday, June 21,2002 Please attend the SROAUG (Southwest Oracle Applications Users Group) upcoming meeting: Location: Sheraton Gateway Hotel at LAX (Los Angeles International Airport) Time: 8:30 am to 12:30 pm General Presentati