Package Reference

Hey Folks
Can somebody help in this concept.
I am going to call a One Objects dirrent static methods in other object.
which one of the following is best performance wise?
1. import that package at top
2. add package with object name while calling the method.
Ex:
MyConfig object is in package a.b.c, and it has few static methods
I st option
import a.b.c.MyConfig;
MyConfig.method1();
MyConfig.method2();
II option
a.b.c.MyConfig.method1();
a.b.c.MyConfig.method2();
which one is better
Thanks

That is just a matter of style.
I prefer to mix both styles using the style I most of the time, but using style II pnly if it is clearer at that particular context. (sometimes it is required. For example, I must use two classes/interfaces named X509Certificate in my programs: one of them is java.security.cert.X509Certificate and the other one is org.mozilla.jss.pkix.x509.X509Certificate, and the compiler requires me to resolve the ambiguity.)
If you compile both programs, the .class files will be virtually undistinguishable (but not exactly equal equal due to debugging info).

Similar Messages

  • Supplied PL/SQL Package Reference

    Hello all,
    who can me give the link to the oracle-documentation "Oracle8i Supplied PL/SQL Packages Reference"?
    Thanks.
    Regards
    Sandra Koenig

    easy to find at http://tahiti.oracle.com
    plsql

  • Link to download the RMI optional package reference implementation

    Hi,
    I could not find any links for downloading the reference implementation of the RMI optional package. Is this package available for download? Pls give me the link if you find the same. Thanks in advance..
    regards,
    Anand
    Edited by: Anand.Raman on Apr 22, 2009 2:48 AM

    This is a deprecated URL that will be retired soon.
    You can download this RI here:
    https://java-partner.sun.com/support/login.action
    Assuming that you have a Java Partner login.

  • Remote package references

    Hello,
    I was wondering if anyone had some insight to this problem -- at work, we are developing automated target recognition software and there is both a client and server side. I have been tasked with writing an ant file to build the server part. So, I wrote it, and found when I tried to compile, there were class not found errors for java packages not on my local machine but the server in our labs which is in a closed network since it contains sensitive data.
    I was talking to my boss about this and he would like to somehow bypass these compiler errors by telling it that these packages exist somewhere else even though it cant see them right now, rather than copying all required jar files to my local machine.
    I was wondering is this even possible? If so, where should I start researching?
    I really do appreciate any help or insight, and thank you in advance for your time and effort.
    Best Regards,
    Joe

    Jbarkawi wrote:
    Unfortunatley, I cannot mount the remote file system to my computer; this is why I have been racking my brains over this problem. Allow me to provide a less ambiguous description:
    I have a ant script compiling java files which require certain packages. These packages are only on a machine which has no network access. LOL.
    Is there any way to tell the compiler when it looks for these packages to essentially "trust" that these packages will be there when the code is run?A definite no with a but.
    The but is that if your code was constructed so that the implementation was abstracted away and you did some runtime loading of implementation then you could. For example you can write and compile a JDBC program without having a JDBC driver in your compile classpath even though it will be used at runtime.
    But if you are importing these packages then no certainly you can't force the compiler to "trust" that a bunch of missing stuff, that will somehow magically conform to the API you are using for them, will just show up later.
    You need to get those packages. Or re-write the whole thing as above if that is a reasonable solution for your problem.

  • Package Validation Error - SSIS Error Code DTS_E_OLEDBERROR - Error code: 0x80040E4D

    I sometimes get the following error randomly - 
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at MY_PACKAGE_PLUS[Connection manager "MY_DATABASE"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'USERNAMEZ'.".
    Error at MY_PACKAGE_PLUS [Log provider "SSIS log provider for SQL Server"]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MY_DATABASE" failed with error
    code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (Microsoft.DataTransformationServices.VsIntegration)
    My package name in SSIS/BIDS is MY_PACKAGE, but in the error I see MY_PACKAGE_PLUS, which was the name of an older version of the package. This error goes away when I close SSIS and then restart it. I wonder why this happens and how do I fix it
    ? Is this some bug in SSIS ? The same package runs without errors in SQL server agent.
    Thanks.

    It seems the old package reference still exists in your project bin folder or inside stproj file. WHich is why it tries to validate the older package each time when you start  the project.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to deploy parent child SSIS package to production/live server.

    Hi all I am very new to SSIS. I have got SSIS package developed by some other guy this package reads data from flat files and stores to database after mapping.
    Flow: 1) First package extract records from flat file and stores in table. 2) Then it calls child package using Execute package tasks. 3) Then child package do some calculations and update the database table.
    SSIS is using Environment variable to get database information.
    Every thing is working fine but now I want to deploy this package to my client's server.
    Ques: Do I need to copy and paste files from bin folder and paste on clients machine?
    What I Tried: I copy files from bin folder and placed on my local computer. Then I create a job in MSSQL and run the job. Package runs perfectly. But Later I changed location of my project and problem starts job stops working.
    Issue: Error says location of child package is not available(As I changed position of my project files)
    Kindly suggest what to do. 

    Hi Anuj,
    The issue occurs because the path of the child package is invalid once you change the location of the project. When configuring the child package reference for Execute Package Task, we can configure it to use Project Reference or External Reference:
    As for the Project Reference, it is used when the project is not deployed or the project to deployed to the SSISDB catalog in SSIS 2012.
    As for the SQL Server External Reference, it is used when the project or child package is deployed to the msdb database. The File System External Reference can be used no matter whether the child package is deployed or not.
    Since the SQL Server Agent job runs correctly after you copied the bin folder to the local computer, it seems that the Execute Package Task uses File System reference and reference to a mapped network driver which maps to the folder that contains the original
    IS project. Otherwise, the SQL Server Agent job should fail because of the invalid path of the child package even if you don’t change the location of the original IS project.
    In your scenario, after copying the bin folder to your local computer, it is recommended that you install the child package to the File System or msdb on your local server, and then edit the parent package in BIDS/SSDT to change the reference of the installed
    child package from the File System or SQL Server storage. After that, you can but don’t have to install the parent package.
    Regards,
    Mike Yin
    TechNet Community Support

  • Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing package does not load up don't know what is going on Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing
    package does not load up don't know what is going on
    Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in importThat's an old package reference. Try javax.swing

  • Cannot Find Package

    I am migrating from a single server, database and http server on one machine, to a two server approach, app server (http server) and database. I have a page in Apex that displays a stored PDF file using an iframe. For example:
    select
    '<iframe src="web_admin_pkg.display_action_pdf?p_doc_id='||:P104_DOC_ID||'" height="600" width="900"></iframe>' pdf
    from dual
    This works great on my single server environment, but when I try to run this from my app server, I get an error stating:
    The requested URL /pls/apex/web_admin_pkg.display_action_pdf was not found on this server.
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at my_host03 Port 7777
    my_host03 is the Application Server
    my_host01 is my database server
    I have the same permissions on the package in both environments, so I don't think that is the issue.
    Any ideas?
    Tony

    Tony,
    Here's a shot in the dark.
    Are the Database Access Descriptors defined with 2 different database users? I noticed that the reference to web_admin_pkg.display_action_pdf is not qualified with a package owner, so either it's being accessed:
    1) through a public synonym
    or
    2) it's contained in the schema configured in your DAD
    Ensure you have either granted execute to PUBLIC on this procedure, and/or try and fully qualify the package reference, e.g., joedbuser.web_admin_pkg.display_action_pdf.
    Joel

  • Information about dbms_java pl/sql package in oracle 8i

    I need the full details about the pl/sql biult in pacakage dbms_java in oracle8i along with the methods belonging to the package.

    It should be in the PL/SQL Supplied Package Reference, available under "Documentation" on the OTN home page.
    null

  • ORA-6571 ERROR (PACKAGE PRAGMA의 사용)

    제품 : SQL*PLUS
    작성날짜 : 1997-06-03
    * ORA-6571 Error ( Package Pragma 의 사용 )
    =============================================
    SQL문 안에서 Stored function을 call하여 사용하는 경우 ORA-6571 error가
    발생할 수 있습니다. 기본적으로 stored function이나 procedure, package에서의
    DML 문장의 사용은 보장이 되는 기능이나, sql list에서의 stored function의
    사용은 몇 가지 제약 조건을 가지고 수행이 가능합니다.
    아래의 자료는 ORA-6571 error가 발생하는 원인에 대하여 기술한 자료이며,
    stored function을 SQL EXPRESSION에서 사용하는 경우에 대해서만 적용이 되는
    사항입니다.
    Calling Stored Functions from SQL Expressions
    Stored function은 data dictionary에 저장이 되는 user defined pl/sql
    function을 의미하며, 하나의 database object로서 해당 database에 connect하는
    application에 의해서도 reference될 수 있습니다.
    Function에는 2가지 유형이 제공되고 있는데, package 형태(pl/sql package 내
    에서 defined된 function)와, standalone function(독립적인 function)이 있
    습니다.
    pl/sql version 2.0까지는 stored function을 call하는 부분이 procedural
    statement에서만 사용이 가능하였으나, pl/sql version 2.1부터는 sql 문 안에서
    도 stored function을 call하여 사용이 가능하게 되었습니다.
    2.1 version 이상의 pl/sql engine에서는 select 문이나 values, set, where,
    start with, group by, having, order by 등과 같은 sql expression에서
    function을 call하여 사용하실 수 있습니다.
    즉, user-defined function을 built-in sql function(round, length,
    months_between ...)과 같은 형태로 사용이 가능하도록 지원이 됩니다.
    이러한 sql 문의 확장 지원은 oracle server 내에서 보다 복잡한 data에 대한
    분석 작업을 용이하게 하며 data independency를 증가시킵니다.
    Sql expression의 내부에서 사용이 되는 function과는 다르게 stored procedure는
    statement로서만 call되며 sql expression에서 direct로 call될 수 없습니다.
    Calling Syntax
    stored function을 sql expression에서 call하고자 하는 경우에는 다음의 syntax
    를 사용하시면 됩니다.
    [schema.][package.]function[@dblink][(arg[, arg] ...)]
    argument를 넘기는 경우에는 positional notation을 사용하여 작업을 수행하셔야
    합니다.
    Remote oracle database에 있는 standalone function gross_pay를 call하는
    경우를 예로 들어보면 아래와 같이 기술할수 있습니다.
    SELECT gross_pay@newyork(eenum, stime, otime) INTO pay FROM dual;
    Using Default Values
    Stored function gross_pay가 DEFAULT 절을 사용하여 2개의 formal parameter를
    넘기는 경우의 function creation은 아래와 같이 기술됩니다.
    CREATE FUNCTION gross_pay
         (emp_id IN NUMBER,
         st_hrs IN NUMBER DEFAULT 40,
         ot_hrs IN NUMBER DEFAULT 0) RETURN
         NUMBER AS
    Procedural statement에서 gross_pay function을 call하는 경우에는 항상
    st_hrs의 default 값을 accept할 수 있으며, 이는 named notation을 사용하기
    때문에 가능합니다.
    그러나, sql expression에서는 ot_hrs의 default값을 accept하지 않는다면,
    st_hrs의 default값을 accept할 수 없으며, 이는 named notation을 sql
    expression에서는 사용할 수 없기 때문입니다.
    /* Named Notation */
    IF gross_pay(eenum, ot_hrs => otime) > pay_limit THEN . . .
    Meeting Basic Requirements
    sql expression에서 call 할 수 있는 user-defined pl/sql function은
    아래의 기본 조건을 만족하여야 합니다.
    1. Stored function이여야 합니다.
    pl/sql block이나 subprogram 내에 define된 function은 사용할 수 없습니다.
    2. Row function이여야 하며, column (group) function이여서는 안됩니다.
    이는 argument로 전체 column의 data를 사용할 수 없기 때문입니다.
    3. Function의 모든 formal parameter는 반드시 IN parameter이여야 합니다.
    OUT이나 IN OUT parameter는 사용될 수 없습니다.
    4. Formal parameter의 datatype은 oracle server internal type (CHAR,
    DATE, NUMBER)이어야 합니다.
    pl/sql type(BOOLEAN, RECORD, TABLE)은 사용할 수 없습니다.
    5. Return type도 반드시 oracle server internal type이여야 합니다.
    아래의 stored function은 상기의 조건을 모두 만족하는 function입니다.
    CREATE FUNCTION gross_pay
         (emp_id IN NUMBER,
         st_hrs IN NUMBER DEFAULT 40,
         ot_hrs IN NUMBER DEFAULT 0) RETURN NUMBER
    AS
         st_rate NUMBER;
         ot_rate NUMBER;
    BEGIN
         SELECT srate, orate INTO st_rate, ot_rate
         FROM payroll
         WHERE acctno = emp_id;
         RETURN st_hrs * st_rate + ot_hrs * ot_rate;
    END gross_pay;
    Controlling Side Effects
    Sql 문에서 call되는 stored function을 실행하기 위하여, oracle server는
    해당 function의 purity level(function이 side effect로 부터 free한 영역)을
    알고 있어야만 합니다.
    Side effect는 database table이나 packaged variable에 대한 reference를
    의미합니다.
    Side effect는 query의 parallelization을 제한할 수 있는데, 이유는
    order-dependent한 결과(indeterminate result)나 user session간에 지속적인
    값을 유지(not allowed)하는 package state가 요구되는 경우가 발생하기 때문입
    니다.
    그러므로, 아래에 기술되는 사항은 sql expression에서 call되는 stored
    function에 적용되어야 합니다.
    1. Function은 database table을 modify해서는 안된다.
    (insert, update, delete statement를 사용할 수 없다.)
    2. Remote나 parallelized function은 packaged variable의 값을 읽거나
    쓸 수(read or write) 없다.
    3. Select, values, set 절에서 call되는 function만이 packaged variable의
    값을 write할 수 있다.
    4. Function은 앞에 기술된 rules를 어기는 또 다른 subprogram을 call할 수 없다.
    마찬가지로 앞에 기술된 rule을 어기는 view를 reference할 수 없습니다.
    (Oracle은 view에 대한 reference를 function call을 포함하는 stored SELECT
    operation 으로 대체합니다.)
    Standalone function에 대하여 oracle은 function body를 checking함으로써,
    이러한 rule이 적용되도록 합니다.
    그러나, package에 대해서는 packaged function body는 hidden이 되며,
    package specification만이 visible하기 때문에, specification 부분에
    pragma(compiler directive) RESTRICT_REFERENCES를 기술하여야 합니다.
    Pragma는 pl/sql compiler에게 database table이나 packaged variable에
    대하여 read/write access를 하지 않는다는 것을 기술합니다.
    Function body를 compile하는 도중 pragma에 위반되는 내용이 있다면,
    compilation error가 발생합니다.
    Calling Packaged Functions
    Sql expression에서 packaged function을 call하기 위해서는, package
    specification에서 pragma RESTRICT_REFERENCES를 기술함으로써 purity level을
    선언하여야 합니다.
    Pragma는 function declaration 이후에 기술되어야 하는 사항이며, 주어진
    function에 대하여 단지 한 pragma만이 기술될 수 있습니다.
    Pragma RESTRICT_REFERENCES를 기술하는 syntax는 아래와 같습니다.
    PRAGMA RESTRICT_REFERENCES
    (function_name, WNDS [, WNPS] [, RNDS] [,RNPS]);
    WNDS means "writes no database state" (does not modify db tables)
    WNPS means "writes no package state" (does not change the values of
    packaged variables)
    RNDS means "reads no database state" (does not query database tables)
    RNPS means "reads no package state" (does not reference the values of
    packaged variables)
    어떤 순서로든 기술된 argument를 passing할 수 있으며, WNDS는 반드시
    pass되어야 합니다.
    아래의 예는 maximum purity level을 선언한 packaged function이며,
    database나 package state에 대하여 read나 write를 전혀 수행하지 않는
    function입니다.
    CREATE PACKAGE finance AS -- package specification
    FUNCTION compound
         (years IN NUMBER,
         amount IN NUMBER,
         rate IN NUMBER )
    RETURN NUMBER;
    PRAGMA RESTRICT_REFERENCES(compound, WNDS, WNPS, RNDS, RNPS);
    END finance;
    CREATE PACKAGE BODY finance AS -- package body
    FUNCTION compound
         (years IN NUMBER,
         amount IN NUMBER,
         rate IN NUMBER)
    RETURN NUMBER IS
    BEGIN
    RETURN amount * POWER((rate/100) + 1, years);
    END compound;
    -- no pragma in package body
    END finance;
    이후에 pl/sql block에서 compound function을 call하는 경우에는 아래와
    같이 기술될 수 있습니다.
    BEGIN
    SELECT finance.compound(yrs, amt, rte) -- function call
    INTO interest FROM accounts WHERE acctno = acct_id;
    Package는 initialization part를 가질 수 있으며, 이는 package body에는
    hidden됩니다.
    일반적으로 initialization part는 public variable에 대한 initialize
    statement를 기술하게 되며, 아래의 예에서는 prime_rate 이라는 public
    variable에 대한 예가 기술되어 있습니다.
    CREATE PACKAGE loans AS
         prime_rate REAL; -- public packaged variable
    END loans;
    CREATE PACKAGE BODY loans AS
    BEGIN     -- initialization part
         SELECT prime INTO prime_rate FROM rates;
    END loans;
    Initialization code는 package가 처음 reference되는 경우에 단지 한번만
    수행이 되며, 자신의 것이 아닌 database state나 package state를 read나
    write를 하게 되면, side effect의 원인이 될 수 있습니다. 더 나아가
    package를 reference하는 stored function은 indirect하게 side effect를
    발생시킬 수 있습니다. 그러므로, pragma RESTRICT_REFERENCES를 사용하여
    initialization code에 대한 purity level을 명시적으로 선언을 하거나
    암시해줄 수 있어야 합니다.
    Initialization code에 대한 Purity level을 선언하기 위하여, pragma를
    사용하여 작업을 하실 수 있으며, function name을 package name으로
    대체하여 기술하시면 됩니다.
    Package specification 부분에 기술되는 pragma는 다른 user들에게도
    open되어 있는 것이기 때문에, package를 reference 하는 user들은
    restriction에 대한 사항을 보게 되며, 해당하는 제약 사항을 따르게 됩니다.
    사용되는 syntax는 다음과 같습니다.
    PRAGMA RESTRICT_REFERENCES (
         package_name, WNDS [, WNPS] [, RNDS] [, RNPS]);
    Argument의 의미는 앞에서 기술된 사항과 동일합니다.
    아래의 예에서 보면, initialization code는 database state에 대한 read와
    package state에 대한 write를 수행합니다. 그러나 WNPS를 선언할 수 있는데
    이는 자기 자신의 package state만을 write하는 code이기 때문에 선언이 될
    수 있습니다.
    만약 public variable prime_rate이 다른 package에 포함되어 있는
    것이라면, WNPS는 선언될 수 없습니다.
    CREATE PACKAGE loans AS
    PRAGMA RESTRICT_REFERENCES (loans, WNDS, WNPS, RNPS);
    prime_rate REAL;
    END loans;
    CREATE PACKAGE BODY loans AS
    BEGIN
    SELECT prime INTO prime_rate FROM rates;
    END loans;
    Pragma를 인식함으로 해서 oracle은 initialization code의 purity level을
    알 수 있습니다.
    ( pragma에 의하여 선언된 rule을 위배하여 생성될 수 없기 때문 )
    Avoiding Problems
    Sql expression에서 packaged function을 call하기 위해서는 pragma
    RESTRICT_REFERENCES를 사용하여 function의 purity level을 선언하여야
    합니다.
    그러나 package가 initialization part를 가지고 있다면, pl/sql
    compiler는 function에 허용되는 가장 높은 purity level을 선언하도록
    허용하지 않습니다. 결과적으로 function을 remote에서 수행하거나,
    parallel하게 또는 sql 절에서 사용할 수 없도록 제한됩니다.
    이러한 사항은 packaged function이 package initialization code보다
    purity level이 더 높은 경우에 발생하며, 기억하여야 할 것은,
    package가 처음 reference되는 때에 initialization code가 실행된다는
    사항입니다. 처음 reference하는 것이 function call인 경우,
    initialization code에 의하여 부가적인 side effect가 발생하는
    원인이 됩니다.
    이러한 사항은 initialization code가 function의 purity level보다
    낮은 경우에 발생하는 사항입니다.
    이러한 문제를 해결하기 위해서는 package initialization code를
    subprogram으로 옮겨
    주어야 합니다. 이러한 방식으로 변경하는 경우에는 package가 reference
    되는 중에 implicitly하게 code를 run하지 않고 explicitly하게 code를
    run하게 되며, 이는 packaged function에 영향을 주지 않습니다.
    Name Precedence
    database column과 argument를 가지지 않는 function이 동일한 이름을
    가진다면, sql문안에서 database column이 우선순위를 가지게 됩니다.
    CREATE TABLE stats (rand_num NUMBER, . . .);
    CREATE FUNCTION rand_num
    RETURN NUMBER AS . . . .
    위와 같은 상황에서 아래의 sql문을 사용하는 경우 column rand_num을
    참조하게 됩니다.
    SELECT rand_num INTO start_val FROM stats WHERE . . .
    이 경우 stored function rand_num을 사용하기 위해서는 schema를
    기술해주어야 합니다.
    SELECT scott.rand_num INTO start_val FROM stats WHERE . . .
    Overloading
    Pl/sql에서는 packaged function에 대해서 overload를 허용합니다.
    (standalone은 허용되지 않음) 다시 말하면 넘겨주는 argument가 갯수나,
    순서, datatype등이 다르다면, 서로 다른 function에 대해서도 동일한
    이름을 사용할 수 있습니다.
    그러나 RESTRICT_REFERENCES pragma는 단지 한 function에 대해서만
    적용이 되며, 가장 가까운 곳에 선언된 function에 대하여 적용이 됩니다.
    아래의 예에서는 두번째 function에 pragma 선언이 적용됩니다.
    CREATE PACKAGE tests AS
    FUNCTION valid ( x NUMBER)
    RETURN CHAR;
    FUNCTION valid ( x DATE)
    RETURN CHAR;
    PRAGMA RESTRICT_REFERENCES (valid, WNDS);

    You will need to investigate/resolve these errors first before making a decision
    2 .   ORA-00406: COMPATIBLE parameter needs to be 11.0.0.0.0 or greater ORA-00722: 
    1 .   ORA-00722: Feature "Virtual columns" ORA-06512: at line 31 
    1 .   ORA-00722: Feature "Virtual columns" ORA-06512: at line 43 
    1 .   ORA-06512: at line 31 
    1 .   ORA-06512: at line 43

  • What are Oracle in built  Packages

    I was talking with a friend today and out of the blue he asked me "Besides select, insert, delete, updates and e.t.c which is common in Oracle PL/SQL, what Oracle in built packages have I used?" I did not have an answer.
    So what are Oracle in built Packages?
    Thanks

    There are some wonderful documents - in Oracle9i titled "Supplied PL/SQL Packages and Types Reference" and "Supplied Java Packages Reference" that provide details about the packages Oracle has made available.
    In addition, every function you call in a SELECT, INSERT, UPDATE or DELETE - such as trim, to_char, substr, etc. is part of package STANDARD

  • Loading fails, when classes from other packages are referenced

    My applet follows a simple package structure.
    There's package P1 and there's another package in it P2 (P1.P2)
    P1 contains Applet class A.
    P2 contains another class C and interface I. C implements I.
    A contains a reference of C, which is initialized in the constructor. The use in the constructor of the A (the applet) is something like this
    public A () {
              reg = ToolkitRegistry.getEntry (); //where reg is a reference of type ToolkitRegistry.
              // some more code
              i = (I) C.getC (); //where i is a reference of type I.
    }Trying to load this applet throws error saying "Package Loading failed". Important is to note that the loading occurs successfully by commenting out this line           i = (I) C.getC (); //where i is a reference of type I. , without any other change.
    I understood this to be some problem with the AIDs assigned to both the packages while converting. Unsure of what's the correct way to assign the PIX values, I've been trying some permutation/combinations, it doesn't seem to work.
    Has neone already faced this problem & knows the solution? (The specs aren't much help)

    One more point ..... I mentioned commenting the statements, I DO NOT commment the other statements referencing the other package. This means that the loading IS succesfull, even when these two lines reside in there.
    1. import P1.P2.*; 2. private I i = null;Above two lines pass the loader. The object creation gets stuck.
    Wonder if the package references are actually alright, because JVM wud've treated both situations in a similar way. JCVM is ofcourse different but JCVM spec does not say nething abt this situation (rem: everything is public, so the access control restrictions also do not apply)
    are there ne instantiation restrictions? [In my case, it's in the constructor thread)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Packaging. How to pack next example

    Hello,
    I need some help about packaging instructions. My issue is that I want to do the next:
    Pallet: C60201
    Boxes: C60204
    Material 1: C10021
    Material 2: C10022
    In each pallet (C60201) I can load 9 boxes (C60204). In each box I can have 10 pieces from reference C10021 or 7 from C10022. In a pallet I can have C10021 and C10022 references, but each box contains only one reference.
    For example. If I have a delivery for 50 C10021 references and 25 C10022 references, I will need:
    1 Pallet
    9 boxes (5 for the C10021, 4 for the C10022)
    If I deliver 100 C10021 and 25 C10022, I will need:
    2 Pallets
    14 boxes (10 for the C10021, 4 for the C10022)
    It is also possible that I need only to deliver one reference, for example 100 pieces from reference C10021.Then I will need:
    2 Pallets
    10 boxes
    Any idea about how can I create that packaging instruction (POP1)? Which should be the Item Category (Packaging, Reference, Subordinate,...)? And the target quantity, minimun quantity and rounding quantity? Any flag to tick?
    Thank you

    Hi,
    For that u have to crete multi level packaging.
    1. Maintain Packaging Material Type Verp for packaging Material i.e pallets & Boxes.For E.g (PALT & BOXE)
    2. Define packaging material type for pallets(PALT) & Boxes(BOXE) in Customising and maintain the same in material master of packaging Material (Pallets & Boxes)
    3.  Define material group for pallets (PLT)& Boxes(BXT) in Customising
    4.Define Allowed Packaging Material in SPRO
       For Ex PALT----- PLT
                  BOXE-----BXT
    5.Now assign Material group (PLT) for packaging material in material master data of Pieces (Basic Data -1)
    6. In material master of Pallet  assign material group of Boxes(BXT)
    In this way u can pack pieces into pallets and pallets into boxes.
    In packing screen there is an option  to restrict the no of quantities by restricting weight &volume of the material .
    Revert if not resolved
    Regards
    Amit Gupta

  • [svn:osmf:] 15863: Remove FLEXOSMF 4.0 tagging, the OSMF for Flex 4 version of this class lives in the display package

    Revision: 15863
    Revision: 15863
    Author:   [email protected]
    Date:     2010-05-02 19:20:15 -0700 (Sun, 02 May 2010)
    Log Message:
    Remove FLEXOSMF 4.0 tagging, the OSMF for Flex 4 version of this class lives in the display package
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/ScaleMode.as

    What I've done is remove osmf.swc from the Flex 4.0 sdk, then I added the new osmf.swc file to my libs folder for my project. Is there a for updating osmf in Flex 4.0 it works nativly with the sdk. The original reason why I got errors was because the frameworks/projects/osmf/src/OSMFClasses.as  packages in Flex 4 were not the same as the new osmf.swc (most of the flex 4 swc have these package reference files). So those would have to be updated every time the osmf packages change.

  • How do the different GStreamer packages go together?

    Hi, I'll apologize now because this is probably a really dumb n00b question, but (for example)....
    -- Is the 'gstreamer0.10-good' package a meta / transitional package for 'gstreamer0.10-good-plugins' or do they both provide different libraries and functionality?
    I've been trying to figure out for a while now but it's not clear from the package descriptions (using '$ pacman -Si  gstreamer0.10...') ::
    - 'gstreamer0.10-good' says that it provides the "good plugin libraries" as part of the GStreamer Framework, whereas...
    - 'gstreamer0.10-good-plugins' looks as though it is the one that contains the actual library files ( or at least that it pulls in the necessary libraries --such as flac and libpulse etc. -- as dependencies)
    In fact the '...-good-plugins' package implies that just installs 'gst-good-plugins' which I had understood to be a completely separate package for the newer GStreamer1.0 framework!
    As I understand it both versions of the GStreamer framework (0.10 and 1.0 respectively) are independent and are not compatible with each other, however they will happily co-exist on the same system.
    Please can somebody help to clarify this for me?
    - From a poor, helpless, confused n00b -

    @greyscale -- Thanks but as I'd already said...
    wwgfd wrote:...both versions of the GStreamer framework (0.10 and 1.0 respectively) are independent and are not compatible with each other, however they will happily co-exist on the same system.
    @Mr.Elendig -- Thanks for the link, some useful info on there (I have looked at this site in detail before) however it doesn't really explain the confusion over the actual packages available in the Arch repo's! Perhaps it's just the naming and / or descriptions that are misleading?
    I know about "The Good, The Bad and The Ugly" what I don't understand is the need for two levels of packaging within the arch repo's -- namely 'gstreamer0.10-good' as well as 'gstreamer0.10-good-plugins' -- What's the difference between these? (see below)
    [x@yz]$ pacman -Si gstreamer0.10-good
    Repository : extra
    Name : gstreamer0.10-good
    Version : 0.10.31-1
    URL : http://gstreamer.freedesktop.org/
    Licences : LGPL
    Groups : None
    Provides : None
    Depends On : gstreamer0.10-base>=0.10.34 bzip2
    Optional Deps : None
    Conflicts With : None
    Replaces : None
    Download Size : 967.50 KiB
    Installed Size : 3968.00 KiB
    Packager : Jan de Groot <[email protected]>
    Architecture : x86_64
    Build Date : Mon 12 Mar 2012 15:59:11 GMT
    MD5 Sum : 3716e7a38bbd6f4e1813291000cd7a45
    SHA256 Sum : 0774d34429ab0c3acfad2e2acfd57d4244eb41d1ef5d68c9fde5f2ff7dad162b
    Signatures : Yes
    Description : GStreamer Multimedia Framework Good plugin libraries
    [x@yz]$ pacman -Si gstreamer0.10-good-plugins
    Repository : extra
    Name : gstreamer0.10-good-plugins
    Version : 0.10.31-1
    URL : http://gstreamer.freedesktop.org/
    Licences : LGPL
    Groups : gstreamer0.10-plugins
    Provides : None
    Depends On : gstreamer0.10-good=0.10.31 libavc1394 libiec61883 aalib libshout libdv flac gconf wavpack taglib libsoup-gnome v4l-utils libcaca libpng libjpeg jack
    libpulse udev
    Optional Deps : None
    Conflicts With : gstreamer0.10-aalib gstreamer0.10-wavpack gstreamer0.10-shout2 gstreamer0.10-taglib gstreamer0.10-libcaca gstreamer0.10-libpng gstreamer0.10-jpeg gstreamer0.10-cairo
    gstreamer0.10-flac gstreamer0.10-speex gstreamer0.10-gdkpixbuf gstreamer0.10-dv1394 gstreamer0.10-annodex gstreamer0.10-gconf gstreamer0.10-esd gstreamer0.10-cdio
    gstreamer0.10-dv gstreamer0.10-bad-plugins<0.10.7 gstreamer0.10-soup gstreamer0.10-pulse
    Replaces : gstreamer0.10-aalib gstreamer0.10-wavpack gstreamer0.10-shout2 gstreamer0.10-taglib gstreamer0.10-libcaca gstreamer0.10-libpng gstreamer0.10-jpeg gstreamer0.10-cairo
    gstreamer0.10-flac gstreamer0.10-speex gstreamer0.10-gdkpixbuf gstreamer0.10-dv1394 gstreamer0.10-annodex gstreamer0.10-gconf gstreamer0.10-esd gstreamer0.10-cdio
    gstreamer0.10-dv gstreamer0.10-soup gstreamer0.10-pulse
    Download Size : 327.31 KiB
    Installed Size : 1264.00 KiB
    Packager : Jan de Groot <[email protected]>
    Architecture : x86_64
    Build Date : Mon 12 Mar 2012 15:59:16 GMT
    MD5 Sum : 7005ad01f73e0bc1e9395e41b3a975b3
    SHA256 Sum : 5af1c394f74efa5117bc236239d5cc9ed94b6d54840fd71f2e9e84d44bd59eda
    Signatures : Yes
    Description : GStreamer Multimedia Framework Good Plugins (gst-plugins-good)
    Additionally as you can clearly see the later package reference itself as "gst-plugins-good" in the description, which is patently incorrect when considering this information from the FAQ. It seems to me that the issue is not with GStreamer but with the way it is packaged and presented in the main Arch repo's.
    No offence meant to the Arch devs or package maintainers, I love this distro! It's just that I found this a little confusing.
    Anyway, after reading the aforementioned FAQ it's clear that, unless I have some overwhelming need for GStreamer0.10 (i.e. a hard version dependency), the answer is to do away with all of this confusion and just install GStreamer1.0.
    Thanks to all.
    -- I'll leave this topic 'un-solved' for now as nothing has really answered the original question yet, it's just that it may be moot?!

Maybe you are looking for

  • PC and iTunes no longer recognize my iPhone 4?

    Hoping someone can help as I'm completely at a loss and super frustrated. My PC & iTunes no longer "see" my iPhone 4 when I connect it to my computer. I've tried all my USB ports- they all charge my phone, but it does not show up in device manager, e

  • Itunes with windows live messenger

    for some reason, after i downloaded the new update today, it doesnt seem to be showing what music im playing on windows live messenger, yet if i used windows media player it shows what im playing, i was wondering how i would be able to turn this sett

  • Fiery features : image shift not available

    my office recently changed printers to a canon imagepress C1+ and i upgraded to a new computer running 10.6.3. we have downloaded and installed the latest driver from canon. the "full properties" glitch is mentioned at [url="http://discussions.info.a

  • Sap fico implementation in banks

    hi to all .may i know how to configure sap fico in banks regards sreehari

  • Can I cancel a message I've sent?

    We are using iMQ to send a message that will invoke a translet. One of our requirements is to be able to cancel translets and specific messages once a message has been sent to the broker. For example, lets say three messages are sent to a broker, mes