Does BPC create Objects in BW

Hi,
I read in SAP press book about SAP BPC creating equivalent objects in SAP BW when an Appset is created? Is it true? How does it work? Does Infocube also gets created?
Thanks,
Arun

Hi Arun,
That's correct. When you create an Application Set in BPC Front end, which is called as InfoArea in BI will gets created in the back end.
Similarily when you create Dimensions (InfoObjects in BI) and Applications (InfoCubes in BI) in BPC, you can view that these are created as well in BI.
This is possible only when you are creating from the Front end system of BPC not with BI like when you create a InfoArea it will not be populated in BPC.
Regards,
Raghu

Similar Messages

  • Export from 8i to 11g does not create object in default tablespace

    Hello
    I have exported and schema from oracle 8i and i try to import it in oracle 11g in a different architecture (8i is sparc. 11g is x86)
    i have created an user with default tablespace and the original tablespace does not exist in this database, but I am getting the error;
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TS_ARCCLAIMS_DAT' does not exist
    if i create an indexfile and create all the objects by removing the REM from the indexfile i have countless contrains errors so i bet this is not an option.
    this is how the user is created in 11g:
    CREATE USER ARCCLAIMS
      IDENTIFIED BY <password>
      DEFAULT TABLESPACE ARCCLAIMS_DAT
      TEMPORARY TABLESPACE GN_TMP
      PROFILE DEFAULT
      ACCOUNT UNLOCK;
      -- 2 Roles for ARCCLAIMS
      GRANT CONNECT TO ARCCLAIMS;
      GRANT RESOURCE TO ARCCLAIMS;
      ALTER USER ARCCLAIMS DEFAULT ROLE ALL;
      -- 1 System Privilege for ARCCLAIMS
      GRANT UNLIMITED TABLESPACE TO ARCCLAIMS;
      -- 1 Tablespace Quota for ARCCLAIMS
      ALTER USER ARCCLAIMS QUOTA UNLIMITED ON ARCCLAIMS_DAT;
    what do i have to do in order to have the objects go to the default tablespace of the user?
    thank you
    Mario G,

    Hello,
    I believe that you are right, the tables seem to have a clob datatype..
    here is it one of the tables affected:
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "CLM_MAIL_INBOX" ("IBX_CODE" NUMBER(6, 0) NOT NULL DISABLE, "I"
    "BX_CLM_CODE" NUMBER(10, 0), "IBX_IMP" CHAR(1), "IBX_FROM" VARCHAR2(50), "IB"
    "X_SUBJECT" VARCHAR2(200), "IBX_CREATION" DATE, "IBX_ATTACH_TYPE" VARCHAR2(1"
    "0), "IBX_ATTACH" BLOB, "IBX_CONTENT" VARCHAR2(1000), "IBX_RESP_STN" VARCHAR"
    "2(3))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIA"
    "L 16384 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "TS_ARCCLAIMS_DAT" LOB (""
    "IBX_ATTACH") STORE AS  (TABLESPACE "TS_ARCCLAIMS_DAT" DISABLE STORAGE IN RO"
    "W CHUNK 8192 PCTVERSION 10 NOCACHE  STORAGE(INITIAL 24576 FREELISTS 1 FREEL"
    "IST GROUPS 1))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TS_ARCCLAIMS_DAT' does not exist
    I have already reviewed the document 1180873.1
    could the DEFERRED_SEGMENT_CREATION=false be enough..
    could this be done with alter system or alter session? which one is better?
    thank you

  • Transport Screen objects-GUI status(SAP does not create request, why)?

    Hi experts,
      I use SE80 to change GUI status, but system does not create a transport request for me to transfer? why?

    Hi,
      Thanks for replay. Actually, the SE80->program->Gui status have some objects and they are already transfered. But I can't see them on target system. But When I create exactly the same name, the system tell me they are already created. I think it becuase the original language is 'DE' but I use default language 'EN' to modify and create the request?

  • Xdb_installation_trigger does not support object creation of type SNAPSHOT

    hi everyone, i'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit on solaris sparc 5.10
    we like to send an email through SSL, and after searching here and there I found out that oracle DB 11g able to go throught the SSL.
    since upgrade our DB to 11g would not be an option, so i tried to export XDB of 11g and import it into XDB 10gR2 schema, it was a mess...
    then i just reinstall XDB using catnoqm.sql & catqm.sql
    and now one of our programmer cant run some script like above
    CREATE MATERIALIZED VIEW FIFSYS_MKT_SCHEME_MV_COY
    TABLESPACE MARKETING_TABLES
    PCTUSED    40
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
    INITIAL          64K
    MINEXTENTS       1
    MAXEXTENTS       UNLIMITED
    PCTINCREASE      0
    FREELISTS        1
    FREELIST GROUPS  1
    BUFFER_POOL      DEFAULT
    +)+
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEY
    AS
    +/* Formatted on 9/23/2010 1:07:42 PM (QP5 v5.114.809.3010) */+
    SELECT   coy_id,
    appl_branch_id,
    appl_object_code,
    product_type,
    ppdcf_paid_date,
    SUM (scheme_adm) scheme_adm,
    SUM (appl_unit) appl_unit,
    SYSDATE mkt_sysdate
    FROM   (SELECT   NVL (a.coy_id, '01') coy_id,
    a.branch_id appl_branch_id,
    DECODE (a.buss_unit, 'NMC', '2101', 'UMC', '2102', '2352')
    appl_object_code,
    a.platform product_type,
    TRUNC (c.contract_active_date) ppdcf_paid_date,
    NVL (s.ms_amt, 0) scheme_adm,
    NVL (o.total_item, 0) appl_unit
    FROM   ordmgmt.om_trn_appl_ms_lvl_object s,
    ordmgmt.om_trn_appl_hdr a,
    acctmgmt.ar_trn_sum_contracts c,
    +( SELECT appl_no, COUNT ( * ) total_item+
    FROM   ordmgmt.om_trn_appl_object
    GROUP BY   appl_no) o
    WHERE       s.appl_no = a.appl_no
    AND a.appl_no = o.appl_no
    AND s.ms_code IN ('MS03', 'MS14')
    AND c.appl_no = a.appl_no
    AND c.contract_no = a.contract_no
    +/*AND c.office_code = a.branch_id*/+
    AND NVL (a.coy_id, '01') = NVL (c.coy_id, '01'))
    GROUP BY   coy_id,
    appl_branch_id,
    appl_object_code,
    product_type,
    ppdcf_paid_date;
    COMMENT ON MATERIALIZED VIEW FIFSYS_MKT_SCHEME_MV_COY IS 'snapshot table for snapshot MARKETING.FIFSYS_MKT_SCHEME_MV_COY';
    and this error shown:
    ORA-00604 error occurred at recursive SQL level 1
    ORA-20000 Trigger xdb_installation_trigger does not support object creation of type SNAPSHOT
    ORA-06512 at line 32
    maybe some of you know how to solve this problem??
    and, this in the script of the xdb_installation_trigger
    DROP TRIGGER SYS.XDB_INSTALLATION_TRIGGER;
    CREATE OR REPLACE TRIGGER SYS.xdb_installation_trigger
    BEFORE
    CREATE ON DATABASE
    DECLARE
    sql_text varchar2(200);
    val number;
    BEGIN
    if (dictionary_obj_owner != 'XDB') then
    if (dictionary_obj_type = 'FUNCTION' or
    dictionary_obj_type = 'INDEX' or
    dictionary_obj_type = 'PACKAGE' or
    dictionary_obj_type = 'PACKAGE BODY' or
    dictionary_obj_type = 'PROCEDURE' or
    dictionary_obj_type = 'SYNONYM' or
    dictionary_obj_type = 'TABLE' or
    dictionary_obj_type = 'TABLESPACE' or
    dictionary_obj_type = 'TYPE' or
    dictionary_obj_type = 'VIEW' or
    dictionary_obj_type = 'USER'
    +)then+
    if (dictionary_obj_type  != 'PACKAGE BODY'
    +) then+
    sql_text := 'select count(*) from ALL_OBJECTS where owner = :1 and object_name = :2 and object_type = :3';
    execute immediate sql_text into val using dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type;
    if (val = 0) then
    sql_text := 'select count(*) from dropped_xdb_instll_tab where owner = :1 and object_name = :2 and object_type = :3';
    execute immediate sql_text into val using dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type;
    if (val = 0) then
    insert into xdb_installation_tab values
    +(dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type);+
    end if;
    end if;
    end if;
    else
    raise_application_error(-20000, 'Trigger xdb_installation_trigger does not support object creation of type '||dictionary_obj_type);
    end if;
    end if;
    end;
    +/+
    /********************************************************************************/

    i'm so careless, after checking a fresh installation of the same version DB, i dont found xdb_installation_trigger.
    so just by simply remove that trigger & everything works just fine. :)

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • ABAP OO:  Duplication of selected data in created objects?

    I am new to ABAP OO and I have a conceptual question/concern that I cannot resolve.  Can someone explain what I am missing?
    I would think that selecting and storing (in internal tables) a large amount of data from many related database tables and, at the same time, creating and storing objects from this same data would unnecessarily consume a huge amount of memory.  To avoid this problem, it seems that the selected data and created objects should not be stored in internal tables simultaneously.
    Does this concern make sense?  If so, how is this problem best handled?
    Does it make sense to delete the corresponding data once the objects are created (to free memory)?
    Or does it make sense to keep the data and only temporarily create objects as needed?
    Thanks.

    Hello Matt
    The approach you describe is to select data first and the feed the object instances with them. <b>Why not let the object instances do the data selection themselves?</b>
    I will give you an example what I mean.
    (1) Lets assume I want to write an application that allows to deal with cost center hierarchies. On the selection screen you can choose one or many cost center hierarchies.
    (2) Using the selection criteria I would select all cost center hierarchies but without any details (just the key values).
    (3) Next I would loop over the cost center hierarchies and create a cost center hierarchy instance (a class you have to define yourself) for each key value. The CONSTRUCTOR of this class will have an IMPORTING parameter like <i>id_kostl_hier</i>.
    (4) In the CONSTRUCTOR method I first check if the cost center hierarchy exists (if not raise an exception-class based exception) and then do the selection of the hierarchy details (e.g. the cost centers).
    (5) The instances are collected in an itab of the "frame" application.
    Using this approach you will have little duplication of data within your application. Furthermore, if you really have to deal with huge amounts of data then you could read them only on demand (like in tree controls where the sub-nodes usually are read when the parent node is expanded).
    Hope I could give you some fresh insights into this exciting topic.
    Regards
      Uwe

  • The extraction program does not support object 0MAT_PLANT

    Pessoal alguém já passou por este problema?
    Estou tentando fazer um delta no objeto 0MAT_PLANT, mas me retorna sempre este erro.
    Já fiz um novo Init, mas o erro continua.
    The extraction program does not support object 0MAT_PLANT
    Message no. R3009
    Diagnosis
    The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject 0MAT_PLANT.
    System Response
    The data extraction is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.

    Hi Eduard ,
    You can try the following steps to solve that
    1. Delete the previous Delta Init for the InfoObject
    If you have access to R/3 Side you can follow the steps or you can follow the BW Steps
    Goto RSA7 ->Select and Delete the Init Request for the InfoObject
    From BW Side
    InfoPackage-> Inti for Source System -> Select & Delete
    the Init Request
    2. Execute the Init InfoPackage for the InfoPackage again.
    3. After successful completion, execute the delta InfoPackage.
    Hope it solves your problem, if not pls let me know.
    Thanks & Regards,
    Chandran Ganesan
    SAP Business Intelligence

  • The extraction program does not support object 0JOB_ATTR

    HI all,
    I'm getting the following error when execting 0JOB_ATTR extractor in R/3 system (via RSA3):
    The extraction program does not support object 0JOB_ATTR
    Message no. R3009
    Diagnosis
    The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject 0JOB_ATTR.
    System Response
    The data extraction is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.
    I've found various threads with this error (or similar ones), but none of them are solved (or not published solution). Haven't found any SAP notes yet either, so any input would be very helpfull.
    Thank you.
    G.

    0JOB_ATTR not in use and SAP replaced this with 0EC_CJOB_ATTR... U have to use 0EC_CJOB_ATTR to load master data for 0JOB.
    Even i faced the same problem and found the following info in one of the SDN thread, and we are using 0EC_CJOB_ATTR (make sure u have data in table HRP5050).
    I have sent a message to SAP asking for the solution . Below is the reply what they gave.
    "This error appears because of naming conventions we have to switch the name of the Data Source from 0JOB_ATTR to 0EC_CJOB_ATTR. Please use this data source to extract the compensation job attributes to BW.
    Note also that data source 0EC_CJOB_ATTR extracts data from table HRP5050.
    If no data is being extracted please do the following:
    If you have data in HRP5050 and still do not get any data please try the following :
    1) Take over the Data Source from the business content (RSA5)again and check in RSA3 .
    2) Replicate the Data Source to BW
    3) Activate the Info Source again.
    4) Delete any previous delta initializations for the datasource.
    5) Initialize the delta again
    6) Try to load data".

  • SQLJ Translation does not create profile file

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

  • How can I create Object Tag which supports Sun and MS JVM both.

    Hi,
    I have created object tag as shown below
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    name = "TestApplet" height="0" width="0" >
    <param name="code" value="com.apps.TestApplet.class" />
    <param name="codebase" value="codes" />
    <param name="archive" value="TestApplet.jar" />
    </object>
    The above tag is working fine with the below JVM combinations in Windows XP.
    1) Only Sun JVM
    2) Only MS JVM
    3) Sun JVM & MS JVM
    But these conditions are not working with Windows 2000.
    How we can create object tag which will support for these two opertating systems?

    I am not able to understand the problem. From my understanding, you have an applet which you are trying to display in a browser using <object> tag. If that is the correct then all it matters is the browser and the JRE�
    For example the below code when put in a JSP or a HTML, will use JRE 1.6.0_01 that is available on the client machine. If that is not available on the client machine then it will try and download automatically in IE.
    This below code is for IE� if you are using Mozilla Firefox then you need to change the �classid� attribute to �java: com.foo.bar.ui.MyClass�
    <OBJECT ID="Gantt" classid = "clsid:CAFEEFAC-0016-0000-0001-ABCDEFFEDCBA"
                  codebase = "http://java.sun.com/update/1.6.0/jinstall-6u1-windows-i586.cab"
                  WIDTH = "980" HEIGHT = "495" ALIGN = "baseline">
                   <PARAM NAME="cache_option" VALUE="Plugin">
                  <PARAM NAME ="CODE" VALUE = "com.foo.bar.ui.MyClass" >
                  <PARAM NAME="MAYSCRIPT" VALUE="true">
                  <PARAM NAME ="cache_archive" VALUE = "Myjar.jar /" >
                  <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.6.0">
                  <PARAM NAME = "scriptable" VALUE = "false">
                  <strong>
                     This browser does not have a Java 1.6.0_01 Plug-in.
                     <br />
                     <a href="http://java.sun.com/update/1.6.0/jinstall-6u1-windows-i586.cab">
                       Get the latest Java Plug-in here.
                     </a>
              </strong>
            </OBJECT>

  • Server does not create ois ?

    Hi folks !
    At first I wanted to send some Strings via the Client to the Server and print them onto the screen. On a specific String "antwort" I would like to send an Object k from the Server to the Client and prove on the Client the correctness of the object by reading the attribute set on the serverside before sending.
    But somehow the server does not create the ObjectInputStreams and I don�t know why.
    That�s the code:
    // Server:
    public class Server {
    public Server() {
    try{
    String input = new String();
    ServerSocket sock = new ServerSocket(16348);
    Socket socket = sock.accept();
    System.out.println("socket"); // this line is printed on connection
    ObjectInputStream sockin = new ObjectInputStream(socket.getInputStream());
    System.out.println("objectinputstream"); // but this one never appears
    ObjectOutputStream sockout = new ObjectOutputStream(socket.getOutputStream());
    Kunde k = new Kunde();
    k.setNummer(13);
    while(!input.equals("Ende")){
    input = sockin.readObject().toString();
    if(input.equals("antwort")){
    sockout.writeObject(k);
    sockout.flush();
    sockout.reset();
    System.out.println(input);
    socket.close();
    catch(Exception e){
    public static void main(String[] args) {
    // TODO code application logic here
    new Server();
    // The Client
    public class Client {
    public Client() {
    try{
    Socket sock = new Socket("localhost",16348);
    // System.out.println(sock.isOutputShutdown());
    sock.setSoTimeout(5000);
    System.out.println("socket hergestellt");
    ObjectInputStream sockin = new ObjectInputStream(sock.getInputStream());
    System.out.println("sockin");
    ObjectOutputStream sockout = new ObjectOutputStream(sock.getOutputStream());
    System.out.println("sockout");
    String eing = "";
    System.out.println("vor while");
    while(!eing.equals("close")){
    eing = erwarteEingabe();
    System.out.println("Sende:"+eing);
    if(eing.equals("antwort")){
    sockout.writeObject(eing);
    Kunde k = (Kunde)sockin.readObject();
    System.out.println("Nummer des Kunden: "+k.getNr());
    else{
    sockout.writeObject(eing);
    sockout.flush();
    sockout.reset();
    catch(Exception e){
    System.out.println(e);
    public static void main(String[] args) {
    // TODO code application logic here
    new Client();
    private String erwarteEingabe(){
    String eing = "";
    System.out.println("nehme Eing entgegen");
    try{
    BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
    return b.readLine();
    catch(Exception e){
    System.out.println(e);
    return "";
    }

    When you create an ObjectInputStream it tries to read the object stream header from the underlaying stream. In this case both your server and client are waiting for the other one to send the header before they can continue. This problem can be avoided by simply creating the object output streams first:ObjectOutputStream sockout = new ObjectOutputStream(socket.getOutputStream());
    ObjectInputStream sockin = new ObjectInputStream(socket.getInputStream());

  • Database Development and Creating Objects in the Enterprise

    Hello Everyone,
    I have found myself filling the role of DB Developer for a DataMart project in a large enterprise. We are looking at replicating and consolidating multiple schemas in near real-time into an ODS for Reporting and Data Integration purposes. I did a POC locally in DEV to create Materialized Views for this purpose. It seems to work fine, I've got them on Fast Refresh, added a unique identifier etc.
    The DBA stated I was granted the Priv to create the MVIEWS bc our vendor requires more PRIVS than is normally allowed for other apps in the Enterprise and it was only done on our server. Now I requested to try the same thing, however on the remote ODS DB over DBLinks. He stated creating objects on the ODS is a 'bad idea' and not allowed without engaging the broader DB group, even for DEv purposes. He also stated that MOST enterprises don't allow creating objects, and only allow DML. Problem is, once we engage that group it could add significant time and money to the project. Which seems silly as I just want to see if it's a feasible option.
    Any thoughts on this? Can anyone share experiences regarding what is and is not allowed at the DB level strictly for DEV purposes and not on PROD?
    Thanks,
    PRAJNA

    Thanks for the input jgarry. It does seem they are treating DEV like PROD in this case. Which has the potential to hamper innovation and new ways of doing things, especially in an aging IT environment where we might be stuck in our ways of doing things. It also sounds a bit general and not necessarily the case that 'most companies also don't allow this sort of thing'. I haven't worked in enough shops to say one way or the other however.
    Yes, creating a local DBLink would be an option, but I wanted to test this method running across two physical servers ideally. Worth a try though.

  • How to create object by getting class name as input

    hi
    i need to create object for the existing classes by getting class name as input from the user at run time.
    how can i do it.
    for exapmle ExpnEvaluation is a class, i will get this class name as input and store it in a string
    String classname = "ExpnEvaluation";
    now how can i create object for the class ExpnEvaluation by using the string classname in which the class name is storted
    Thanks in advance

    i think we have to cast it, can u help me how to cast
    the obj to the classname that i get as inputThat's exactly the point why you shouldn't be doing this. You can't have a dynamic cast at compile time already. It doesn't make sense. Which is also the reason why class.forName().newInstance() is a very nice but also often very useless tool, unless the classes loaded all share a mutual interface.

  • Does DPS support Object States or will it in the future?

    Most, if not all of the interactive publications I have designed in ID CS5 use object states to deliver large amounts of content in a cleaner, less-cluttered manner;  I find the object states feature of InDesign to be by far the most powerful interactive component.  Does DPS have the object states feature or will it in the future?  

    Yes, object states are supported. Create object states, select object states and then fine tune in the Overlay Creator. You can make buttons to go to next/previous or specific state, you can autoplay swipe through object states etc.

  • Creating objects in a second instance

    I have created a second instance through the console of a directory server, which has been configured with the same rootdn as the original.
    When I open up the console why in the new instance does it show the rootdn on the config tab but the original doesnt ......
    also ....
    why when i go into the second instance i try creating data objects for root suffixes ive created to mirror the original instance, does it create them under cn=config ......
    Thanks
    G

    Hi
    I have read that creating objects in a loop degrades
    performance. Can someone explain why this should be
    so?Every object creation takes time, so if you create
    lot of unnecessary temporary items in loop it degrades
    performance (so it is nothing loop specific).

Maybe you are looking for

  • What is Max number of schema in a single DB ?

    Hi All, I have small query does anyone have any idea about What is Max number of schema in a single DB we can specify in oracle ? Thanks n advance. Anwar

  • Style sheet problem after upgrade

    hi Gurus, we are in BW 3.5 after an upgrade from support package 13 to  21, we are facing a problem with style sheets: all web repports are displayed without syle sheet! when i try to access the style sheet directly i get this error: http://XX.XX.XX.

  • F-03 G/L ckearing

    Dear All, In G/L Clearing (F-03) , i want to active charge Off diff. button. How to do it. Whare exactly configuration to check. Actual i have clearing Docuements with diff. amount of  < 1 Rs. so i want to adjust diff. entry automatically while clear

  • Leopard install disks being scratched during install

    I have had a couple of very strange experiences trying to install Leopard (upgrading from 10.4.10). I initially ordered (at a special price) and received a Leopard disk under the program whereby I had purchased my MacBook Pro within the month prior t

  • Installing Cold Fusion MX Developer on XP Pro

    My Cold Fusion developer version that came with Studio MX (original MX) is not installing correctly and/or my CF administrator pages doesn't open, giveng me the following stack error. Would it just be easier to download a fresh developer version from