Question about Transaction scope

Hello all
I failed to find the answer in the Forte documentation.
what appends when
- a client GUI uses transactions,
- services use message duration AND dependant transactions.
Do we have
- two independant transactions,
- an undetected error,
- some thing in between ?
thank you for any reference to the right document or an
explanation.
Jean-Claude Bourut
s-mail 72-78 Grande-Rue 92310 Sevres
e-mail [email protected]
Tel (33-1) 41 14 86 41

If you want to access variables outside of a method then you have to use class variables.
regards,
Owen
class TestClass
  String a;
  public void init ()
    a = "aba";
  public void output()
    System.out.println ( a );
  public static void main(String[] args )
     TestClass test = new TestClass();
     test.init();
     test.output();
}

Similar Messages

  • Question about variable scope

    Suppose theres a class that mixes colors.
    It has an constructor and two methods:
    public class ColorMix {
    //This is just an example but I've tried this and colors
    mix and show up correctly.
    public ColorMix() {
    cmColor = MixColors();
    } //e_constr
    private void mixColors() {
    //do something
    Color1 = createColors();
    Color2 = createColors();
    //etc
    private Color createColors() {
    //create some color-values
    //r, g and b ...
    Color anColor = new Color (r, g, b) //finally create color
    return anColor; //and return that color
    public Color cmColor;
    } // e_class_ColorMix
    My question is: Howcome and how the variable
    'anColor' is referred from the createColors-method to
    the mixColors-method?!? I thought that anColor would
    be out of scope, since its created in the createColors
    I've understood it would be erased once createColors
    is done with?!?
    Or did MixColors make it to the 'anColor' before garbage
    collector?
    Thanks,
    Jani

    I think you are mixing up variables and objects. A variable (like "anColor" in your example) is not the same as an object. A variable is just a reference to an object that exists somewhere in memory.
    Objects are eligible for garbage collection if the running program does not hold any reference to the object anymore.
    Your createColors() method creates a new object of type Color and stores a reference to it in the variable anColor. Then it returns the value of the variable (which is the reference to the Color object) to the calling method: mixColors. There you have another variable (Color1) which will hold the reference to the object.
    So the variable anColor goes out of scope at the end of method createColors(), but the program still has a reference to the object, stored in variable Color1.
    The object is still referenced by the program and will therefore not be garbage collected.
    I'd suggest you read the Java Tutorial: http://java.sun.com/docs/books/tutorial/java/index.html
    Jesper

  • Question about Transactions...  Part 1 (Urgent)

    Hi all!
    Is there a transaction that I can use to check the status of ALL the objects that I activated in the BI system.  If there is, what is it?  Can this transaction return data about who activated it, when and what is wrong with it if ever?
    Is there a transaction that can return a list of unactivated objects in the system (tables, datasources, infosources and infoproviders)?  Can this transaction tell me why the selected object cannot be activated?
    Thank you!
    Philips

    Something NEW to learn in nw2004s
    <b>Content Analyzer</b> is available in SAP NetWeaver 2004s  from BI Content Add-On Version 2.
    The program provides tools to monitor and enforce project quality standards. Content Analyzer (transaction RSBICA) checks for inconsistencies and errors of customer-defined objects throughout your entire landscape .
    This provides a way to analyze the objects and flush out hard-to-find problems. This tool assists BI project teams in identifying many problems that they need to address, such as InfoObjects that were created and not assigned to an InfoObject Catalog, or objects still in the temporary development class.
    In the past, it was nearly impossible to analyze and find all the issues that Content Analyzer now can unearth for you. BI users just did not have the tools or techniques to handle all the issues that surfaced. As a result, BI teams often did not thoroughly address and resolve all problems. You can run Content Analyzer across the entire BI landscape to research possible errors. In some cases, the produced report provides data and directions for resolving the problem.
    You configure Content Analyzer in transaction RSBICA
    <b>
    Content Analyzer allows you to check for the following errors:</b>
    1)InfoObjects not assigned to an InfoObject catalog
    2)Objects that do not comply with the configured naming convention
    3)Objects that are in the temporary development class
    4)Query elements that have multiple global unique identifiers (GUIDs)
    5)Object status with inconsistencies between A (active) and D (delivered) versions
    Hope it Helps
    Chetan
    @CP..

  • A question about transactions and point-of-time

    We have an operation which we want to serialize, since it can be called concurrently by same user from different web servers which would cause duplicates
    We have a Table 'Search'
    UserID
    <other fields>
    the Search table is updated in stored proc (INUserID, INSearchString) where INSearchString is a complete SELECT statement that can encompass many tables. Currently this is what the proc does:
    DELETE FROM Search WHERE UserID = INUserID;
    EXECUTE IMMEDIATE 'INSERT INTO Search SELECT INUserID,RowNum FROM (' || INSearchString || ')';
    I want to add a new table SearchLock (UserID)
    and add a SELECT * FROM SearchLock WHERE UserID = INUserID FOR UPDATE
    to this stored proc
    my question is, where exactly should I put the transaction BEGIN and COMMIT to insure that a second call, after waiting if needed, will see the contents of Search AFTER the first call has commited? would the following sequence work every time?
    BEGIN TRANSACTION ...
    SELECT ... FOR UPDATE
    DELETE...
    EXECUTE ...
    COMMIT
    (obviously will add en EXCEPTION handling)
    my worry, and what i'm trying to prevent, is that the second call, after waiting, will see the contents of Search BEFORE the first call has commited it

    To avoid this, just create a primary key for your
    table. If a row is currently inserted in a
    non-committed transaction, all other transactions
    that want to insert the same primary key in the same
    table will wait on the first transaction to complete.
    If the first transaction commits, all other
    transaction will get ORA-0001 error: unique contraint
    ... violated.
    If the first transaction rollbacks, one will be able
    to insert the primary key and the same process
    applies with other transactions.
    Oracle automatically locks the row with the primary
    key to be inserted for you.intriguing, but I am trying to protect several statements, I don't want the second sessin any chance to be able to run a DELETE.
    I am thinking the SELECT ... FOR UPDATE will have a NOWAIT option so that the second session will get immediate error notification.

  • Help, a question about transaction...

    sorry for my english:(
    my application env:
    kodo 3.2.3 / Oracle 9i /JBoss 3.2.5
    Application logic is written in EJB(CMP) and Stored procedure. they must
    be finished in a transaction :
    ejb business method begin....
    get PM;
    do kodo database operate ....;
    get Connection from PM;
    get stored procedure from connection;
    (1) execute stored procedure;
    close stored procedure;
    close connection;
    close PM
    ejb biz method finished.
    It's a so simple function .
    My question is:
    when I reach (1) line, the new data that generated by stored procedure
    has committed to database!! ----Why! The Connection gotten from PM is out
    of the Transaction??? In fact, I can't rollback the modification made by
    stored procedure when exceptions occurred:(
    What can I do ?

    Are you using managed datasource? Are you using pessimistic or
    optimistic transactions?
    In the first case, Kodo will defer to the managed datasource so if your
    transaction is not rolled back, the stored procedure will run through.
    If using optimistic transactions, you should trigger some other
    transactional change so that Kodo will know to start a datastore
    transaction. Otherwise, depending on how your stored procedure is
    written, it may change the datastore.
    Kodo 4.0 includes a KodoPersistenceManager.beginStore () to ensure that
    the connection is transactional.
    yan wrote:
    sorry for my english:(
    my application env:
    kodo 3.2.3 / Oracle 9i /JBoss 3.2.5
    Application logic is written in EJB(CMP) and Stored procedure. they must
    be finished in a transaction :
    ejb business method begin....
    get PM;
    do kodo database operate ....;
    get Connection from PM;
    get stored procedure from connection;
    (1) execute stored procedure;
    close stored procedure;
    close connection;
    close PM
    ejb biz method finished.
    It's a so simple function .
    My question is:
    when I reach (1) line, the new data that generated by stored procedure
    has committed to database!! ----Why! The Connection gotten from PM is out
    of the Transaction??? In fact, I can't rollback the modification made by
    stored procedure when exceptions occurred:(
    What can I do ?
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Question about transactions...

    Halo...
    I am still in a process of understanding oracle transactions and this is the question :
    If I do in store procedure this:
    PROCEDURE SomeProc....
    varField NUMBER(15,2);
    BEGIN
    SAVEPOINT UndoAll;
    UPDATE aTable SET aField = 1000, bField = 'YES' WHERE cField = 'id10';
    SELECT aField INTO varField FROM aTable WHERE bField = 'YES' AND cField = 'id10';
    EXCEPTION
    WHEN OTHERS THEN ROLLBACK TO UndoAll;
    END SomeProc;
    Should I do COMMIT in between UPDATE and SELECT !?
    Or, because it is a single transaction the SELECT statemant fetchs the changes done by previous UPDATE statemant !?

    Should I do COMMIT in between UPDATE and SELECT !?
    Or, because it is a single transaction the SELECT
    statemant fetchs the changes done by previous UPDATE statemant !? When you do the UPDATE, you lock those rows. If you do not COMMIT then do a SELECT on those same rows, you'll see your updates.
    If you do the UPDATE and then COMMIT, you may or may not see your changes. As soon as you commit, your locked rows become unlocked. Then anyone else may update those rows. Some of your rows may have been updated in the (very brief) time between your COMMIT and your SELECT.
    Of course, in your example that's not likely to happen. But in a highly concurrent environment...who knows?
    The reason you do a COMMIT is to make permanent a logical unit of work.

  • Question about transaction SNOTE

    Hi friends, I need some help.
    I trying to apply corrections on ECC 600 with sap note for note number 1394582. When I load this note on SNOTE, this transaction load a lot of other notes (prerequisites). My doubt is about this prerequisites, some of loaded notes as prerequisites is from support package 13 and here we already have support package 13.
    Its safe to continue this? Why SNOTE loads notes that already exist on R3?
    Thanks a lot!

    Hi!
    Personally I like to check manually the source code changes after implementing SAP notes. I get the first correction within the note, and if the changes in the source codes are the same to the changes within the correction instruction, then the note was implemented correctly.
    Regards
    Tamá

  • A question about transaction consistency between multible target tables

    Dear community,
    My replication is ORACLE 11.2.3.7->ORACLE 11.2.3.7 both running on linux x64 and GG version is 11.2.3.0.
    I'm recovering from an error when trail file was moved away while dpump was writing to it.
    After moving the file back dpump abended with an error
    2013-12-17 11:45:06  ERROR   OGG-01031  There is a problem in network communication, a remote file problem, encryption keys for target and source do
    not match (if using ENCRYPT) or an unknown error. (Reply received is Expected 4 bytes, but got 0 bytes, in trail /u01/app/ggate/dirdat/RI002496, seqno 2496,
    reading record trailer token at RBA 12999993).
    I googled for It and found no suitable solution except for to try "alter extract <dpump>, entrollover".
    After rolling over trail file replicat as expected ended with
    REPLICAT START 1
    2013-12-17 17:56:03  WARNING OGG-01519  Waiting at EOF on input trail file /u01/app/ggate/dirdat/RI002496, which is not marked as complete;
    but succeeding trail file /u01/app/ggate/dirdat/RI002497 exists. If ALTER ETROLLOVER has been performed on source extract,
    ALTER EXTSEQNO must be performed on each corresponding downstream reader.
    So I've issued "alter replicat <repname>, extseqno 2497, extrba 0" but got the following error:
    REPLICAT START 2
    2013-12-17 18:02:48 WARNING OGG-00869 Aborting BATCHSQL transaction. Detected inconsistent result:
    executed 50 operations in batch, resulting in 47 affected rows.
    2013-12-17 18:02:48  WARNING OGG-01137  BATCHSQL suspended, continuing in normal mode.
    2013-12-17 18:02:48  WARNING OGG-01003  Repositioning to rba 1149 in seqno 2497.
    2013-12-17 18:02:48 WARNING OGG-01004 Aborted grouped transaction on 'M.CLIENT_REG', Database error
    1403 (OCI Error ORA-01403: no data found, SQL <UPDATE "M"."CLIENT_REG" SET "CLIENT_CODE" =
    :a1,"CORE_CODE" = :a2,"CP_CODE" = :a3,"IS_LOCKED" = :a4,"BUY_SUMMA" = :a5,"BUY_CHECK_CNT" =
    :a6,"BUY_CHECK_LIST_CNT" = :a7,"BUY_LAST_DATE" = :a8 WHERE "CODE" = :b0>).
    2013-12-17 18:02:48  WARNING OGG-01003  Repositioning to rba 1149 in seqno 2497.
    2013-12-17 18:02:48 WARNING OGG-01154 SQL error 1 mapping LS.CHECK to M.CHECK OCI Error ORA-00001:
    unique constraint (M.CHECK_PK) violated (status = 1). INSERT INTO "M"."CHECK"
    ("CODE","STATE","IDENT_TYPE","IDENT","CLIENT_REG_CODE","SHOP","BOX","NUM","KIND","KIND_ORDER","DAT","SUMMA","LIST_COUNT","RETURN_SELL_CHECK_CODE","RETURN_SELL_SHOP","RETURN_SELL_BOX","RETURN_SELL_NUM","RETURN_SELL_KIND","INSERTED","UPDATED","REMARKS")
    VALUES
    (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17,:a18,:a19,:a20).
    2013-12-17 18:02:48  WARNING OGG-01003  Repositioning to rba 1149 in seqno 2497.
    The report stated the following:
    Reading /u01/app/ggate/dirdat/RI002497, current RBA 1149, 0 records
    Report at 2013-12-17 18:02:48 (activity since 2013-12-17 18:02:46)
    From Table LS.MK_CHECK to LSGG.MK_CHECK:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    From Table LS.MK_CHECK to LSGG.TL_MK_CHECK:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    At that time I came to the conclusion that using etrollover was not a good idea Nevertheless I had to upload my data to perform consistency check.
    My mapping templates are set up as the following:
    LS.CHECK->M.CHECK
    LS.CHECK->M.TL_CHECK
    (such mapping is set up for every table that is replicated).
    TL_CHECK is a transaction log, as I name it,
    and this peculiar mapping is as the following:
    ignoreupdatebefores
    map LS.CHECK, target M.CHECK, nohandlecollisions;
    ignoreupdatebefores
    map LS.CHECK, target M.TL_CHECK ,colmap(USEDEFAULTS,
    FILESEQNO = @GETENV ("RECORD", "FILESEQNO"),
    FILERBA = @GETENV ("RECORD", "FILERBA"),
    COMMIT_TS = @GETENV( "GGHEADER", "COMMITTIMESTAMP" ),
    FILEOP = @GETENV ("GGHEADER","OPTYPE"), CSCN = @TOKEN("TKN-CSN"),
    RSID = @TOKEN("TKN-RSN"),
    OLD_CODE = before.CODE
    , OLD_STATE = before.STATE
    , OLD_IDENT_TYPE = before.IDENT_TYPE
    , OLD_IDENT = before.IDENT
    , OLD_CLIENT_REG_CODE = before.CLIENT_REG_CODE
    , OLD_SHOP = before.SHOP
    , OLD_BOX = before.BOX
    , OLD_NUM = before.NUM
    , OLD_NUM_VIRT = before.NUM_VIRT
    , OLD_KIND = before.KIND
    , OLD_KIND_ORDER = before.KIND_ORDER
    , OLD_DAT = before.DAT
    , OLD_SUMMA = before.SUMMA
    , OLD_LIST_COUNT = before.LIST_COUNT
    , OLD_RETURN_SELL_CHECK_CODE = before.RETURN_SELL_CHECK_CODE
    , OLD_RETURN_SELL_SHOP = before.RETURN_SELL_SHOP
    , OLD_RETURN_SELL_BOX = before.RETURN_SELL_BOX
    , OLD_RETURN_SELL_NUM = before.RETURN_SELL_NUM
    , OLD_RETURN_SELL_KIND = before.RETURN_SELL_KIND
    , OLD_INSERTED = before.INSERTED
    , OLD_UPDATED = before.UPDATED
    , OLD_REMARKS = before.REMARKS), nohandlecollisions, insertallrecords;
    As PK violation fired for CHECK, I've changed nohandlecollisions to handlecollisions for LS.CHECK->M.CHECK mapping and restarted an replicat.
    To my surprise it ended with the following error:
    REPLICAT START 3
    2013-12-17 18:05:55 WARNING OGG-00869 Aborting BATCHSQL transaction. Database error 1 (ORA-00001:
    unique constraint (M.CHECK_PK) violated).
    2013-12-17 18:05:55 WARNING OGG-01137 BATCHSQL suspended, continuing in normal mode.
    2013-12-17 18:05:55 WARNING OGG-01003 Repositioning to rba 1149 in seqno 2497.
    2013-12-17 18:05:55 WARNING OGG-00869 OCI Error ORA-00001: unique constraint (M.PK_TL_CHECK)
    violated (status = 1). INSERT INTO "M"."TL_CHECK"
    ("FILESEQNO","FILERBA","FILEOP","COMMIT_TS","CSCN","RSID","CODE","STATE","IDENT_TYPE","IDENT","CLIENT_REG_CODE","SHOP","BOX","NUM","KIND","KIND_ORDER","DAT","SUMMA","LIST_COUNT","RETURN_SELL_CHECK_CODE","RETURN_SELL_SHOP","RETURN_SELL_BOX","RETURN_SELL_NUM","RETURN_SELL_KIND","INSERTED","UPDATED","REMARKS")
    VALUES
    (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17,:a18,:a19,:a20,:a21,:a22,:a23,:a24,:a25,:a26).
    2013-12-17 18:05:55 WARNING OGG-01004 Aborted grouped transaction on 'M.TL_CHECK', Database error 1
    (OCI Error ORA-00001: unique constraint (M.PK_TL_CHECK) violated (status = 1). INSERT INTO
    "M"."TL_CHECK"
    ("FILESEQNO","FILERBA","FILEOP","COMMIT_TS","CSCN","RSID","CODE","STATE","IDENT_TYPE","IDENT","CLIENT_REG_CODE","SHOP","BOX","NUM","KIND","KIND_ORDER","DAT","SUMMA","LIST_COUNT","RETURN_SELL_CHECK_CODE","RETURN_SELL_SHOP","RETURN_SELL_BOX","RETURN_SELL_NUM","RETURN_SELL_KIND","INSERTED","UPDATED","REMARKS")
    VALUES
    (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17,:a18,:a19,:a20,:a21,:a22,:a23,:a24,:a25,:a26)).
    2013-12-17 18:05:55  WARNING OGG-01003  Repositioning to rba 1149 in seqno 2497.
    2013-12-17 18:05:55 WARNING OGG-01154 SQL error 1 mapping LS.CHECK to M.TL_CHECK OCI Error
    ORA-00001: unique constraint (M.PK_TL_CHECK) violated (status = 1). INSERT INTO "M"."TL_CHECK"
    ("FILESEQNO","FILERBA","FILEOP","COMMIT_TS","CSCN","RSID","CODE","STATE","IDENT_TYPE","IDENT","CLIENT_REG_CODE","SHOP","BOX","NUM","KIND","KIND_ORDER","DAT","SUMMA","LIST_COUNT","RETURN_SELL_CHECK_CODE","RETURN_SELL_SHOP","RETURN_SELL_BOX","RETURN_SELL_NUM","RETURN_SELL_KIND","INSERTED","UPDATED","REMARKS")
    VALUES
    (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17,:a18,:a19,:a20,:a21,:a22,:a23,:a24,:a25,:a26).
    2013-12-17 18:05:55  WARNING OGG-01003  Repositioning to rba 1149 in seqno 2497.
    I've expected that batchsql will fail cause it does not support handlecollisions, but I really don't understand why any record was inserted into TL_CHECK and caused PK violation, cause I thought that GG guarantees transactional consistency and that any transaction that caused an error in _ANY_ of target tables will be rollbacked for _EVERY_ target table.
    TL_CHECK has PK set to (FILESEQNO, FILERBA), plus I have a special column that captures replication run number and it clearly states that a record causing PK violation was inserted during previous run (REPLICAT START 2).
    BTW report for the last shows
    Reading /u01/app/ggate/dirdat/RI002497, current RBA 1149, 1 records
    Report at 2013-12-17 18:05:55 (activity since 2013-12-17 18:05:54)
    From Table LS.MK_CHECK to LSGG.MK_CHECK:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    From Table LS.MK_CHECK to LSGG.TL_MK_CHECK:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    So somebody explain, how could that happen?

    Write the query of the existing table in the form of a function with PRAGMA AUTONOMOUS_TRANSACTION.
    examples here:
    http://www.morganslilbrary.org/library.html

  • Question about "int scope" parameter in oracle.ldap.util.Util.getEntryDetails()

    List,
    What are the possible values for "scope" in oracle.ldap.util.Util.getEntryDetails(DirContext ctx, String base, String filter, int scope, String[] attrList)? Are there any constants?
    Thanks in advance.
    Leandro.

    I found it out...
    0 - SCOPE_BASE
    1 - SCOPE_ONELEVEL
    2 - SCOPE_SUBTREE
    Thanks any way.
    Leandro.
    Ps.: I didn't understand why this numbers aren't constants in the Util class. (Or why they aren't in the doc)

  • Question about transaction

    In one of my screen flow, there is one action to call an external ejb. The ejb may be deployed on a different application server.
    How to make that ejb call in the same transaction of the obpm?
    For example, if there is any error happens after the action calling ejb, I want the ejb call could be rolled back.
    How to do that?
    Thanks a lot!

    Hi,
    All transaction codes are stored in table TSTC.
    Thorgh Se93   Transaction code is created for the applications
    like Dialog programmming
          Reports
          OOtransaction
          Parameter Transaction
          Table maintenace
    Even you can change the Transaction code here.
    Regards,
    Raj.

  • Question about navigation in session scope

    Hi.
    I dont know how to resolve a problem or how to focus this stuff.
    I'll try to explain myself.
    Let say I have a page (a.jsf) with several links, all this links navigates to the same page (b.jsf) which shows the results.
    For each link in a.jsf I have attached a bean with a logic, so If I click in link 1 I go to the b.jsf showing data read from the database.table1. If I clik in link2 I go to b.jsf showing data read from database.table2, and so on...
    The beans are in session scope (and must be).
    The first time works ok because I initialize the bean in b.jsf, read data and I show using a selecManyListBox to show it, but if I go back and select another link it goes to b.jsf, but it shows the old data, the data read the first time, because it never calls again the init method.
    Somebody has talked about using an additional bean to control this but once the bean in b.jsf is created I don't know how to call again the init method in beanB (b.jsf)..
    I have attached a very simple project to deploy in eclipse 3.3 and tomcat 6.0. In this example instead of read from database I read from an structure created in memory to simulate this.
    Somebody could take a look and comment something about it.
    http://rapidshare.com/files/197755305/_session-forms.war
    Thanks

    Hi.
    I understand is the same doing in the action method in a button or a commnad, the project is just an example, my real app is a tree, so is not a question about a button or a command, is about the logic being in session scope. I don't know how to face it.
    thanks

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Question about scope!!

    Hi ~
    I have a question about scope.
    for example
    primitive character variable ("char")
    what is principle upon which it is based?
    How can scope implemented?
    Please explain at low level in detail..
    thanks

    Scopes are related to braces (and the for+catch-statements).
    Inside a function nested scopes of the same name are forbidden {int x; {int x; ... } ...}, as misunderstanding could arise.
    You may mention a name (method name, class name, var name), before its declaration, like:
    int f() {x = 3;} int x;Implementation issues address variable locations on the stack and heap management (garbage collection), and exceptions (stack unwinding).
    If you are interested in compiler construction try the javap tool, and try out the JVM, by for instance writing a compiler to JVM byte code.
    To answer your question on variable clean-up: I'm afraid while playing compiler you need to calculate var addresses/frame sizes, and calls/stack frames are a bit confusing, but the rest is easy.

  • Questions about Prompts -

    Hi,
    I have two questions about Prompt.
    1) We have a dashboard with multiple tabs - We have noticed the Prompt Values copy from one tab to another. User doesn't want this to happen. Every tab should have there own default. Is it possible that previous tab prompt value should not copy to another tab prompt.
    2) Is there a possible to have a prompt with Multi Select and Enterable field.
    Thanks,
    Poojak

    hi,
    Please see the answers below
    1)You can set the dashboard prompt scope to 'Page'.In this way it will affect reports present only on that page
    2)you can make a dashboard prompt 'Multiselect'.By default it will be drop down.If you go to your prompt there are options for these configuration.
    Thanks
    Sandeep

  • Some questions about the integration between BIEE and EBS

    Hi, dear,
    I'm a new bie of BIEE. In these days, have a look about BIEE architecture and the BIEE components. In the next project, there are some work about BIEE development based on EBS application. I have some questions about the integration :
    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?
    could anyone give some guide for me? I'm very appreciated if you can also give any other information.
    Thanks in advance.

    1) generally, is the BIEE database and application server decentralized with EBS database and application? Both BIEE 10g and 11g version can be integrated with EBS R12?You, shud consider OBI Application here which uses OBIEE as a reporting tool with different pre-built modules. Both 10g & 11g comes with different versions of BI apps which supports sources like Siebel CRM, EBS, Peoplesoft, JD Edwards etc..
    2) In BIEE administrator tool, the first step is to create physical tables. if the source appliation is EBS, is it still needed to create the physical tables?Its independent of any soure. This is OBIEE modeling to create RPD with all the layers. If you build it from scratch then you will require to create all the layers else if BI Apps is used then you will get pre-built RPD along with other pre-built components.
    3) if the physical tables creation is needed, how to complete the data transfer from the EBS source tables to BIEE physical tables? which ETL tool is prefer for most developers? warehouse builder or Oracle Data Integration?BI apps comes with pre-built ETL mapping to use with the tools majorly with Informatica. Only BI Apps 7.9.5.2 comes with ODI but oracle has plans to have only ODI for any further releases.
    4) During data transfer phase, if there are many many large volume data needs to transfer, how to keep the completeness? for example, it needs to transfer 1 million rows from source database to BIEE physical tables, when 50%is completed, the users try to open the BIEE report, can they see the new 50% data on the reports? is there some transaction control in ETL phase?User will still see old data because its good to turn on Cache and purge it after every load.
    Refer..http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html
    and many more docs on google
    Hope this helps

Maybe you are looking for

  • Transferring from Mac mini (Bootcamp) to Macbook Pro

    I purchased a Mac mini earlier this year, and while it is an amazing machine, I think a Macbook is something I will need at the moment as I am traveling a bit.  Now my issue is that I run windows via Bootcamp on my Mac mini and would still like to do

  • Multiple Click Box Quiz Answers on the Same Slide

    Hello. I am using Captivate 5.5 I have a quiz slide with two click boxes that are both correct answers.  When a learner clicks either of them, I want them to advance to the next slide and score as "Correct". The problem is since they only click one o

  • Window Vista on my MSI

        Thinking about playing with Vista don't really know why except Just to look , Missing lots of Software and a few Harddrive Drivers.. Ok I was trying to install Vista on one of my 2 SATA promise controller drives, they are set up as Storage, Not r

  • If I buy a CS6 perpetual license, can I put the full suite on two laptops?

    I'm buying it with my student discount, and as it's still extremely expensive we were told it would come with 2 codes for 2 separate macs However the summary suggests that it might be more along the lines of one mac can have Photoshop and another can

  • Is there an add on to optimize the writing on facebook and email for the visualy impaired?

    I have macular degeneration. My computer uses Windows 7 so I can optimize the screen from 300% to 700% to view the programs I want to use. However, if I do this with email or facebook the print becomes so blurred that it is difficult to read. especia