Question on Passivation / Activation example in Dev Guide

Adf 11g
Hello
I'm loading some values into the session UserData in my application module PrepareSession.
As I understand things I need to passivate/activate this information.
However the example in the Fusion Dev Guide on page 39-19 for the passivation
seems to be missing the caller to super.passivateState.
Is this correct ?
Best Regards
Paul

Surprisingly, no. The superclass method is basically a no-op. This method isn't involved in passivating the standard transactional and non-transactional state; it's just for custom data. Standard passivation takes place in passivateState(int, byte[], int).

Similar Messages

  • Where to get E-Commerce extension examples and tutorials guide

    Hi All ,
           i am new to CRM E-commerce application , can some one provide me the link to E-Commerce extension examples and tutorials guide , or any links to extending the standard ISA application.
       If you have any documents please send to [email protected]
    Points will be rewarded **
    regards,
    Tarun.

    Hi there,
    The developmentand Extension guid canbe found on the service marketplace please follow the link below
    http://service.sap.com/crm-inst
    => SAP CRM 2005 =>  CRM Core and Standalone Components
    Here you will find the Dev and extension guid as well as the Examples and tutorials.
    Regards
    Mark

  • A few ADF BC state passivation/activation problems

    Our development team has encountered and researched a few ADF BC passivation/activation related bugs that are very annoying. Some of them have been fixed in the new JDeveloper 11gR1 (11.1.1.1.0) but other ones are still active in the last production release. As we consider some of these bugs as very important we decided to report them in this forum:
    *1) New (modified) values of read-only SQL-derived or transient attributes are not activated if they have been modified in ViewObject's cache and the corresponding changes have not been posted to DB yet*
    The attribute values are included into the passivated state but the activation process does not try to activate a modified value if the method <tt>ViewRowImpl.isAttributeUpdateable(int)</tt> returns <tt>false</tt> for the corresponding row attribute. There are many business cases when some ViewObject attributes have to be modified despite the fact they are read-only (or conditionally read-only depending on the values of another attributes).
    *2) Transient values (values of SQL-derived or transient attributes) that have been modified in ViewObject's cache to <tt>null</tt> are not cleared on state activation*
    This is true even for updateable attributes. The problem exists because the passivation process does not write into the passivated state anything about attributes having <tt>null</tt> values. As a consequence the activation process does not try to modify values of the corresponding attributes during the activation and they keep the value fetched from the ViewObject's query.
    *3) State activation process does not restore ViewCriteria row names*
    As a result the query components (<af:query>, <af:quickQuery> and table filters) do not work correctly after state passivation/activation because they do not clear eventual previously applied filter condition as they do that by searching ViewCriteria rows having particular names. In this way the new condition is appended instead of overriding eventual previous one.

    Hi Maxa,
    I am the thread owner. Sorry for the delay, but my forum account was destroyed during the transition to the new Oracle's SSO, so I had to create a new account and I have missed your posting.
    The table filter problem was resolved in the new JDev 11.1.1.2. The bug number is "Bug 8650239 - FILTERING CRITERIA ARE APPENDED WHEN AM POOLING IS DISABLED".
    If you have to use previous JDev 11g version then the you have to patch the class oracle.jbo.ViewCriteria in the archives adfm.jar and oracle.adf.model_11.1.1.ear as follows (look at the bold lines):
    {font:Courier}
    public void passivate(XMLDocument doc, XMLElement node) {
    ViewCriteriaRow r = (ViewCriteriaRow)row;
    for(int j = 0; j < r.getAttributeCount(); j++) {
    if(rowNode == null) {
    rowNode = doc.createElement("Row");
    ((XMLElement)rowNode).setAttribute("uc", r.isUpperColumns() ? "1" : "0");
    ((XMLElement)rowNode).setAttribute("cj", (new StringBuilder()).append("").append(r.getConjunction()).toString());
    *((XMLElement)rowNode).setAttribute("n", r.getName() == null ? "" : r.getName());*
    public void activate(XMLElement node) {
    for(Node rowNode = node.getFirstChild(); rowNode != null;) {
    ViewCriteriaRow vcr = createViewCriteriaRow();
    s = ((XMLElement)rowNode).getAttribute("uc");
    if(s != null && s.length() > 0)
    vcr.setUpperColumns(Integer.valueOf(s).intValue() == 1);
    s = ((XMLElement)rowNode).getAttribute("cj");
    if(s != null && s.length() > 0)
    vcr.setConjunction(Integer.valueOf(s).intValue());
    String name = ((XMLElement)rowNode).getAttribute("n");
    if(name != null && name.length() > 0)
    vcr.setName(name);
    {font}
    You have to decompile the class, add the bold lines, compile the class and repack it into the specified archives. I am affraid it is not quite legal to patch Oracle's classes but I do not have other solution.

  • Dear Customer Service Team,  I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I

    Dear Customer Service Team,
    I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I can not find it and now I only have access to the trial version.
    Thank you for your help in advance.
    Kind Regards,
    G. Zsolt

    There is no serial number require for Creative Cloud products, you may activate the products using your email address and password which is associated with Adobe. If your Dreamweaver asking for serial number, then make sure you are signing in with correct email address.
    You may also refer below link
    Sign in, activation, or connection errors | CS5.5 and later

  • Hi please help me I'm appleid disable 7.0.4 iPhone 5s by email and security questions forgot not active now please please help me

    Hi please help me I'm appleid disable 7.0.4 iPhone 5s by email and security questions forgot not active now please please help me

    You might be able to re-enable your account via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then log back in so as to 'refresh' the account on it
    For your security questions, if you don't have a rescue email address, or you don't have access to the email account, then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699 - you can also try this link to get your account re-enabled if the above doesn't work.
    When they've been reset you can then use the steps half-way down this page to update/add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Passivation/activation trouble when using proxy DB authentication

    Hello,
    I have an application module which uses database proxy authentication. A user authenticates with his own login/password and AppModuleImpl.java implements following methods: https://blogs.oracle.com/imc/entry/how_to_use_database_proxy .
    It works fine, but there's a trouble with passivation/activation.
    When passivation/activation happens, a user recieves another application module instance from server pool, which was authenticated by another user - and so an application shows another user data.
    Could someone please advise me how to cope with this trouble?
    Thanks.
    ADF 11.1.2.1

    Yes see the second comment in the blog.
    "(jbo.doconnectionpooling=false and release mode=Stateful)" is not the default setting for a fusion web application... so override the prepareSession-method and set the proxyuser in this method.
    Martin

  • SQL1119N  A connection to or activation of database "DEV"

    Hello All,
    am Gautam Poddar from PwC, Kolkata. I have talked with you just now.
    We have activated the logretain and userexit on after taking the full ofline backup of the system. We were unable to take the online backup, so log directory was full. So we have moved the log file from log directory to another directory. After that we have increased the size of the log directory and copy all the log files to log directory but database connection is failed. I am getting this error while try to connect with this command > connect to dev
    SQL1042C An unexpected system error occurred. SQLSTATE=58004
    Yesterday I was unable to resolve the problem. So I have restored all the file system from OS level Backup.  Now I am not able to connect the Database and it is giving this error message
    ecldevqa:db2dev 5> db2 connect to DEV
    SQL1119N  A connection to or activation of database "DEV" cannot be made
    because a previous restore is incomplete.  SQLSTATE=57019
    Restored these file system
    /dev/sapvg/devsaptemp1
                       1572864   16768 1544008    1% /db2/DEV/saptemp1
    /dev/sapvg/devsapdata4
                       41943040 23979664 17823088   57% /db2/DEV/sapdata4
    /dev/sapvg/devsapdata3
                       41943040 23979664 17823088   57% /db2/DEV/sapdata3
    /dev/sapvg/devsapdata2
                       41943040 23979664 17823088   57% /db2/DEV/sapdata2
    /dev/sapvg/devsapdata1
                       41943040 23979664 17823088   57% /db2/DEV/sapdata1
    /dev/sapvg/DEV_LOG_DIR
                       10485760 5390328 5055680   52% /db2/DEV/log_dir
    /dev/sapvg/devdb2dump
                       3145728 2757168  385592   88% /db2/DEV/db2dump
    /dev/sapvg/db2dev  3145728  100224 3021728    3% /db2/db2dev
    I have seen these out put has not changed after restoration > db2 get db cfg for DEV
    ecldevqa:db2dev 17> db2 get db cfg for DEV
           Database Configuration for Database DEV
    Database configuration release level                    = 0x0b00
    Database release level                                  = 0x0b00
    Database territory                                      = en_US
    Database code page                                      = 1208
    Database code set                                       = UTF-8
    Database country/region code                            = 1
    Database collating sequence                             = IDENTITY_16BIT
    Alternate collating sequence              (ALT_COLLATE) =
    Database page size                                      = 16384
    Dynamic SQL Query management           (DYN_QUERY_MGMT) = DISABLE
    Discovery support for this database       (DISCOVER_DB) = ENABLE
    Restrict access                                         = NO
    Default query optimization class         (DFT_QUERYOPT) = 5
    Degree of parallelism                      (DFT_DEGREE) = 1
    Continue upon arithmetic exceptions   (DFT_SQLMATHWARN) = NO
    Default refresh age                   (DFT_REFRESH_AGE) = 0
    Default maintained table types for opt (DFT_MTTB_TYPES) = SYSTEM
    Number of frequent values retained     (NUM_FREQVALUES) = 10
    Number of quantiles retained            (NUM_QUANTILES) = 20
    Backup pending                                          = NO
    Database is consistent                                  = NO
    Rollforward pending                                     = NO
    Restore pending                                         = NO
    Multi-page file allocation enabled                      = YES
    Log retain for recovery status                          = NO
    User exit for logging status                            = YES
    Self tuning memory                    (SELF_TUNING_MEM) = OFF
    Size of database shared memory (4KB)  (DATABASE_MEMORY) = COMPUTED
    Database memory threshold               (DB_MEM_THRESH) = 10
    Max storage for lock list (4KB)              (LOCKLIST) = 20000
    Percent. of lock lists per application       (MAXLOCKS) = 90
    Package cache size (4KB)                   (PCKCACHESZ) = 5120
    Sort heap thres for shared sorts (4KB) (SHEAPTHRES_SHR) = 20000
    Sort list heap (4KB)                         (SORTHEAP) = 2048
    Database heap (4KB)                            (DBHEAP) = 35000
    Catalog cache size (4KB)              (CATALOGCACHE_SZ) = 2560
    Log buffer size (4KB)                        (LOGBUFSZ) = 1024
    Utilities heap size (4KB)                (UTIL_HEAP_SZ) = 10000
    Buffer pool size (pages)                     (BUFFPAGE) = 10000
    Max size of appl. group mem set (4KB) (APPGROUP_MEM_SZ) = 128000
    Percent of mem for appl. group heap   (GROUPHEAP_RATIO) = 25
    Max appl. control heap size (4KB)     (APP_CTL_HEAP_SZ) = 1600
    SQL statement heap (4KB)                     (STMTHEAP) = 5120
    Default application heap (4KB)             (APPLHEAPSZ) = 4096
    Statistics heap size (4KB)               (STAT_HEAP_SZ) = 15000
    Interval for checking deadlock (ms)         (DLCHKTIME) = 10000
    Lock timeout (sec)                        (LOCKTIMEOUT) = 3600
    Changed pages threshold                (CHNGPGS_THRESH) = 40
    Number of asynchronous page cleaners   (NUM_IOCLEANERS) = AUTOMATIC
    Number of I/O servers                   (NUM_IOSERVERS) = AUTOMATIC
    Index sort flag                             (INDEXSORT) = YES
    Sequential detect flag                      (SEQDETECT) = YES
    Default prefetch size (pages)         (DFT_PREFETCH_SZ) = AUTOMATIC
    Track modified pages                         (TRACKMOD) = ON
    Default number of containers                            = 1
    Default tablespace extentsize (pages)   (DFT_EXTENT_SZ) = 2
    Max number of active applications            (MAXAPPLS) = AUTOMATIC
    Average number of active applications       (AVG_APPLS) = AUTOMATIC
    Max DB files open per application            (MAXFILOP) = 1950
    Log file size (4KB)                         (LOGFILSIZ) = 16380
    Number of primary log files                (LOGPRIMARY) = 20
    Number of secondary log files               (LOGSECOND) = 40
    Changed path to log files                  (NEWLOGPATH) =
    Path to log files                                       = /db2/DEV/log_dir/NODE
    0000/
    Overflow log path                     (OVERFLOWLOGPATH) =
    Mirror log path                         (MIRRORLOGPATH) =
    First active log file                                   = S0000062.LOG
    Block log on disk full                (BLK_LOG_DSK_FUL) = YES
    Percent max primary log space by transaction  (MAX_LOG) = 0
    Num. of active log files for 1 active UOW(NUM_LOG_SPAN) = 0
    Group commit count                          (MINCOMMIT) = 1
    Percent log file reclaimed before soft chckpt (SOFTMAX) = 300
    Log retain for recovery enabled             (LOGRETAIN) = OFF
    User exit for logging enabled                (USEREXIT) = OFF
    HADR database role                                      = STANDARD
    HADR local host name                  (HADR_LOCAL_HOST) =
    HADR local service name                (HADR_LOCAL_SVC) =
    HADR remote host name                (HADR_REMOTE_HOST) =
    HADR remote service name              (HADR_REMOTE_SVC) =
    HADR instance name of remote server  (HADR_REMOTE_INST) =
    HADR timeout value                       (HADR_TIMEOUT) = 120
    HADR log write synchronization mode     (HADR_SYNCMODE) = NEARSYNC
    First log archive method                 (LOGARCHMETH1) = OFF
    Options for logarchmeth1                  (LOGARCHOPT1) =
    Second log archive method                (LOGARCHMETH2) = OFF
    Options for logarchmeth2                  (LOGARCHOPT2) =
    Failover log archive path                (FAILARCHPATH) =
    Number of log archive retries on error   (NUMARCHRETRY) = 5
    Log archive retry Delay (secs)         (ARCHRETRYDELAY) = 20
    Vendor options                              (VENDOROPT) =
    Auto restart enabled                      (AUTORESTART) = ON
    Index re-creation time and redo index build  (INDEXREC) = SYSTEM (RESTART)
    Log pages during index build            (LOGINDEXBUILD) = OFF
    Default number of loadrec sessions    (DFT_LOADREC_SES) = 1
    Number of database backups to retain   (NUM_DB_BACKUPS) = 12
    Recovery history retention (days)     (REC_HIS_RETENTN) = 60
    TSM management class                    (TSM_MGMTCLASS) =
    TSM node name                            (TSM_NODENAME) =
    TSM owner                                   (TSM_OWNER) =
    TSM password                             (TSM_PASSWORD) =
    Automatic maintenance                      (AUTO_MAINT) = ON
       Automatic database backup            (AUTO_DB_BACKUP) = OFF
       Automatic table maintenance          (AUTO_TBL_MAINT) = ON
         Automatic runstats                  (AUTO_RUNSTATS) = ON
         Automatic statistics profiling    (AUTO_STATS_PROF) = OFF
           Automatic profile updates         (AUTO_PROF_UPD) = OFF
         Automatic reorganization               (AUTO_REORG) = OFF
    Before restoration it was "First active log file                                   = S0000062.LOG" and after restoration this parameter has not changed.
    db2diag.log >
    INSTANCE: db2dev               NODE : 000
    FUNCTION: DB2 UDB, routine_infrastructure, sqlerFmpListener, probe:999
    MESSAGE : FMP exiting with error. Last agent registered:
    DATA #1 : Hexdump, 4 bytes
    0x9FFFFFFFFFFFEEE4 : 0000 0000                                  ....
    2008-01-30-10.34.12.283359+330 I2618633502A1630   LEVEL: Event
    PID     : 12514                TID  : 1           PROC : db2start
    INSTANCE: db2dev               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSingleNode, probe:1130
    DATA #1 : String, 31 bytes
    /db2/db2dev/sqllib/adm/db2star2
    DATA #2 : Hexdump, 256 bytes
    0x9FFFFFFFFFFFBBC0 : 2F64 6232 2F64 6232 6465 762F 7371 6C6C    /db2/db2dev/sqll
    0x9FFFFFFFFFFFBBD0 : 6962 2F61 646D 2F64 6232 7374 6172 3200    ib/adm/db2star2.
    0x9FFFFFFFFFFFBBE0 : 4E4F 4D53 4700 0000 0000 0000 0000 0000    NOMSG...........
    0x9FFFFFFFFFFFBBF0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC00 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC10 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC20 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC30 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC40 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC50 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC60 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC70 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC80 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBC90 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBCA0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x9FFFFFFFFFFFBCB0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    2008-01-30-10.34.14.121256+330 E2618635133A1198   LEVEL: Event
    PID     : 12517                TID  : 1           PROC : db2star2
    INSTANCE: db2dev               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, DB2StartMain, probe:911
    MESSAGE : ADM7513W  Database manager has started.
    START   : DB2 DBM
    DATA #1 : Build Level, 152 bytes
    Instance "db2dev" uses "64" bits and DB2 code release "SQL09011"
    with level identifier "01020107".
    Informational tokens are "DB2 v9.1.0.1", "s061104", "U809678", Fix Pack "1".
    DATA #2 : System Info, 104 bytes
    System: HP-UX ecldevqa B.11.23 U ia64
    CPU: total:6 online:6 Threading degree per core:1
    Physical Memory(MB): total:16354 free:9294
    Virtual  Memory(MB): total:49122 free:42062
    Swap     Memory(MB): total:32768 free:32768
    Kernel   Params: msgMaxMessageSize:65535 msgMsgMap:2048 msgMaxQueueIDs:512
                     msgNumberOfHeaders:2046 msgMaxQueueSize:65535
                     msgMaxSegmentSize:96 shmMax:17179869184 shmMin:1 shmIDs:400
                     shmSegments:300 semMap:2050 semIDs:2048 semNum:4096
                     semUndo:1024 semNumPerID:2048 semOps:500 semUndoPerProcess:100
                     semUndoSize:824 semMaxVal:32767 semAdjustOnExit:16384
    2008-01-30-10.34.50.661312+330 I2618636332A365    LEVEL: Warning
    PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2008-01-30-10.34.50.662169+330 I2618636698A373    LEVEL: Warning
    PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2008-01-30-10.34.50.662288+330 I2618637072A353    LEVEL: Severe
    PID     : 12533                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-7                  APPID: *LOCAL.db2dev.080130050450
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2008-01-30-10.43.19.986356+330 I2618637426A365    LEVEL: Warning
    PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2008-01-30-10.43.19.987187+330 I2618637792A373    LEVEL: Warning
    PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2008-01-30-10.43.19.987305+330 I2618638166A353    LEVEL: Severe
    PID     : 12532                TID  : 1           PROC : db2agent (DEV) 0
    INSTANCE: db2dev               NODE : 000
    APPHDL  : 0-10                 APPID: *LOCAL.db2dev.080130051319
    AUTHID  : DB2DEV
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    ecldevqa:db2dev 20>
    Thanks & Regards, 
    Gautam Poddar 
    SAP BASIS 
    PricewaterhouseCoopers (P) Limited

    Hi Gautam
    As Adam said ....
    1. never manually move db2 active log files
    2. IBM does not support filesystem restores.
    The only solution for you is to restore the offline backup and if you have archive logs, then you can do a rollforward .
    Amit
    Edited by: amit chak on Aug 19, 2008 8:07 PM

  • SAP E-Commerce 5.0 - Examples and Tutorials Guide  : examples source files

    Hi everyone,
    Where can i find examples source files of the "SAP E-Commerce 5.0 - Examples and Tutorials (Dev./Ext.) " Guide ?
    Thanks & Regards

    You can get the JAVA files source code from the <drive>:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b directory, you should be able to find the src.zip file which contains the source code for the Action & Business object files.
    You can access the JSP files from the <drive>\usr\sap\CD5\DVEBMGS00\j2ee\cluster\server1\apps\sap.com\crm~b2b\servlet_jsp\b2b\root
    OR
    You can import through NWDI into your NWDS.
    Let me know if you need further details.
    Thanks
    Srini Sandaka

  • Questions on Column Fromatting example.

    Hi Tech Gurus,
    I am trying to implement "Column Formatting" example from Oracle XML Publisher - User Guide(PartNo: B13817-03) pdf. It is working fine and could able to get similar kind of output.
    When all the columns are displayed, the table in output occupies certain amount of size in the page. When I try to hide one column out of three, the width/size of the table is coming down. Size of the table in second output is not big as in the first output.
    My requirement is, table size should not vary accordning to the number of columns. The table size should be the same and two columns should share the total table length equally or as per the giving settings.
    How I can achieve this.
    Need urgent help on this.
    Regards,
    Chandra.

    925896 wrote:
    Hi
    Interviewer asked me this question.
    Why do we need an alias for column and is it improving query performance?
    I said
    if we select columns with same name from different table, alias is useful but no way related to query performance.
    is it correct? Please explain me on alias topicYou are correct, alias is not related to performance..

  • Activation Problem from Dev to QA through transport

    We are tryiing to do a transport from Dev to QA and we are getting the following error even after several re-import of a request. We have also checked and rechecked the activated infoobjects and also if any of the objects are locked by some other request or not.
    The request gets cancelled with error code -12.
    It looks like when we transport the InfoObjects in small bunch, it gets successfully transported, otherwise if there are lots of InfoObjects in a request then it fails.
    Error log is :
    tart of the after-import method for object type R3TR IOBJ (Activation Mode)
    System error in lock management
    Error AD 025 when handling objects with type R3TR IOBJ
    Start of the after-import method for object type R3TR ODSO (Activation Mode)
    Lock table overflow
    Start of the after-import method for object type R3TR CUBE (Activa
    Error when checking InfoCube 0CSAL_C01
    InfoObject 0BP_ACTIVIT is not available in active version
    InfoObject 0BP_CONTPER is not available in active version
    InfoObject 0CRMPU_OG_R is not available in active version
    InfoObject 0CRMSA_OG_R is not available in active version
    InfoObject 0CRMSE_OG_R is not available in active version
    InfoObject 0CRM_CAT is not available in active version
    InfoObject 0CRM_DIRECT is not available in active version
    InfoObject 0CRM_OBJECT is not available in active version
    InfoObject 0REJECTN_ST is not available in active version
    InfoObject 0REASON_REJ is not available in active version
    InfoObject 0NET_VALUE is not available in active version
    InfoObject 0CML_OR_QTY is not available in active version
    InfoObject 0NET_PRICE is not available in active version
    Check the InfoCube online
    Start of the after-import method for object type R3TR MPRO (Activation Mode)
    Lock table overflow
    Lock table overflow
    Lock table overflow
    Start of the after-import method for object type R3TR ISTD (Activation Mode)
    Start of the after-import method for object type R3TR ISCS (Activation Mode)
    InfoObject FA COMPLETION DATE ( ZFCOM_DT ) is not active, total of 175 inactive InfoObjects
    InfoObject Business Transaction Type ( 0CRM_PRCTYP ) is not active, total of 33 inactive nfoObjects
    InfoObject ACTIVITY: Sloution Description ( ZSOLDESC ) is not active, total of 67 inactive InfoObjects
    Activation of communication structure /BIC/CS0PLANT_ATTR in Dictionary failed
    Activation of communication structure /BIC/CS0PLANT_TEXT in Dictionary failed
    Activation of communication structure /BIC/CS0WBS_ELEMT_ATTR in Dictionary failed
    Activation of communication structure /BIC/CS0WBS_ELEMT_TEXT in Dictionary failed
    InfoObject Value Type for Reporting ( 0VTYPE ) is not active, total of 19 inactive InfoObjects
    InfoObject Value Type for Reporting ( 0VTYPE ) is not active, total of 13 inactive InfoObjects
    InfoObject Number of orders ( 0ORDERS ) is not active, total of 8 inactive InfoObjects
    InfoObject Long Number for Configurable Material ( ZMATCFG ) is not active, total of 46 inactive InfoObjects
    InfoObject Cumulative order quantity in sales units ( 0CML_OR_QTY ) is not active, total of  inactive InfoObje
    InfoObject Net Price per 1*VKME ( 0NETPR_VKM ) is not active, total of 13 inactive InfoObjects
    InfoObject Record deleted ( 0REC_DELETD ) is not active, total of 24 inactive InfoObjects
    InfoObject Delivery ( 0DELIV_NUMB ) is not active, total of 15 inactive InfoObjects
    InfoObject Preceding document category ( 0PRVDOC_CTG ) is not active, total of 28 inactive InfoObjects
    InfoObject Goods Issue Date: Delivery Header ( 0GI_DATE_DH ) is not active, total of 34 inactive InfoObjects
    InfoObject No.of billing docs ( 0NO_INV ) is not active
    Activation of communication structure /BIC/CS2LIS_13_VDITM in Dictionary failed
    Activation of communication structure /BIC/CS2LIS_13_VDKON in Dictionary failed
    InfoObject 0REJECTN_ST is not available in active version
    InfoObject 0REASON_REJ is not available in active version
    InfoObject 0NET_VALUE is not available in active version
    InfoObject 0CML_OR_QTY is not available in active version
    InfoObject 0NET_PRICE is not available in active version
    Check the InfoCube online
    Start of the after-import method for object type R3TR MPRO (Activation Mode)
    Lock table overflow
    Lock table overflow
    Lock table overflow
    Start of the after-import method for object type R3TR ISTD (Activation Mode)
    Start of the after-import method for object type R3TR ISCS (Activation Mode)
    InfoObject FA COMPLETION DATE ( ZFCOM_DT ) is not active, total of 175 inactive InfoObjects
    InfoObject Business Transaction Type ( 0CRM_PRCTYP ) is not active, total of 33 inactive InfoObjects
    InfoObject ACTIVITY: Sloution Description ( ZSOLDESC ) is not active, total of 67 inactive InfoObjects
    Activation of communication structure /BIC/CS0PLANT_ATTR in Dictionary failed
    Activation of communication structure /BIC/CS0PLANT_TEXT in Dictionary failed
    Activation of communication structure /BIC/CS0WBS_ELEMT_ATTR in Dictionary failed
    Activation of communication structure /BIC/CS0WBS_ELEMT_TEXT in Dictionary failed
    InfoObject Value Type for Reporting ( 0VTYPE ) is not active, total of 19 inactive InfoObjects
    InfoObject Value Type for Reporting ( 0VTYPE ) is not active, total of 13 inactive InfoObjects
    InfoObject Number of orders ( 0ORDERS ) is not active, total of 8 inactive InfoObjects
    InfoObject Long Number for Configurable Material ( ZMATCFG ) is not active, total of 46 inactive InfoObjects
    InfoObject Cumulative order quantity in sales units ( 0CML_OR_QTY ) is not active, total of 9 inactive InfoObje
    InfoObject Net Price per 1*VKME ( 0NETPR_VKM ) is not active, total of 13 inactive InfoObjects
    InfoObject Record deleted ( 0REC_DELETD ) is not active, total of 24 inactive InfoObjects
    InfoObject Delivery ( 0DELIV_NUMB ) is not active, total of 15 inactive InfoObjects
    InfoObject Preceding document category ( 0PRVDOC_CTG ) is not active, total of 28 inactive InfoObjects
    InfoObject Goods Issue Date: Delivery Header ( 0GI_DATE_DH ) is not active, total of 34 inactive InfoObjects
    InfoObject No.of billing docs ( 0NO_INV ) is not active
    Activation of communication structure /BIC/CS2LIS_13_VDITM in Dictionary failed
    Activation of communication structure /BIC/CS2LIS_13_VDKON in Dictionary failed
    How do we get rid of this?
    Thanks
    Sachin

    Hi,
    There are many info objects which are not activate, because of this all other objects are failed, so create seperate trasport request for info objects and another request for Data source and info providers.
    Cheers,
    Malli.

  • When can I expect the activation email (iPhone dev)?

    Hi,
    Very excited to submit two apps I've been working on in recent weeks for AppStore consideration.
    I've already registered and made the $99 payment, and am awaiting what I'm assuming is an activation email. Any idea when I should expect to receive mine?
    Thanks!

    how did you make the payment? All I got was an email saying:
    "Thank you for submitting your information.
    While we process your information, please visit the iPhone Dev Center to download the iPhone SDK and access a wealth of technical resources. Please note, the iPhone Developer Program will initially be available to a limited number of developers and will expand in the coming months.
    Next Steps
    You will receive notification of your enrollment status. Enrollment ID XXX"
    is there anything I can do but wait?

  • Simple question about media activation

    Hi, Suppose i give someone a signed media (book) on a SD card. can he plug it into his device, connect to the internet and activate it ?
    the question is, does the activation process need to be done in the same session of the media download, by the same device ?
    Thanks

    The activation begin when you click on the gblink. So when you have the media file, you already did the activation part!

  • Question about Java Sound example?

    Hello,
    I found this example AudioPlayer, when searching for an example of how to play .wav files in Java.
    The code seems quite long, and wondered if anyone could advise if this is the best way to play a wav file?
    And could anyone explain if the EXTERNAL_BUFFER_SIZE should allows be set to 128000;
    Thank you
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.SourceDataLine;
    public class SimpleAudioPlayer
         private static final int     EXTERNAL_BUFFER_SIZE = 128000;
         public static void main(String[] args)
                We check that there is exactely one command-line
                argument.
                If not, we display the usage message and exit.
              if (args.length != 1)
                   printUsageAndExit();
                Now, that we're shure there is an argument, we
                take it as the filename of the soundfile
                we want to play.
              String     strFilename = args[0];
              File     soundFile = new File(strFilename);
                We have to read in the sound file.
              AudioInputStream     audioInputStream = null;
              try
                   audioInputStream = AudioSystem.getAudioInputStream(soundFile);
              catch (Exception e)
                     In case of an exception, we dump the exception
                     including the stack trace to the console output.
                     Then, we exit the program.
                   e.printStackTrace();
                   System.exit(1);
                From the AudioInputStream, i.e. from the sound file,
                we fetch information about the format of the
                audio data.
                These information include the sampling frequency,
                the number of
                channels and the size of the samples.
                These information
                are needed to ask Java Sound for a suitable output line
                for this audio file.
              AudioFormat     audioFormat = audioInputStream.getFormat();
                Asking for a line is a rather tricky thing.
                We have to construct an Info object that specifies
                the desired properties for the line.
                First, we have to say which kind of line we want. The
                possibilities are: SourceDataLine (for playback), Clip
                (for repeated playback)     and TargetDataLine (for
                recording).
                Here, we want to do normal playback, so we ask for
                a SourceDataLine.
                Then, we have to pass an AudioFormat object, so that
                the Line knows which format the data passed to it
                will have.
                Furthermore, we can give Java Sound a hint about how
                big the internal buffer for the line should be. This
                isn't used here, signaling that we
                don't care about the exact size. Java Sound will use
                some default value for the buffer size.
              SourceDataLine     line = null;
              DataLine.Info     info = new DataLine.Info(SourceDataLine.class,
                                                                 audioFormat);
              try
                   line = (SourceDataLine) AudioSystem.getLine(info);
                     The line is there, but it is not yet ready to
                     receive audio data. We have to open the line.
                   line.open(audioFormat);
              catch (LineUnavailableException e)
                   e.printStackTrace();
                   System.exit(1);
              catch (Exception e)
                   e.printStackTrace();
                   System.exit(1);
                Still not enough. The line now can receive data,
                but will not pass them on to the audio output device
                (which means to your sound card). This has to be
                activated.
              line.start();
                Ok, finally the line is prepared. Now comes the real
                job: we have to write data to the line. We do this
                in a loop. First, we read data from the
                AudioInputStream to a buffer. Then, we write from
                this buffer to the Line. This is done until the end
                of the file is reached, which is detected by a
                return value of -1 from the read method of the
                AudioInputStream.
              int     nBytesRead = 0;
              byte[]     abData = new byte[EXTERNAL_BUFFER_SIZE];
              while (nBytesRead != -1)
                   try
                        nBytesRead = audioInputStream.read(abData, 0, abData.length);
                   catch (IOException e)
                        e.printStackTrace();
                   if (nBytesRead >= 0)
                        int     nBytesWritten = line.write(abData, 0, nBytesRead);
                Wait until all data are played.
                This is only necessary because of the bug noted below.
                (If we do not wait, we would interrupt the playback by
                prematurely closing the line and exiting the VM.)
                Thanks to Margie Fitch for bringing me on the right
                path to this solution.
              line.drain();
                All data are played. We can close the shop.
              line.close();
                There is a bug in the jdk1.3/1.4.
                It prevents correct termination of the VM.
                So we have to exit ourselves.
              System.exit(0);
         private static void printUsageAndExit()
              out("SimpleAudioPlayer: usage:");
              out("\tjava SimpleAudioPlayer <soundfile>");
              System.exit(1);
         private static void out(String strMessage)
              System.out.println(strMessage);
    }

    I didnot go thru the code you posted but I know that the following workstry {
            // From file
            AudioInputStream stream = AudioSystem.getAudioInputStream(new File("audiofile"));
            // From URL
            stream = AudioSystem.getAudioInputStream(new URL("http://hostname/audiofile"));
            // At present, ALAW and ULAW encodings must be converted
            // to PCM_SIGNED before it can be played
            AudioFormat format = stream.getFormat();
            if (format.getEncoding() != AudioFormat.Encoding.PCM_SIGNED) {
                format = new AudioFormat(
                        AudioFormat.Encoding.PCM_SIGNED,
                        format.getSampleRate(),
                        format.getSampleSizeInBits()*2,
                        format.getChannels(),
                        format.getFrameSize()*2,
                        format.getFrameRate(),
                        true);        // big endian
                stream = AudioSystem.getAudioInputStream(format, stream);
            // Create the clip
            DataLine.Info info = new DataLine.Info(
                Clip.class, stream.getFormat(), ((int)stream.getFrameLength()*format.getFrameSize()));
            Clip clip = (Clip) AudioSystem.getLine(info);
            // This method does not return until the audio file is completely loaded
            clip.open(stream);
            // Start playing
            clip.start();
        } catch (MalformedURLException e) {
        } catch (IOException e) {
        } catch (LineUnavailableException e) {
        } catch (UnsupportedAudioFileException e) {
        }

  • HT201303 I have forget answers of the all security questions. So, I request u to guide me how to recover it all

    I have forget my security questions an there answers as well. So, can anybody guide me, how to recover it....

    Welcome to the Apple Community.
    Start here, and reset your security questions, you will receive an email to your rescue address, then go to manage your account > Password and Security and set your security questions.
    If that doesn't help or you don't have a rescue address, you might try contacting Apple throughiTunes Store Support

  • Question in usrp transmitter example

    In the usrp transmitter example:
    what is the exact packet structure?
    what is the padding samples? and how it differs from padding bits? and what is the fuction of the padding bits?
    what is the function of the blank frame
    thanks in advance

    The packet is structured as follows, in bits:
    The packets are padded because the transmitter and receiver are not sharing any timing information, which means data could potentially be lost.  By adding padding samples, we are able to ensure that when the packet is received, none of the data will be lost at the front and back of the transmitted frame.  Take a look at this thread, which discusses this in more depth.
    If you take a look at the block diagram of the USRP Packet Transmitter VI, you'll see a case structure that determines when to send packets to the receiver.  If the case structure reads the queue of samples to be sent as empty, it will instead send a blank frame matching the size specified in the above snippet.  The blank frame is used as an empty packet to ensure the connection is not lost.  If we were to simply not send any packet, then the receiver might assume that the connection was lost when instead we are simply not sending anything.  By sending an empty packet, the receiver knows the connection is still active, and can wait for a packet of actual data.
    Patrick
    CLA

Maybe you are looking for

  • SQL to work with character string

    I've got a simple bit of SQL: SELECT DISTINCT pj.NAME job_title               , LENGTH(pj.NAME) len               , INSTR(pj.NAME, ':', 3, 1) find            FROM hr.per_jobs pj;This lists job titles, their length, and the position of the first ":" i

  • I just installed the new itunes software update and it completely whiped my computer and have lost all my files? can some one expalin to me what happened and how do i undo it?

    Can someone please help me! I installed the new itunes software onto my computer it shut down then when i tried to log back into my computer all of my documents and everything was gone! the only thing remaining was my recycle bin. but my documents et

  • Workflow- cost center supervisor

    Hi All, I have implemented Z-workflow for FI invoice with approvals at different levels. Cost center manager will approve at first level, if the invoice amount is greater than his limit, then the invoice will go to supervisor for further approval. Fo

  • Column headings missing in the ouput

    Hi All, the report is displaying more than 255 line size for that i have given in the program as shown below Report XXXXX LINE-SIZE 323. Actually i had ran the report in the background there i have selected print settings as shown below format :Z_65_

  • Time period between inventories

    We noticed that if we do a physical inventory adjustment to a material a few weeks before a full wall to wall inventory, that this material doesn't show up on the count sheets. Is there someplace to adjust how often a material can be inventoried, or