Problem in updating  Database

Hi to all users
When i'm updating a field in database using Set Method, it's not reflected in the database, when i call get Method i get the new value. Why it's so.
Thanks in advance

hi filipjava
I'm able to insert the values to the database but i haven't tried yet deleting it. Return type of ejbCreate is void in my bean. Why should it return null. I'm using two PK class. for inserting and updating. Here is my PK class Code.
public class WBSUpdatePK implements java.io.Serializable {
public String wbs_id;
public WBSUpdatePK(){
public WBSUpdatePK(String wbs_id){
this.wbs_id = wbs_id;
public boolean equals(Object obj)
if (obj instanceof WBSUpdatePK)
WBSUpdatePK c = (WBSUpdatePK)obj;
if (c.wbs_id == null)
return wbs_id == null;
return c.wbs_id.equals(wbs_id);
return false;
public int hashCode()
System.out.println("inside hashcode"+wbs_id.hashCode());
return wbs_id.hashCode();
public String toString(){
return wbs_id.toString();
}

Similar Messages

  • Problem in update database statistics

    when i run
    update database statistics
    when it completed it becomes red
    then i check it out
    log file  there i found error
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~0"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE => FALSE); END;                                                                      
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~0                                                                        
    BR0280I BRCONNECT time stamp: 2009-11-03 10.56.12                                                                               
    BR0301E SQL error -904 at location stats_ind_collect-3, SQL statement:                                                                       
    'BEGIN DBMS_STATS.GATHER_INDEX_STATS (OWNNAME => '"SAPECC"', INDNAME => '"SNAP~DSX"', ESTIMATE_PERCENT => NULL, DEGREE => NULL, NO_INVALIDATE
    ORA-00904: : invalid identifier                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10621                                                                               
    ORA-06512: at "SYS.DBMS_STATS", line 10645                                                                               
    ORA-06512: at line 1                                                                               
    BR0886E Checking/collecting statistics failed for index SAPECC.SNAP~DSX                                                                      
    what will i do
    please suggest something

    Hi Anant ,
    I think you need to update your brtool patch as described in [Note 874911 - Workaround for ORA-31603 (BR0996E) during reorganization|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=874911].
    Hope it will solve your problem as it is due to bug in oracle.
    Regards,
    Gagan Deep Kaushal

  • ERP EHP4 Installation Problem in Update Database registry Phase.

    Hi,
    We are installing ERP 6.0 EHP4 Ready SR1 on AIX6.1 (6100-03-01-0921)  and DB2 v9.1.0.7.
    During installation in phase Update Database Registry, we are getting below error:
    SQL1042C  An unexpected system error occurred
    If any body has faced this error earlier, then please suggest.
    Thanks
    Sunny

    Hi,
    Please find below the latest entries in db2diag.log:
    2009-12-14-20.15.17.555605-330 I25354A304         LEVEL: Event
    PID     : 630830               TID  : 1           PROC : db2stop2
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, DB2StopMain, probe:260
    DATA #1 : String, 43 bytes
    System controller termination is completed.
    2009-12-14-20.15.17.555785-330 I25659A383         LEVEL: Event
    PID     : 630830               TID  : 1           PROC : db2stop2
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, DB2StopMain, probe:270
    DATA #1 : String, 26 bytes
    Active EDUs to be waited :
    DATA #2 : Hexdump, 4 bytes
    0x0FFFFFFFFFFFCF70 : 0000 0001                                  ....
    2009-12-14-20.15.17.565945-330 I26043A381         LEVEL: Event
    PID     : 630830               TID  : 1           PROC : db2stop2
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, DB2StopMain, probe:280
    DATA #1 : String, 24 bytes
    There is no active EDUs.
    DATA #2 : Hexdump, 4 bytes
    0x0FFFFFFFFFFFCF70 : 0000 0000                                  ....
    2009-12-14-20.15.17.830570-330 E26425A301         LEVEL: Event
    PID     : 630830               TID  : 1           PROC : db2stop2
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, DB2StopMain, probe:911
    MESSAGE : ADM7514W  Database manager has stopped.
    STOP    : DB2 DBM
    2009-12-14-20.15.24.936396-330 I26727A1630        LEVEL: Event
    PID     : 545014               TID  : 1           PROC : db2start
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSingleNode, probe:1130
    DATA #1 : String, 31 bytes
    /db2/db2ged/sqllib/adm/db2star2
    DATA #2 : Hexdump, 256 bytes
    0x0FFFFFFFFFFF9C20 : 2F64 6232 2F64 6232 6765 642F 7371 6C6C    /db2/db2ged/sqll
    0x0FFFFFFFFFFF9C30 : 6962 2F61 646D 2F64 6232 7374 6172 3200    ib/adm/db2star2.
    0x0FFFFFFFFFFF9C40 : 4E4F 4D53 4700 0000 0000 0000 0000 0000    NOMSG...........
    0x0FFFFFFFFFFF9C50 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9C60 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9C70 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9C80 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9C90 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CA0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CB0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CC0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CD0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CE0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9CF0 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9D00 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    0x0FFFFFFFFFFF9D10 : 0000 0000 0000 0000 0000 0000 0000 0000    ................
    2009-12-14-20.15.25.077684-330 E28358A856         LEVEL: Warning
    PID     : 602312               TID  : 1           PROC : db2star2
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, license manager, sqllcRequestAccess, probe:1
    MESSAGE : ADM12007E  There are "89" day(s) left in the evaluation period for
              the product "DB2 Enterprise Server Edition". For evaluation license
              terms and conditions, refer to the IBM License Acceptance and License
              Information document located in the license directory in the
              installation path of this product. If you have licensed this product,
              ensure the license key is properly registered. You can register the
              license via the License Center or db2licm command line utility. The
              license file can be obtained from your licensed product CD.
    2009-12-14-20.15.25.174108-330 E29215A384         LEVEL: Warning
    PID     : 667782               TID  : 1           PROC : db2wdog 0
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, routine_infrastructure, sqlerInitFmpTable, probe:30
    DATA #1 : String, 16 bytes
    agentCachingFmp:
    DATA #2 : String, 3 bytes
    OFF
    DATA #3 : String, 5 bytes
    Flag:
    DATA #4 : Boolean, 1 bytes
    false
    2009-12-14-20.15.26.288917-330 E29600A1208        LEVEL: Event
    PID     : 602312               TID  : 1           PROC : db2star2
    INSTANCE: db2ged               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 "db2ged" uses "64" bits and DB2 code release "SQL09017"
    with level identifier "02080107".
    Informational tokens are "DB2 v9.1.0.7", "s090308", "U823509", Fix Pack "7".
    DATA #2 : System Info, 224 bytes
    System: AIX gpldeve1 1 6 00C1EF854C00
    CPU: total:8 online:4 Threading degree per core:2
    Physical Memory(MB): total:14336 free:10662
    Virtual  Memory(MB): total:35328 free:31640
    Swap     Memory(MB): total:20992 free:20978
    Kernel   Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
                     shmMax:68719476736 shmMin:1 shmIDs:131072
                     shmSegments:68719476736 semIDs:131072 semNumPerID:65535
                     semOps:1024 semMaxVal:32767 semAdjustOnExit:16384
    Cur data size (bytes)  = 0x7FFFFFFFFFFFFFFF
    Cur stack size (bytes)  = 0x7FFFFFFFFFFFFFFF
    Cur core size (bytes)  = 0x0000000077359400
    nofiles (descriptors)  = 0x7FFFFFFFFFFFFFFF
    2009-12-14-20.18.03.426764-330 E30809A597         LEVEL: Warning (OS)
    PID     : 544840               TID  : 1           PROC : db2set
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, oper system services, sqloqcurdir, probe:100
    MESSAGE : ZRC=0x840F0001=-2079391743=SQLO_ACCD "Access Denied"
              DIA8701C Access denied for resource "", operating system return code
              was "".
    CALLED  : OS, -, unspecified_system_function
    OSERR   : EACCES (13) "Permission denied"
    DATA #1 : File name, 0 bytes
    Object not dumped: Address: 0x0FFFFFFFFFFFE688 Size: 0 Reason: Zero-length data
    2009-12-14-20.18.03.429260-330 I31407A290         LEVEL: Event
    PID     : 544840               TID  : 1           PROC : db2set
    INSTANCE: db2ged               NODE : 000
    FUNCTION: DB2 UDB, oper system services, db2set_main, probe:40
    CHANGE  : CFG DB2SET: DB2_WORKLOAD: From: "SAP" To: "SAP"
    Thanks
    Sunny

  • Problem with updating database

    Hi, gurus. here is the snippet of my program, dont know why it doesnt work properly.
    //this the first java bean, storing user's form inputs
    public class FirstPageBean
      private String userName;
      private String docType;
      private int index;
      public FirstPageBean()
           userName = "admin";
           docType = "book";
           index = 0;
      public void setUserName(String name) {userName = name;}
      public String getUserName(){userName = userName.trim(); return userName;}
      public void setDocType(String docType){this.docType = docType;}
      public String getDocType(){docType = docType.trim(); return docType;}
      public void setIndex(int index){this.index = index;}
      public int getIndex(){index = index.trim(); return index;}
    //the second java bean is basically the same fashion as the first one.
    The problem is in the following sinppet of the third java bean.
    Instead of instoring the user's inputs into a table in my database,
    what i actually get from this entries are all their default values,
    like "admin" for userName, "book" for docType etc. The first and
    second bean have been tested and they successfully instored user's
    inputs into their conresponding properties. But i just cant figure
    out why these values are not successfully retrived from the
    ControllerBean.
    public class ControllerBean
       //blah blah....
       public void update(){
       String userName = new FirstPageBean().getUserName();
       String docType = new FirstPageBean().getDocType();
       int index = new FirstPageBean().getIndex();
       Connection conn = connect();
       PreparedStatement stat = conn.prepareStatement("insert into movie values (?,?,?)");
                    stat.setString(1, userName);
                    stat.setInt(2, index);
                    stat.setString(3, docType);
       stat.executeUpdate();
    }Any help would be deeply appreciated. thanx in advance.

    Wherever it is that you accept input from the user for the three values, assign them to the three fields you use for the SQL statement.
    If you really want to use the getXxx and setXxx methods, instantiate a single FirstPageBean and use the setXxx methods.
    FirstPageBean FPB = new FirstPageBean();
    FPB.setUserName( userNameFromInput );
    FPB.setDocType( docTypeFromInput );
    FBP.setIndex( indexFromInput);
    Connection conn = connect();  
    PreparedStatement stat = conn.prepareStatement("insert into movie values (?,?,?)");               
    stat.setString(1, FPB.getUserName);               
    stat.setInt(2, FPB.getIndex);               
    stat.setString(3, FPB.getDocType);  
    stat.executeUpdate();I haven't compiled this but you should get the idea.
    HTH
    Walk Good

  • Problem in update database record with torque

    Can anybody correct my mistake. please........
    Torque.init("E:/Upendra_working_directory/msh2.0/Torque.properties");
    System.out.println("State:     " + Torque.isInit());
    System.out.println("Connection Sucessfully........");
    Criteria crit = new Criteria();
    crit.add(AttachmentPeer.DISPOSITION, "buildfail09.xml");//selecting particular record
    List attachment = AttachmentPeer.doSelect(crit);
    System.out.println(attachment.size());
    Attachment obj = (Attachment)attachment.get(0);
    System.out.println("Attachment Location:     "+ obj.getAttachmentName());
    System.out.println("Attachment MessageID     "+ obj.getMessageId());
    obj.setAttachmentName("sssss"); //setting new value
    AttachmentPeer.doUpdate(obj); //update
    obj.save();
    System.out.println(Attachment Location:     (afterupdate)"+ obj.getAttachmentName());
    console print updated value.but if i check the table in database, it is not updated.
    Thanks in advance

    For anyone referencing this... I had missed adding the field to the MapBuilder so I can definitely suggest that you check the field is present everywhere it should be as no errors will be found if its only looking for the first 4 fields but you want 5 fields to be updated!!

  • Strange problem when updating database

    I have an odd problem with a small application that is written in VB.NET, reading from and updating an SQL Express 2012 server.  The app pulls a datareader from a view and then loops through it and sends each record to an offsite db via an http post. 
    It then goes and marks the record sent using an update query to set a sync bit value in the main key table.  It then goes to the next record in the reader and repeats the process (or that was the idea). 
    What happens when it runs is that the update operation fails with a “Connection timeout or server instance not found “ error.  I have checked the usual culprits, it connects to the server to retrieve the reader OK using the same connect string, the
    user in the connect string has appropriate permissions to the table in question, etc.  The event log only shows an unhandled exception, the timeout message appears in the local debugger.  The exact same update runs successfully on another table for
    a different operation and on my dev machine, so it seems to be something about that particular table. 
    If I log in to SQL management studio as the user that I have in the connection string and update a record in the table using the same syntax as the update query in the application it succeeds.  Very strange.
    Troubleshooting is somewhat complicated by a need to be very careful with the machine that the problem is occurring on.  It is an in-production machine that I can only access via Logmein and is a 20 hour plane flight away.  So I have to be very
    cautious not to bork it up.  Any thoughts on how to proceed?

    I have an odd problem with a small application that is written in VB.NET, reading from and updating an SQL Express 2012 server.  The app pulls a datareader from a view and then loops through it and sends each record to an offsite db via an http post. 
    It then goes and marks the record sent using an update query to set a sync bit value in the main key table.  It then goes to the next record in the reader and repeats the process (or that was the idea). 
    What happens when it runs is that the update operation fails with a “Connection timeout or server instance not found “ error.  I have checked the usual culprits, it connects to the server to retrieve the reader OK using the same connect string, the user
    in the connect string has appropriate permissions to the table in question, etc.  The event log only shows an unhandled exception, the timeout message appears in the local debugger.  The exact same update runs successfully on another table for a
    different operation and on my dev machine, so it seems to be something about that particular table. 
    If I log in to SQL management studio as the user that I have in the connection string and update a record in the table using the same syntax as the update query in the application it succeeds.  Very strange.
    Troubleshooting is somewhat complicated by a need to be very careful with the machine that the problem is occurring on.  It is an in-production machine that I can only access via Logmein and is a 20 hour plane flight away.  So I have to be very cautious
    not to bork it up.  Any thoughts on how to proceed?

  • Problem during updating database

    Hi,
      I am creating purchase order for a material, system allows me to create the one and if i save system gives the order number also,  but if i check the same in display or change it says no document exists and gives the info message
      " Express document update was terminated received from the author abap"
    system gives the message almost all the time
    what may be the probable cause?????
    Pavan

    Hi,
    I think some custom modification has been done . Check that part may be that modification is not working properly,
    Thanks
    Dipak

  • Problem install EHP2 NW (DB2) "update database registry"

    Hi, I have problem install EHP2 NW Solaris and db2. in the phase "update database registry".
    the log is:
    Unable to access application /db2/db2epd/sqllib/adm/db2set. No such file or directory
    Failed action:  with parameters
    Error number 0 error type SPECIFIC_CODE
    S.O:
    In the directory /db2/db2epd
    server: ls
    db2_software
    only found this file. not such file sqllib.
    what happend??
    help please.

    Hi,
    What is your Operating system ?
    Please make sure that file system should not be created with cio option but with rw option.
    Thanks
    Sunny

  • DataBase problem, when update ResultSet

    Hi,
    I use mysql drivers and the problem is:
    i create a connection and then a statement with option CONCUR_UPDATABLE.
    Calling stmt.getResulSetConcurrency(), the answer is CONCUR_UPDATABLE,
    but if i execute a query, calling rs.getConcurrency() the answer is CONCUR_READ_ONLY!!
    note: rs is the ResultSet return by the query.
    In short: I can't update database throught ResultSet object!
    And I have the permission to do!
    Why?
    thank you for answer.
    Luca

    Just because you request updateable resultsets doesn't mean the driver supports it. I don't know if MySQL supports it or not. If it does, then I'd have to guess that your particular query is done in such a way as to not be updateable. I believe if your query does a join, for example, it can't be updateable.

  • Error: 1013231 Unable to update database while in readonly mode for backup

    Hi all,
    Wen im deleting the members for dimendsion , its giving error (hyperion 11.1 aso)
    Error: 1013231 Unable to update database while in readonly mode for backup , how can i solve this problem ,plz can any one help on this
    Thanks

    Has somebody set the database ready for archiving, maybe some maxl has been run and the db has not been returned from read only mode.
    Try running the following Maxl (change app.db to match your app/db)
    alter database app.db end archive;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Resolution to error - Unable to update Database Statistics

    OK, If there's one thing i hate most about SAP, its the dreaded installation, I am always so paranoid, as to something will definitely go wrong,
    Lately i realized that it aint my mind , but the damn installation itself is pretty damn stupid. Why cant SAP leave the installation packaging to professionals like installshield...
    Unfortunately SAP doesnt think of it as a better idea, so until then lets try to resolve as many errors as possible thru these forums..
    Here's one error resolution ,i am pretty sure, many are checking for..
    Use the following procedure to resolve error
    <b>Warning - "loading of sql client library oci.dll failed"
    Error - Unable to update Database Statistics, Check BRCONNECT.log</b>
    The problem seems to be with the SAP Patch Collection InstallMaster disc Material No.(<b>51032143_13</b>).
    To resolve the problem, here's what needs to be done,
    1)Install DB Instance as usual.Then after the installation errors out due to loading of sql
    client library oci.dll ..
    2)I unsar the downloaded DBATOOLS.sar (Thanks for the Link Andreaz!!!)
    log into sapnet (eg. service.sap.com) with your user-id/pwd:
    -> downloads -> support packages and patches -> entry by application group -> additional
    components -> sap kernel -> now chose either 32 or 64 bit; either unicode or non-unicode ->
    sap kernel 6.40 -> windows server -> oracle -> download the package DBATOOLS Package for
    Oracle 9.2.x ... brconnect is part of that package...
    3)Copy the files in the Unsar'd package, as follows
         overwrite br*.exe to S:\usr\sap\R31\SYS\exe\run
         overwrite initSID.sap to S:\usr\sap\R31\SYS\exe\run & 
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite libsbt.dll to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
         overwrite sapdba_role.sql to S:\usr\sap\R31\SYS\exe\run &
    S:\usr\sap\R31\SYS\exe\nuc\NTI386
    4) Retry the installation again & Guess what!! it works....
    Warning-: I initially tried a shortcut by replacing DBATOOLS.sar on the installmaster disc, rather than following above steps, but that doesnt seem to work, the installation fails as as soon as Tablespace creation starts. So the shortcut aint a good one..

    Well, it looks like you resolved your problem yourself.
    you can send feedback to SAP directly instead of posting this here in a forum.

  • Potential Windows Update database error detected 0x80070490

    This is the response I get when I run the Windows update troubleshooter from the Windows 8.1 Action Center.  If I click next it reports the errors have been fixed.  However if I run it again it reports exactly the same errors.
    After searching the Internet I have found that several users have reported having this issue.  As result of the aforementioned search I have tried the following:
    1) Run the Fixit tool for Windows 8.1 located at:
    http://support.microsoft.com/kb/971058/en-us.
    2) Run the System Update Readiness commands: DISM.exe /Online /Cleanup-image /Scanhealth and DISM.exe /Online /Cleanup-image /Restorehealth located at:
    http://support.microsoft.com/kb/947821/en-us.
    3) Saved contents of C:\Windows\System32\catroot2 to a temp folder and then deleted contents of C:\Windows\System32\catroot2.
    4)Renamed C:\Windows\SoftwareDistribution to C:\Windows\SoftwareDistribution.old
    5) Restarted Windows 8.1.
    6) Verified that C:\Windows\System32\catroot2 and that C:Windows\SoftwareDistribution folders had been rebuilt.
    7) I then ran the Windows update troubleshooter from the Window 8.1 Action Center again and got the same response as listed above. The errors still exist and are not fixed.
    8) Finally, I downloaded Windows 8.1 Enterprise Evaluation and I did a completely new clean install of Windows 8.1 and without installing anything else (no updates, no software, no antivirus) the above errors appeared within minutes after connecting
    to the internet.  I checked using the Windows update troubleshooter several times before connecting to the Internet and each time no problems were found, but shortly after I connected the above errors are shown to exists.
    Any suggestions that will help fix this issue will be of great help.

    Did anyone ever find an actual fix for this problem?  I have a very similar problem.  I have gone through the same steps for fixing my issues with getting a message of problems found every time I run the Windows Update troubleshooter.  It
    continually finds what it says are Potential Windows Update Database error detected 0x800700D and says they are fixed, along with another message saying Windows Update components must be repaired and it says they are fixed as well.  However, each time
    I run the troubleshooter it finds the same issues.  I have no problems running Windows Update under Windows 8.1 and them all installing without issue, yet I can't download or update ANY apps within the MS store and like the problem above, when it looks
    for my apps it says it's having problems finding them and to try later.  If I try to download even a free app, I get an error message that something happened and your purchase can't be completed. Error code: 0x80096004.
    I have dug through everything I can find on this error message and tried changing my sign in on my laptop to a local account, created a new MS account to access the store and continue to get the same error message.  I have tried it with my Kaspersky
    Internet Security 2015 turned completely off.  I've also ran SFC scannow and there are no errors and have ran DISM which found a problem but says it was fixed.  After running it again, there were no errors.  I have no other problems with anything
    else (that I know of on my machine).  It is an Asus Q400A and came with Windows 8.0.  I ran all the updates and then upgraded to 8.1 through the MS store without issue.  I have installed all updates since upgrading to 8.1 and have absolutely
    no problem running ANY updates, but can't seem to access the store no matter what I try.
    If anyone has found a solution to this I'd appreciate your input.  Hard to believe MS would put out a product that has such a basic problem that has affected so many users and can't seem to come up with some resolution that doesn't require registry
    editing, running commands from elevated command prompts, and a CS degree to resolve--there are soooo many issues online regarding this kind of error and others related to running SFC and DISM...most ending up in their ultimate default answer....renew or reinstall
    Windows and all the updates....which still doesn't resolve the problem for many!  I've always been a PC guy, but I'm starting to like the MacBook Pro I picked for work related reasons with great hesitation.  I've wasted more time chasing this issue
    down than I all the time I've spent actually using the Mac without even a hitch!
    Thx in advance for any feedback....please no MAC blasting....at this point, it would be not well received!!

  • Function in SQL: PRAGMA used, but '..does not guarantee not to update database'- WHY?

    I use function in SQL statement. It is a dynamicaly build SQL, therefore I need overload functions. These funcs defined in package. The package has PRAGMA Restrict_References (.., WNDS). So all functions should be restricted to update database.
    But Oracle returns an error:
    Function NVL_ does not guarantee not to update database
    This is my build SQL:
    ----- the execution string is: ---------------
    Begin
    INSERT INTO TEST_TBL_BS (MILL_ORDER, CLM1, CLM2, CLM3, NOTES, INIT_DATE )
    VALUES (NV.NVL_(Arc_Utl.TEST_TBL_dltd.MILL_ORDER),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM1),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM2),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.CLM3),
    NV.NVL_(Arc_Utl.TEST_TBL_dltd.NOTES),
    Arch.Init_Time );
    End;
    This is NV package:
    PACKAGE NV IS
    PRAGMA Restrict_References ( NV, WNDS );
    NULL_date DATE := TO_DATE ('01/01/1001', 'mm/dd/yyyy');
    NULL_numb NUMBER := 0;
    NULL_str VARCHAR2 (10)
    := '?';
    -- overloaded NULL_Val function returns NULL_<type> value (defined early)
    -- depend on received variable type
    FUNCTION NULL_Val ( val_in IN DATE )
    RETURN DATE ;
    FUNCTION NULL_Val ( val_in IN NUMBER )
    RETURN NUMBER ;
    FUNCTION NULL_Val ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 ;
    -- PRAGMA Restrict_References ( NULL_Val, WNDS ); -- can be used in SQLs
    -- these pretends to cover hole of the SYS.NVL that do not have posibility
    -- to return default NULL value for every given type
    FUNCTION NVL_ ( val_in IN DATE )
    RETURN DATE ;
    FUNCTION NVL_ ( val_in IN NUMBER )
    RETURN NUMBER ;
    FUNCTION NVL_ ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 ;
    -- PRAGMA Restrict_References ( NVL_, WNDS ); -- can be used in SQLs
    END NV;
    CREATE OR REPLACE PACKAGE BODY NV AS
    -- NULL_Val set of overloaded functions - returns appropriate NULL value
    FUNCTION NULL_Val ( val_in IN DATE )
    RETURN DATE IS
    BEGIN RETURN NULL_date;
    END NULL_Val; -- for date
    FUNCTION NULL_Val ( val_in IN NUMBER )
    RETURN NUMBER IS
    BEGIN RETURN NULL_numb;
    END NULL_Val; -- for NUMBER
    FUNCTION NULL_Val ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 IS
    BEGIN RETURN NULL_str;
    END NULL_Val; -- for VARCHAR2
    -- set NVL_ function to return default NULL value if received variable
    -- is NULL or the received variable if it is not NULL
    FUNCTION NVL_ ( val_in IN DATE )
    RETURN DATE IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    FUNCTION NVL_ ( val_in IN NUMBER )
    RETURN NUMBER IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    FUNCTION NVL_ ( val_in IN VARCHAR2 )
    RETURN VARCHAR2 IS
    BEGIN RETURN NVL( val_in, NULL_Val ( val_in )); END NVL_;
    END NV;
    Can anybody help : where is a problem and what I can do in my case?
    I work in Oracle 7.3
    Thank you,
    Alex

    Hi Alex,
    I've found that on the RDBS docs:
    If you specify DEFAULT instead of a function name, the pragma applies to all functions in the package spec or object type spec (including, in the latter case, the
    system-defined constructor). You can still declare the pragma for individual functions. Such pragmas override the default pragma.
    Try using that and let me know.
    The docs says also that the declaration of the pragma for an overloaded function applies to the nearest one. You may also try to insert several declaration, one after every function declaration.
    Bye Max

  • Problem in updates  optimizer

    Hi All,
    I am facing a problem in updates  optimizer while runing through db13 but it is runing successfully at os lavel.
    Log is given below :
    18.01.2008     17:48:18     Job started
    18.01.2008     17:48:18     Step 001 started (program RSDBAJOB, variant &0000000002580, user ID JITENDRA)
    18.01.2008     17:48:18     Execute logical command BRCONNECT On host bslprtl
    18.01.2008     17:48:18     Parameters:-u / -jid STATS20080118174818 -c -f stats -t PSAPPRD
    18.01.2008     17:48:19     ld.so.1: brconnect: fatal: libclntsh.so.10.1: open failed: No such file or directory
    18.01.2008     17:48:19     Process died due to signal 9
    18.01.2008     17:48:19     Job finished
    Kindly help how to resolve this issue.....
    Regards,
    Jitendra Tiwari

    hi,
    to Jitendra:
    > I am facing a problem in updates optimizer while runing through db13 but it is runing successfully at os lavel.
    As which user have you executed the update statistics at OS level?
    Have you installed the oracle 10g instantclient as indicated on the SAP notes?
    what are your environment variables ofr the user <SID>adm?
    to kaushal:
    >The libclntsh.so.10.1 file is in the /export/home/oracle10g/lib32 directory which is specified in "Native Library Path Suffix"
    1) That would be on your system.
    2) That is the oracle client shared library, but SAP recommends to install the INSTANTCLIENT, and it will NOT be on the mentioned directory, even in YOUR system. BRCONNECT is looking for the instantclient not for the "normal" client.
    Please, check note 819829 Oracle Database 10g: Instant Client 10.x on Unix where it is explained
    to Eric:
    >if you are using Oracle 9i, then use the BR*tools made for Oracle 9.
    It is possible to use BRCONNECT 700 with Oracle 10g 9i, but I prefer to run BRCONNECT 640 with 9i as it can be complicated to set all variables.
    Edited by: Fidel Vales on Jan 18, 2008 3:04 PM

  • Problem with ORACLE database

    Hi all,
    I am facing some problem with ORACLE database while configuring one JDBC scenario in the receiver side. I have configured one JDBC scenario like FILE TO JDBC. As JDBC is at receiver side i have provided the input file with the following format ,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>employee</table>
              <access>
                    <flag>NO</flag> 
                    <ID>567</ID>
             <NAME>134</NAME>
                 </access>
         </dbTableName>
      </StatementName1>
    </root>
    But in the ORACLE database all my columns are in the uppercase.
    So when i have tried to send this input file to process through JDBC receiver side then i have faced the below error :
    FATAL ERROR: Column 'flag' does not exist in table 'employee'
    Then I have tried to check with sender side processing of JDBC adapter. By using the SQL statements as
    SELECT * FROM EMPLOYEE WHERE flag='NO'
    UPDATE EMPLOYEE SET Flag='YES'  WHERE flag='NO'
    Here it worked fine.
    Now my question is,
    If the same adapter is working when we are writing a query directly(sender side), then we must also allow case independence in the auto generated SQL part(receiver side).
    The JDBC drivers for both SQL server and Oracle, supports the same java code, for accessing the DB, irrespective of the case of the column names.
    Please clarify this doubt as soon as possible.
    Thanks,
    Soorya.

    Hi Dharmaveer,
    When I go with the following input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                    <FLAG>NO</FLAG> 
                    <ID>666</ID>
                    <NAME>SSS</NAME>
                 </access>
             </dbTableName>
      </StatementName1>
    </root>
    I will get the following query with succesfull processing.
    INSERT INTO  EMPLOYEE (FLAG, ID, NAME) VALUES (NO, 666, SSS)
    when i go with this input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                                    <flag>NO</flag> 
                                   <ID>777</ID>
                        <NAME>TTTT</NAME>
                        </access>
                   </dbTableName>
      </StatementName1>
    </root>
    Then i am facing this problem,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'EMPLOYEE' (structure 'StatementName1'): java.sql.SQLException: FATAL ERROR: Column 'flag' does not exist in table 'EMPLOYEE'
    Here I cant get any SQL statement as it is not successfull.
    I have gone through your link but it also says to modify the column in the input file which is not possible for me. Can you please help me in this regard?
    Thanks,
    Soorya

Maybe you are looking for

  • Connection Pool Failure: "No suitable driver"

    Hi, Upon server startup, I get the following result: <Nov 7, 2001 4:18:32 PM CST> <Error> <JDBC> <Cannot startup connection pool "ora cleTrufflePool" No suitable driver> I assumed it was a path problem, but in the startWebLogic.cmd script I've set th

  • Need Suggestion on handling events

    I have 2 caches . The 1st cache is populated with more than million records .The 2nd cache has a real time feed populating the cache and updating it quite frequently . I have a requirement of doing some calculation on 1st cache based on updates happe

  • Calling SAP script program in BAPI and want to display in html format

    Dear All, I am writing bapi and calling sap script program in it. I want output in html format pl suggest me same coding is working for report giving error in sapscript only. types: begin of tt_html,              html type w3html,        end of tt_ht

  • Application Mananger is stating Acrobat X PDF is 'Installed' but this is false.

    I am attempting to install Acrobat X PDF using Adobe Application Manager, but due to the status stating 'Installed' this hides the download link. Using Spotlight; I can comfortably say that Acrobat X PDF is not installed on my machine. Within the Ado

  • My selection tool doesn't select shape directly, only the path of the shape.

    When i'm working in Illustrator and I want to select a shape, it is making me click on the path of the shape instead of just inside of it. The shape does have a filling so that isn't the problem. It seems to have just recently happened as well.  I tr