problem updating the contract line using OKC_CONTRACT_PVT.update_contract_line

Hi all

I am facing a problem trying to update the end of contract line dateusing the api OKC_CONTRACT_PVT.update_contract_line. When executing the procedure that calls the api it returns the State S without error and also update the table of base that is OKC_K_LINE_B with new end date successfully.

The problem is that whenever I'm if commit the changes to the front end, application - contract line record gets endangered. What is happening to all instances of the element. Here are the settings I am passing through the api,

p_chrv_rec.ID: = < id for row in the okc_k_lines_b table >;
p_chrv_rec.end_date: = < new_end_date >;
p_chrv_rec. VALIDATE_YN: = 'N'; -I don't want the api to validate attributes

Please note that the api is correctly updating the record base table but not able to display in the application. I tried to compare the same record before and after the update to confirm if no value of the indicator is is changed due to the record does not appear in applications. but there is no such changes except the new date and the annualiazed_factor. Can is it you pls let me know no work around as if any option profile must be changed to achieve the same.

Navigation to the im application to check the update new end date of contract line is:

Oracle Install Based Agent user-> Instance element-> contracts

Thanks in advance.

Kind regards
Hespel.

Published by: user10545574 on July 8, 2010 06:56

Hello

Shouldn't you be using the public api (OKC_CONTRACT_PUB) rather than the private sector? By directly using the package private, you are probably bypassing some features that could cause problems like the one you are talking about.

Kind regards.

Tags: Oracle

Similar Questions

  • Need to check delays in update of 1000 lines using the PL/SQL procedure.

    Hi all

    I'm new to PL/SQL. I need your help to build a procedure that executes the following statement and follows the time of update of 1000 rows. This is to check the performance of the database. I need to print the timestamp of start before the update and end timestamp after update. I need to do for the 1000 lines. The statement that will be used in the procedure is:

    SELECT

    'UPDATE XXAFL_MON_FACTS_F SET TASK_WID =' | NVL (TO_CHAR (TASK_WID), 'NULL') |', EXECUTION_PLAN_WID =' | NVL (TO_CHAR (EXECUTION_PLAN_WID), 'NULL').

    ', DETAILS_WID =' | NVL (TO_CHAR (DETAILS_WID), 'NULL') |', SOURCE_WID =' | NVL (TO_CHAR (SOURCE_WID), 'NULL') |', TARGET_WID = ' | NVL (TO_CHAR (TARGET_WID), 'NULL').

    ', RUN_STATUS_WID =' | NVL (TO_CHAR (RUN_STATUS_WID), 'NULL') |', SEQ_NUM =' | NVL (TO_CHAR (SEQ_NUM), 'NULL') |', NAME = "' | NVL (TO_CHAR (NAME), 'NULL').

    "', NO_POSITION =" ' | NVL (TO_CHAR (INSTANCE_NUM), e ') | " ', INSTANCE_NAME = "' | NVL (TO_CHAR (INSTANCE_NAME), 'NULL').

    "', TYPE_CD =" ' | NVL (TO_CHAR (TYPE_CD), e ') | " ', STATUS_CD = "' | NVL (TO_CHAR (STATUS_CD), e ') | " ', START_TS =' | NVL (TO_CHAR (START_TS), 'NULL').

    ', END_TS =' | NVL (TO_CHAR (END_TS), 'NULL') |', DURATION = ' | NVL (TO_CHAR (DURATION), 'NULL') |', STATUS_DESC = "' | NVL (TO_CHAR (STATUS_DESC), 'NULL').

    "', DBCONN_NAME =" ' | NVL (TO_CHAR (DBCONN_NAME), e ') | " ', SUCESS_ROWS =' | NVL (TO_CHAR (SUCESS_ROWS), 'NULL').

    ', FAILED_ROWS =' | NVL (TO_CHAR (FAILED_ROWS), 'NULL') |', ERROR_CODE = ' | NVL (TO_CHAR (ERROR_CODE), 'NULL') |', NUM_RETRIES =' | NVL (TO_CHAR (NUM_RETRIES), 'NULL').

    ', READ_THRUPUT =' | NVL (TO_CHAR (READ_THRUPUT), 'NULL') |', LAST_UPD = ' | NVL (TO_CHAR (LAST_UPD), 'NULL') |', RUN_STEP_WID = "' | NVL (TO_CHAR (RUN_STEP_WID), 'NULL').

    "', W_INSERT_DT = ' | NVL (TO_CHAR (W_INSERT_DT), 'NULL') |', W_UPDATE_DT = ' | NVL (TO_CHAR (W_UPDATE_DT), 'NULL').

    ', START_DATE_WID =' | NVL (TO_CHAR (START_DATE_WID), 'NULL') |', END_DATE_WID = ' | NVL (TO_CHAR (END_DATE_WID), 'NULL') |', START_TIME =' |

    NVL (TO_CHAR (START_TIME), 'NULL') |', END_TIME =' | NVL (TO_CHAR (END_TIME), 'NULL'). "WHERE INTEGRATION_ID ="' | INTEGRATION_ID | " « ; »  OF XXAFL_MON_FACTS_F;

    The above query creates instructions of update that must be executed 1000 times and the time required to update the 1000 lines should be followed.

    Thanks in advance!

    Code horribly wrong!

    Why this approach?

    Dynamic SQL is almost NEVER needed in PL/SQL. And if you think it's necessary and taking into account what is displayed as being problems here, you have a 99% chance of being wrong.

    This 1% where dynamic SQL is necessary, he will WITH bind variables to create shareable SQL, decrease memory requests, decrease the likelihood of a fragmented shared reel and decrease the burning CPU cycles on hard analysis.

    An example below. Your approach is the 1st. One that is slower than the correct approach to 37 (x_!) ...

    SQL> create table t ( n number );
    
    Table created.
    
    SQL>
    SQL> var ITERATIONS number;
    SQL> exec :ITERATIONS := 100000;
    
    PL/SQL procedure successfully completed.
    
    SQL>
    SQL>
    SQL> TIMING START "INSERTs using Hard Parsing"
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  execute immediate 'insert into t values ('||i||')';
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using Hard Parsing
    Elapsed: 00:02:00.33
    SQL>
    SQL> TIMING START "INSERTs using Soft Parsing"
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  execute immediate 'insert into t values ( :1 )' using i;
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using Soft Parsing
    Elapsed: 00:00:06.06
    SQL> drop table t;
    
    Table dropped.
    
    SQL> create table t( n number );
    
    Table created.
    
    SQL>
    SQL>
    SQL> TIMING START "INSERTs using a single parse and repeatable statement handle "
    SQL> declare
      2          i      integer;
      3  begin
      4          for i in 1..:ITERATIONS
      5          loop
      6                  insert into t values ( i );
      7          end loop;
      8          commit;
      9  end;
    10  /
    
    PL/SQL procedure successfully completed.
    
    SQL> TIMING SHOW
    timing for: INSERTs using a single parse and repeatable statement handle
    Elapsed: 00:00:04.81
    SQL>
    
  • How can I update the last line in a file.

    Hello

    I need to add text that should be on the 2nd last line of a text file. I get the last line using RandomAccessFile and surroundings,
            fileHandler.seek(fileHandler.length()-1-lastLine.length()-1);
            
            fileHandler.writeUTF("last_line\r"+lastLine.replaceFirst("0x00", "0x80"));
    updated the code above, I'm trying to add the text to the last line. But instead of add, the above code simply replaces the last line.
    How to solve this problem?

    BR
    Umer

    Just by adding a single line to rewrite the entire file may not be a good idea eapscially when the file is in MBs. so that is the reason why I use RandonAccessFile,.

    You don't know that? HDs store files on several trays at the same spot on the Board, so you won't lose anything in rewriting.

    I have also an other question. In other words, how I can I know the last line is achieved using PrintWriter?

    Steps to follow:
    1. read the entire file into a string
    2. parse the string by using the String.lastIndexOf ("\n") to the last character of line break.
    3. use printwriter to write the string up to the last line (use string.substring), then give your new data, and then enter the second part

    >

    BR
    Umer

  • How can I update the random lines?

    Hi all

    Table of responses I got, there are two columns that belong to this table. This table contains 1 million rows. The response column can be numeric or text.
    create table answers(
    answer_id number primary key,
    answer varchar2(50)
    );
    My question is

    I want to update the random lines 50 to 100 which is equal to "0" (zero).

    The code below works, but I just wonder does it work properly? I mean, I want to choose these lines at random. However, it is very difficult to update randomly. Is this the best way? Do you have any suggestions?
    update answers set answer = '100' where answer_id in( 
    with
    get_ids as (select answer_id from answers where answer = '0' and rownum <= 50 order by dbms_random.value)
    select answer_id from get_ids);
    In addition, when I read the relevant discussions to the update at random, someone recommends you to use the rowid, do you think I should use rowid instead of answer_id? (answer_id is also a unique value in my table) If I use rowid will be faster?

    Thanks for your help.

    Hello

    970992 wrote:
    Hi all

    Table of responses I got, there are two columns that belong to this table. This table contains 1 million rows. The response column can be numeric or text.

    create table answers(
    answer_id number primary key,
    answer varchar2(50)
    );
    

    My question is

    I want to update the random lines 50 to 100 which is equal to "0" (zero).

    The code below works, but I just wonder does it work properly? I mean, I want to choose these lines at random. However, it is very difficult to update randomly. Is this the best way?

    Almost. You want to take the 50 lines after the ORDER BY has been applied, like this:

    update  answers
    set      answer = '100'
    where     answer_id in
    (
    with
    get_ids as (
                select    answer_id
                from      answers
                where         answer = '0'
    --            and      rownum <= 50          -- DON'T use ROWNUM here
                order by  dbms_random.value
            )
            select  answer_id
            from    get_ids
            where   rownum <= 50          -- Use ROWNUM here
    );
    

    Do you have any suggestions?

    update answers set answer = '100' where answer_id in(
    with
    get_ids as (select answer_id from answers where answer = '0' and rownum <= 50 order by dbms_random.value)
    select answer_id from get_ids);
    

    The ORDER BY clause is the last part of a query to be run, after the WHERE clause is complete. As originally posted, you were pick up 50 lines with a response = '0' and then sort them in a random order. You want to select all the lines that have answer = '0', then sort them in a random order and, finally, to choose the 50 frist in the list.

    In addition, when I read the relevant discussions to the update at random, someone recommends you to use the rowid, do you think I should use rowid instead of answer_id? (answer_id is also a unique value in my table) If I use rowid will be faster?

    Yes, using ROWID will be faster.

  • Problem update the payload using the API of Services of Workflow task

    I have problems to update the part of the payload of a task by using the API of Services of Workflow (10.1.3) using the SOAP protocol. Try to use the setPayloadAsElementmethod, it seems, that the element of the payload is deleted rather than being defined.

    The purpose of the payload is constructed as follows:

    DocumentBuilder builder is DocumentBuilderFactory.newInstance () .newDocumentBuilder ();.
    Document document = builder.newDocument ();

    Support useful item = document.createElementNS ("http://xmlns.oracle.com/bpel/workflow/task", "payload");
    Child element = document.createElementNS ("http://xmlns.oracle.com/pcbpel/test/order", "command");
    payload.appendChild (child);

    The following lines are used to retrieve and update the subject of the task:

    IWorkflowContext context = getWorkflowContext (userId);
    Task task = taskQueryService.getTaskDetailsById (context, taskId);

    task.setPayloadAsElement (payload);
    taskService.updateTask (context, task);

    However, for some reason, it seems that the payload is not set correctly and in time updateTask is called on the TaskService object, payload of the task is not available. In turn, this causes an error when the SOAP request must be encoded (since the WorkflowTask schema requires a "payload" element).

    I run the code in a debugger and noticed that the the task object has a field nodeArray, which initially contains an element of payload. After the call to setPayloadAsElement has been run, no element of the payload is present in the field of the nodeArray and the mIsPayloadChanged field has been set to true.

    Code is taken almost directly from one [example in the documentation of the API: http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28985/oracle/bpel/services/workflow/task/model/TaskType.html#setPayloadAsElement_org_w3c_dom_Element _] and I'm completely lost as what to do differently. Could there be a problem with the way the Document object is built?

    Everyone knows about similar problems? Any guidance would be appreciated.

    See you soon,.
    Emil

    P.S. I also tried to spend in an element of payload without child element that does not work either.

    Hi Emil,

    Your code looks ok. However, I use the oracle.bpel.services.common.util.XMLUtil object to generate the document object.

    Document document = XMLUtil.createDocument ();

    was soon Nicolas

  • Problem update the eponymic information from a mixed CD using Windows Media Player.

    (Last?) version of media player, the I installed (11.0.5721.5280) does not seem to have the same functionality as the previous version I was using (10.00.00.4081) when it comes during the extraction of information albumn and song from the internet for a mixed CD.  I mean a mixed CD a CD I burned a number of other CD.  I want back the song, albumn, information etc. for each track, but Media Player changes the information for all of the CD.  One response to this problem for about a year ago suggested highlighting the track (s) and right click for information albumn, how you were presented with an option, one of them being that the tracks came different albumns.  It worked in the old version of Media Player, but I can't make it work in the new version.  Should I have a wrong setting option?  Can you explain how to accomplish what I'm trying to do with the latest version of Media Player?  I'm actually running Windows XP if that makes a difference.

    Hello

    You can add information about the media for the items in the media library using different methods.

    Refer to this article for help:
    http://Windows.Microsoft.com/pt-PT/Windows-XP/help/Windows-Media-Player/11/album-info

    Media Player automatically updated media information, but you can prevent the media information to be overwritten by following these steps:
    a. click the arrow below the library tab, and then click Other Options.

     

    b. updates toAutomatic media information for the files area, verify that theAdd missing informationoption is selected. (It is selected by default).

    This will prevent the player to accidentally overwrite the information in appropriate media that you have added with the incorrect media information that might be available
    in the database online.

    Note that the Add missing information option will not prevent the player to overwrite your changes if you use the Find Album information command
    to manually download the media information from the online database.

    Kind regards
    Afzal Taher - Microsoft technical support.
    Visit our
    Microsoft answers Feedback Forum and tell us what you think.

  • Problem to update the views by using templates

    Hi all

    I'm trying to implement the model of presentation using Cairngorm in my flex application. I have a problem to update the views using the presentation model.

    Here's what I do.

    1. I am trying to create a login screen.
    2. To store the current of the user logged in ModelLocator, I created a "currentUser" property
    3. My Member information screen (the screen is displayed after successful login) displays the username like this.
      • < mx:Label label = "{memberUI.fullname}" / > "
    4. I created a template, memberUI for Member information screen. It has a property called "name", which stores the full name of the current user.
    5. I created a method in the presentation model called setFullname() which does the work of definition of the fullname property. This function is called in the answering machine for the connection event.

         public function setFullname():void {
              var appModel:AppModelLocator = AppModelLocator.getInstance();
              appModel.currentUser = event.result as UserVO;
              var uim:memberUI = new memberUI();
              uim.fullname = appModel.currentUser.firstname + " " + appModel.currentUser.lastname;
         }
    

    But even when I was able to login, I am unable to display the full name in the view. Why is this happening?

    Can someone tell me what I am doing wrong?

    Thanks and greetings

    ShiVik

    I've seen two approaches to this within the PM + Cairngorm architectures.

    (1) pass a reference of your MP in your Cairngorm event to allow the command / responder call Update with the results of a service. It's an approach simple but tie your orders and the speakers to your PM class, which makes them less versatile.

    (2) have your PM record reminders with your Cairngorm event to allow results to be returned to your MP. Reminders may take the form of event, function references listeners or an object that implements IResponder.

    Unfortunately, I'm not aware of many examples online for this, but the following link to get (2) passing references to functions:

    http://www.allenmanning.com/?p=31

  • How install Flash Player via the command line using sudo to install without being invited for the dialog "Preferences updated Flash Player"? Is there a really quiet option, no prompt?

    Since the administration guide, I execute the following commands on a remote host to install flash player. However, the command stalls waiting for "Update Flash Player Preferences" dialog box to decide. I would like to run this command on a remote host and have to install without any warning. Are the other arguments to the "'Adobe Flash Player install Manager" another that '-install ', something that is really quiet? "


    Silent installation of Flash Player (using Installer .app bundle)

    To silently install the Flash Player 11.3 or later on Mac, follow these steps:

    1 extract the bundle to install Adobe Flash Player (install Adobe Flash Player.app) of the. DMG file.

    2 open a terminal window and change to the directory where the .app file is saved.

    For example, if the .app file is saved to the desktop of the current user, type:

    CD ~/Desktop

    3. run the installation program contained in the .app file using the following command:

    sudo. / Install Adobe Flash Player.app/Contents/MacOS/Adobe Flash Player install Manager.

    install

    4. type the password to continue the installation.


    Thank you.

    Hello

    You experience this behavior because you use the installer online, download and install Flash Player silently in background, but requires also the user to provide the option to update.  Setup Online is not intended for the distribution of the company.  Distribute Flash Player within your organization, you will need Flash Player (usually free) licenses for distribution.  Apply for a license, go to Adobe Flash Player Distribution. Adobe and complete and submit the form.  After application, you will receive an email with a link to download installers for the distribution of the company.  This includes installers .app both .pkg you can use.  None of these prompts to update the options during installation in silent mode.

    I apologize for not noticing this before, however, I assume that you did not use the installer online since you were distributing Flash Player within your organization.

    --

    Maria

  • problems with the search by using the CIS application.

    Hello

    We are able to connect to the server of Stellent of our J2EE application using our java code CIS.
    while performing research sometimes we get the error and sometimes it works fine (no change in the code)
    We use the socket to SCS connection type to connect via adapterconfig.xml
    Server details:

    CS: 10gR 3

    Please let me know the reason why he acts differently and on what basis we receive this error is also not known. :(

    ... On our J2EE server console, we get the following:

    2009-03-13 14:37:08, web-0 420, WARN (com.stellent.cis.server.api.scs.protoco
    l.impl.HDAProtocol) - could not find the end of header marker! ()
    2009-03-13 14:37:08, web-0 420, WARN (com.stellent.cis.server.api.scs.protoco
    l.impl.HDAProtocol) - did not read all the headers entry, attributing the type EXERCISE
    WN_TYPE

    -------------------------------------------------------
    Of the CommandException stack trace:

    com.stellent.cis.client.api.common.CreateAPIObjectException: error reading the answer of the content server: com.stellent.cis.server.filetransfer.SCSContentTransferStream: could not initialize class com.stellent.cis.client.api.scs.search.impl.SCSSearchResponse with the object of type com.stellent.cis.server.filetransfer.SCSContentTransferStream
    at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:62)
    at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
    at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
    at com.stellent.cis.client.api.scs.search.impl.SCSSearchAPI.search(SCSSearchAPI.java:92)
    at com.pg.emfg.ewps.stellent.service.impl.StellentDMSServiceImpl.searchString(StellentDMSServiceImpl.java:348)
    at jrun__search2ejspb._jspService(jrun__search2ejspb.java:124)
    at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:106)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:348)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:451)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Caused by: com.stellent.cis.client.api.common.CreateAPIObjectException: error reading the answer of the content server: com.stellent.cis.server.filetransfer.SCSContentTransferStream: could not initialize class com.stellent.cis.client.api.scs.search.impl.SCSSearchResponse with the object of type com.stellent.cis.server.filetransfer.SCSContentTransferStream
    at com.stellent.cis.client.api.scs.impl.SCSObject.intialize(SCSObject.java:130)
    at com.stellent.cis.client.api.scs.impl.SCSServerBinder.intialize(SCSServerBinder.java:91)
    at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory._initializeObject(CISAPIObjectFactory.java:250)
    at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.createObject(CISAPIObjectFactory.java:181)
    at com.stellent.cis.server.api.scs.impl.SCSCommand.prepareResponse(SCSCommand.java:300)
    at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:225)
    at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
    ... 16 more

    Thanks in advance

    Prasad.V

    Hi Prasad,

    The above error is thrown when the socket with Content Server connection is terminated before that Content Server is able to send a full response. Most often, this occurs when the connectionTimeout for the CIS adapter is set to a shorter time than necessary for the Content Server service call ends.
    Note: The error message above also can be lifted during network downtime. Before proceeding with the solution below, you must make sure that there is no problem of network between the CIS Forum and the content server environment.

    -To implement the solution, please perform the following steps:
    1. open a browser and go to the page of information system Audit in the Content Server Administration section.

    2. in the Sections Tracing information section, select system, requestaudit, searchcache searchquery for the text box active Sections.

    3. make sure the Full Verbose Tracing above than the active Sections text box is checked.

    4. click the update button.

    5. at the top of the System Audit information page, click the link View Server output.

    6. on the page out of the server, click the clear button. Leave this window open.

    7. through the application of the CIS, submit the longest race of service or who causes the above error.

    8 return to the window of the browser in step 6, and then click the Refresh button.

    9 review the requestaudit tracing messages and find the service call that takes the most time. In most cases, this will be a GET_SEARCH_RESULTS call, other calls for service can also take some time. Below is an example of line tracing requestaudit showing a second service call 45.536.

    02.09 requestaudit 11:07:54.523 LONG_SEARCH_CUSTOM_SERVICE IdcServerThread-30944 [dUser = sysadmin] [QueryText = dDocTitle + % 3csubstring % 3F + % 60test % 60] [StatusMessage = success] 45.536 (dry)

    10 once the longest running service call is identified, add a reasonable buffer (e.g. 10-15 seconds) to take account of the additional load on the server. This amount of time of the call of service and the amount of memory buffer will be the value used for the connectionTimeout value.

    11. in the adapterconfig.xml, the node connectionTimeout for the CIS adapter to the value calculated in step 10. Please note that the value for the connectionTimeout configuration is specified in milliseconds. For example, if calling the function running longer, more buffer memory is about 60 seconds, then the value of connectionTimout can be assigned to 60000.

    12 restart the CIS Forum and the test.

    Hope this helps

    Thank you
    Srinath

  • Laptop G60-549DX (with OS Windows7-problem with the microphone when using Skype)

    Just bought a laptop G-60-549DX. His mic is BAD. Voice of cuts to when using Skype. Help!

    I was able to solve the problem with the microphone on the G60-549DX when using Skype.  I spend up to 6-8 hours, talk with convenience stores of HP.  They were very friendly and helpful.  The same help a friend.  My friend downloaded updated bios and micro drivers.  HP technician asked me to turn off the laptop, then remove the battery, unplug the power cord. With battery removed and stop, I pressed the market / off power button for a good minute evacuate remaining power into the computer. When I restarted the laptop I micro worked. I did a little more fine-tuning of the installation of the microphone.  Now, it works well on Skype and sound recorder. I won't take this back within the 14 days return policy.  It's a good computer I can say.  The technicians were all very friendly and helpful.  They called me several times to check to see if it still works OK! They are HUGE!  They want to help with any other question, I have perhaps with the computer.  Thank you very much for the help. Everyone was SO helpful.

  • MERGE records do not update the existing line

    Hi all

    I need your help guys, I am facing a problem with the discovery of the program example here merge statement.

    I have table TEST1 with C1 and C2 are the columns C1, we have a primary key.

    create table test1 (number (5) c1, c2 number (5));

    ALTER table test1 add a primary key (c1);

    MERGE INTO test2 target

    USING (SELECT 1 c1, c2 2)

    OF the double

    UNION ALL

    SELECT 2, 2

    OF the double

    UNION ALL

    SELECT 2, 2

    OF the double

    UNION ALL

    SELECT 2, 1

    SOURCE FROM dual)

    WE (target.c1 = source.c1)

    WHEN MATCHED THEN

    Updated the VALUE of c2 = source.c2

    WHEN NOT MATCHED THEN

    INSERT (c1, c2) VALUES (source.c1, source.c2);

    When we execute the merge statement I am faced with unique constraint violation.

    Can any one help for solve the problem?

    Thank you all...

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/statements_9016.htm#SQLRF01606 States

    MERGEis a deterministic statement. You cannot update the same row in the target table multiple times in the same MERGE statement.

    Concerning

    Etbin

  • 8 casual Windows no noise problems. The camera is used by another application.

    Hello
    I had sound problems with the speakers on an HP Ultrabook running Windows 8. Sometimes the laptop speakers stop working. When this happens, I go to control panel > sound, speakers (one set to select), select Configuration and Test. After selecting the Test, I get the message device in use. The camera is used by another application. Please close all units are audio playback on this device, and then try again. I went to the properties for the speakers, the Advanced tab and unchecked option "allow applications to take exclusive control of this device." I also used the term sndvol to try to determine the application, but it only shows the device: speakers / HP and Applications: System sounds.

    The only way I could get the speakers to work is to restart or turn off and turn on the pilot for the IDT High Definition Audio CODEC. Does anyone know how to determine the application causing the problem? Thanks in advance for your help.

    Gary

    On the forum of the community of HP HP technician found that uninstalling Microsoft update KB2962407 should solve the problem.  This update is a patch that says "shortened battery life when an inactive audio device is not turned off on a computer running Windows.  I installed this update on June 19.  I have no updates installed July, so uninstall updates July cannot solve the problem.

  • AF:dialog cancel the problem on the new line of VO

    With the help of 11.1.1.4.

    I have an af:popup that contains an af:dialog which itself contains entrable components mapped to attributes of VO, the first being an af:selectOneChoice (list of the part of the body). The list of the part of the body draws from a LOV configuration on the underlying VO attribute. LOV rowset is initialized in the model of the line layer whenever the popup is called to make sure that it contains all the allowed values.

    Everything works fine except when:

    (a) user adds a new row to the underlying VO and invokes the popup to initialize the values of the new line, and
    (b) the user selects a value in a list of the part of the body, and
    (c) user chooses to cancel the dialog box

    The PopupCanceledEvent triggers a Delete on the underlying VO in the case above operation, to remove the new line has been added.

    It all works very well, but if the dialog box is now called either for another new line or an existing line, the list of the part of the body indicates the value that has been selected to b) above and not on the value as it is in line with model (this has been verified). If I add and remove line using the Delete operation out of an icon above the table of VO (outside), then no problem. The problem is not correct itself unless / until the user goes in the new dialog box and completes the process of adding line by pressing the button of the OK dialog box. User can then delete this new line using the icon and then edit and add all operations work fine again.

    All about the model seems very well, the problem seems to be that the user interface components in the dialog box are not properly initialize values which I know to be in the model WHEN AND ONLY WHEN the dialog box was canceled on the addition of a new line (cancellation of a change does not cause the problem). I tried various RPP requests to try to synchronize the items with related values, but not luck.

    Does anyone have any suggestions as to what might be going on here?

    Thank you

    Check this box:
    http://www.adftips.com/2010/10/ADF-UI-resetting-or-clearing-form.html

    Thank you
    Nini

  • Problem update the content item...

    Hello

    When I'm trying to update the content item, I get following error.

    Cannot run the service UPDATE_DOCINFO_BYFORM and populateMissingDocumentValues function.
    (System error: service 'populateMissingDocumentValues' method is not set.).

    Does anyone know how to fix this error?

    Is - this Stellent 7.5.1 on Unix platform? Maybe the problems are related to the new bug 7635248.

    When you use the service CHECKIN_UNIVERSAL and 751 components update (build 77) and ZipRenditionManagement 06_12_18 (build 30) are enabled, the following error occurs.
    System error: the method of service 'populateMissingDocumentValues' is undefined. This error is caused by a problem in the ZipRenditionManagement component.
    Installation of the component of the last CS10gR35UpdateBundle ZipRenditionManagement solve the problem.

    Kind regards
    Boris

  • Update the existing line in Java

    Hello

    I'm working on a page of user information in which a manager can view the details of a selected user (name, password, id, etc.) My original installation of the page was just a form view object that the Manager could replace any piece of information, and then click a button of validation to make changes to the table in the database. I need to implement an encoder of password, however. I also have a page that uses a method of the App Module which can encode passwords:

    ...
    EntityDefImpl AppUsersDef =
    ApplicationUsersImpl.getDefinitionObject ();
    ApplicationUsersImpl = newAppUsers
    (ApplicationUsersImpl) AppUsersDef.createInstance2 (getDBTransaction (),
    (null);

    DBLoginModuleSHA1Encoder encoder = new DBLoginModuleSHA1Encoder();
    String hash = encoder.getKeyDigestString (passwd, "");

    newAppUsers.setUsername (username);
    newAppUsers.setPasswd (hash);
    ...

    This works very well for the insertion of a new user, is it possible that I can do something similar, either on the back of the page or a new App Module method that will get the line user, I check and update the information rather than creating a new line? Thanks in advance.

    Edit: I also tried to do a. createRow() instead of. getCurrentRow() and it successfully the inserted row in the database, so I know I have to get the correct VO.

    Published by: \Brian/ on September 19, 2008 12:03

    Hi Brian

    Try these codes:

    FacesContext fc = FacesContext.getCurrentInstance ();
    ValueBinding vb = fc.getApplication ().createValueBinding("#{data}");
    BindingContext bc = (BindingContext) vb.getValue (CF);
    DC DCDataControl = bc.findDataControl("AppModuleDataControl");
    ApplicationModule am = (ApplicationModule) dc.getDataProvider ();
    Service AppModuleImpl = (AppModuleImpl) am;.

    See ViewObject = service.findViewObject("EditApplicationUsersView1");

    While (view.hasNext ()) {}
    View.Next ();
    view.getCurrentRow () .setAttribute (user UserValue);
    view.getCurrentRow () .setAttribute (passwd, PassValue);
    }

    Good luck

Maybe you are looking for