Persistant ORA-01461error on insert through db link in processes

I have noted this as a frequent subject on the forum, but not found a definitive solution. I have an update going through a db link. Even though the field I'm updating with and the field being updated are both VARCHAR2(150), I get the error...
ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from APPS
I noted that on query through the dblink I would get an ORA-01460 error, but by joining dual to the table it would bypass the error. I can't, however, join dual into my update statement.
Any assistance is greatly appreciated.

There is confusion as to what the problem is, and Oracles solution may or may not work. It appears to be dependent on the platform your running. For Oracle DB 9.2.0.6 the fix for this problem has been applied, however on a HP platform we still get the error. In the tar I raised the db group did not believe its there problem since the fix was applied and it was sent back to the htmldb which then stated they will resolve the problem in 2.1. So you can raise a tar and they can create a patch for your environment but be aware it may or may not work.

Similar Messages

  • Insert through DB Link

    Hi all,
    I have two Databases(primary and secondary) on below platform -
    windows 2003 server,
    Oracle 10g release 1.2
    I am trying to perform insertion in secondary database thru a stored procedure, which i defined in primary db as -
    CREATE OR REPLACE PROCEDURE CAP(CT_id IN NUMBER)IS
    Begin
    INSERT INTO table1@dblink1
    select * from table1 where id=CT_id;
    COMMIT;
    END;
    where i have table table1 with same structure in both DBs and created a link dblink1 on secondary DB.
    Now, I want to perform some condition based insertion in table1 of secondary DB.
    when i try to execute the above procedure, it is throwing the following errors -
    ERROR at line 1:
    ORA-02049: timeout: distributed transaction waiting for lock
    ORA-02063: preceding line from dblink1
    ORA-06512: at "CAP", line 4
    ORA-06512: at line 1
    Hope the above info will help you to focus on this issue.
    Thanks

    Verify the lock on the destination host, through of the query below:
    select l.* , o.owner, o.object_name, o.object_type
    from v$locked_object l, dba_objects o
    where o.object_id = l.OBJECT_ID

  • ORA-01461 error inserting over DB Link

    We receive an ORA-01461 error (can bind a LONG value only for insert into a LONG column) when using HTMLDB to insert into a remote table over a database link. The remote table has two VARCHAR2 and one NUMBER columns - it does not contain a LONG column. Inserting via SQL*Plus is OK.
    Any ideas anyone?
    Barry

    Anyone found a solution to this. I'm getting the same error. HTMLDB 1.6
    I have TableA and TableB in remote db1. TableA=Master, TableB=Detail. Both tables have single column PK generated by a trigger.
    In db2 I created a schema with viewA on TableA@db1 and viewB etc.
    HTMLDB app accesses views.
    I've tried to create a tabular form page to insert update delete into viewB but can only delete. Insert & update produces error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from ORIXREPORTS.ORIXNZ.CO.NZ, update "IT_HTMLDB"."SCHEDULED_REPORT_PARAMETERS" set "SCHEDULED_REPORT_PARAMETER_ID" = :b1, "SCHEDULED_REPORT_ID" = :b2, "NAME" = :b3, "VALUE" = :b4, "VALUE_TYPE" = :b5 where "SCHEDULED_REPORT_PARAMETER_ID" = :p_pk_col
    Have also tried a Master Detail page with similar problems.
    I have only managed to get this to work by using the "Form on a Table with Report, 2 Pages" page creation option and then specifiying that Detail is editied in separate page. However this means deletes & updates are slow for the user as cannot do multi updates and deletes etc.
    Any help appreciated.
    Cheers
    Ian

  • Insert data into linked table

    Problem when you try to insert data into linked table.
    I made the view with all linked table columns (field1 is PK, field2, field3......) plus new primary key field "field1_PK" for tabular form wizard primary key field definition. After submit data on tabular form appears:
    "Error in mru internal routine:ORA-2001:Error in MRU: row=1,ORA-00957: duplicate column name ORA-02063:preciding line from "SHEMA_NAME", insert into "field1","field1_PK","field3",........) values (:b1,:b2,:b3.........)
    Error Unable to process update.
    Is it bug too?

    Hi,
    Have you tried to do your updates using an INSTEAD OF TRIGGER on your view? An INSTEAD OF TRIGGER allows you to update a non-updateable view.
    The following book contains an excellent introduction to this topic.
    "Oracle PL/SQL for Dummies"
    written by Rosenblum and Dorsey
    published by Wiley Publishing Inc.
    The following book is also excellant reference that deals with INSTEAD OF TRIGGERS.
    "Oracle PL/SQL programming
    written by Steven Feuerstein
    published by O'Reilly
    Hope this helps.
    Cheers,
    Patrick Cimolini

  • Accessing function through DB link, giving error.

    Hi All,
    I am using Oracle 10g. I am having a function which is being called in a 'Select' query. And with in the function i have done exception handling, in which in case of exception, i am inserting the records into one table and its is 'pragma automnomous'. So its working fine , when i called this function through the 'Select' query from my own DB. but when i called the function from another DB through DB link, its giving me error stating , DML is not possible in function.
    can you please suggest some other alternatives or hoe to handle this situation?

    930254 wrote:
    Hi All,
    I am using Oracle 10g. I am having a function which is being called in a 'Select' query. And with in the function i have done exception handling, in which in case of exception, i am inserting the records into one table and its is 'pragma automnomous'. So its working fine , when i called this function through the 'Select' query from my own DB. but when i called the function from another DB through DB link, its giving me error stating , DML is not possible in function.
    can you please suggest some other alternatives or hoe to handle this situation?You have tables. We don't.
    You have data. We don't.
    You have code. We don't.
    You have error. We don't.
    You have mystery. We have no clues.
    You're On Your Own (YOYO!)

  • Insert an email link

    Hi,
    how may I insert an email link in an adobe rome document ? the "mailto:..." command doesn't work...
    thanks.

    No, there's no special feature for mailing options.
    A few questions :
    - When you say it doesn't work, you mean that, when you click on the link, your default email client doesn't automatically start ? It should.
    - Do you write "mailto: ..." with quoting marks ? Quoting marks are useless.
    - The problem obviously appears when linking a part of the text (the Link option is available only with parts of text). Have you ever tried with a whole text area ? Through Event menu.
    - Which Rome do you use ? Online or local version ?
    - The problem appears in the preview, the output file or both ?
    Try to upload your site and then check your mailing button. Someone already posted about some URL rewriting by Rome within preview and local files, and the problem has been resolved with site online publishing.
    Good luck

  • ORA-26004: Tables loaded through the direct path may not be clustered

    hi ,
    I im planning to upload data to IOT table using sqlldr. but end with error.
    ORA-26004: Tables loaded through the direct path may not be clustered.
    how to resolve this. as this table going to insert high voluem data and to speed up the table quary we created IOT table.
    table create syntax:
    create CLUSTER C_HUA
    B_number number(10),
    A_number number(10),     
    ins_date date,
    account number(10),
    C_number number(10))
    SQL> CREATE TABLE HUA
    A_number number(10),
    B_number number(10),
    ins_date date,
    account number(10),
    C_number number(10)
    CLUSTER C_HUA
    B_number,
    A_number,
    ins_date,
    account,
    C_number);
    SQL> CREATE INDEX HUA_index1 on CLUSTER C_HUA;
    Pl help to resolve this.
    thanks
    ashwan

    You have to use conventional path. DIRECT=false.
    Restrictions on Using Direct Path Loads
    The following conditions must be satisfied for you to use the direct path load method:
    * Tables are not clustered.
    * Tables to be loaded do not have any active transactions pending.
    * Loading a parent table together with a child Table
    * Loading BFILE columns

  • Commit through databse link

    Hi all,
    10.2.0.1
    RHEL4
    I am inserting some data to a remote location through database link.
    SQL>insert into tbl1@dblnk select * from tbl1;
    How should i commit?
    How would commit take effect?

    Commit as normal. Oracle will take care of it using two-phase commit.
    For more information see:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_txns.htm#g1013136
    Message was edited by:
    Anvar Huseynov
    added the link

  • [Firefox + GNOME 3] Problem: Automatic "Tabbing" through all links

    Dear all,
    let me first say 'hi': My name is Bernhard, and I am new here in the forums as well as quite new to arch.
    I had arch on my htpc installed, and recently made the transition to arch on my desktop PC as well.
    Both systems run GNOME3 as a WM.
    However, on the Desktop I have a problem with firefox which seems to appear only under GNOME 3 (it does not, for instance, appear under XFCE4).
    My Problem: I have this very strange Bug, which drives me mad, as it renders Firefox and its derivatives completely unusable:
    Whenever I open a website, the "main window" get's focus (i.e. the address bar loses focus) and Firefox starts "tabbing" / "scrolling" through the links, in the very same way as if I have the TAB key pressed.
    My current version of FF is 27.0.1 from the arch repos.
    I have downgraded FF, used older, newer and alternate versions, disabled all add-ons but the problem still persists.
    I have purged it and removed all profiles, created new profiles etc. but nothing helps.
    When I start FF from the console, I get the following errors:
    (process:26719): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    (firefox:26719): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
    (firefox:26719): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
    (firefox:26719): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
    (firefox:26719): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
    Sometimes FF also gets unresponsive, with the console output repeating the following errors all over again:
    ** (firefox:24891): CRITICAL **: atk_object_get_parent: assertion 'ATK_IS_OBJECT (accessible)' failed
    ** (firefox:24891): CRITICAL **: atk_object_get_index_in_parent: assertion 'ATK_OBJECT (accessible)' failed
    ** (firefox:24891): CRITICAL **: atk_object_get_n_accessible_children: assertion 'ATK_IS_OBJECT (accessible)' failed
    The problem does not appear for any other application.
    Do you have any idea what could cause that behaviour?
    Is there a way to see which keystrokes are being sent to FF, such that I can see if 'something' is pressing TAB all the time?
    Do you have any more ideas on how I could gather more information to what is actually happening?
    If I can provide any more info, let me know.
    Regards,
    Bernhard
    Last edited by lithiumds (2014-04-01 20:19:06)

    I've searched for the errors/ warnings you got , lots of people get them also.
    Haven't found others that get behaviour like you though.
    I have downgraded FF, used older, newer and alternate versions, disabled all add-ons but the problem still persists.
    I have purged it and removed all profiles, created new profiles etc. but nothing helps.
    I assume you also tried starting firefox in safe mode ?
    It think it is worth it to create a fresh testuser on your system, to make sure both firefox and gnome run with their default settings and see if that changes anything.
    The latest release of gnome, 3.12 , is available in [gnome-unstable] repo now and you could try it.
    Given that you are working on a thesis however, i'm inclined to advise to wait trying that until you got that taken care of.
    Last edited by Lone_Wolf (2014-04-02 10:46:12)

  • Problem with data selection when inserted through textarea

    hi there,
    i am inserting data from textarea into a database field
    and then displaying the inserted data it is displaying properly but as a continuous string
    i want to display it as it was inserted with new line
    like if i have inserted through <textarea>
    hello
    all
    there
    it is displaying like
    hello all there
    i want to display as it was
    i have three pages as given below and my database field is varchar (using oracle 9i)
    1.first.html
    <html>
    <body>
    <form method="post" action="insert.jsp">
    <textarea name="text">
    </textarea>
    <input type="submit"></input>
    </form>
    </body>
    </html>2.insert.jsp
    <%@ page import = "java.io.*"%>
    <%@ page import="java.sql.*" %>
    <%!
    String txt;
    %>
    <%
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con =DriverManager.getConnection("jdbc:odbc:ods","scott","tiger");
         txt= request.getParameter("text");
         out.println(txt);
         PreparedStatement ps = con.prepareStatement("insert into text values('"+txt+"')");
         ps.executeUpdate();
         out.println("values inserted successfully");
    %>3.display.jsp
    <%@ page import = "java.io.*"%>
    <%@ page import="java.sql.*" %>
    <%
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con =DriverManager.getConnection("jdbc:odbc:ods","scott","tiger");
         PreparedStatement ps = con.prepareStatement("select * from text");
         ResultSet rs=ps.executeQuery();
         while(rs.next())
         out.println(rs.getString(1));
    %>thanx & regards
    sweety

    This is a feature of HTML. Its the way it is supposed to work.
    If you view source on your generated jsp page, you should see the html exactly mirrors what you typed in the text area
    If you don't want it acting this way then either
    1 - put it in a text area again
    2 - put <pre> tags around what you want do display unformatted
    or
    3 - Change all new lines to <br> in the html
    This is what you want in the html:
    <pre>
    Mulitple
      line
    Data
    </pre>

  • How to display the one BSP View page (not a start page)Through URL link..

    Hi Sir/Madam,
                 I want to open one BSP view page through URL link...
    Let me Explain clearly..
                I have an Z application ZHRRCF_APPROVAL..In this application approve.bsp file i have added som more Fields..and Finally I am going to click ApproVe Buton /Reject Button.When i click the reject button the the items are rejected.Its working fine.....
              My Requirement is :
                   1. I want to display the approval page directly when i click the URL link from mail box.--i am getting this .. No issues..(Got the URL link from function module)
                   2. After opening the approval page when i click URL link, when i click the reject button-- i am getting the error "The following Error Text was processed in the system GR2."Access via NULL object reference not possible"
                   3. How to proceed the this URL link without error .. the URL link is
    https://abd00093.de.abb.com:8200/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zhrrcf_approval/application.bsp?objid=50003421&otype=NB&plvar=01&requestdate=20090121&requestedRsnCode=01&requestedstatus=1&requester=USRECRUITER1&SAPWFCBURL=https%3a%2f%2fabd00093%2ede%2eabb%2ecom%3a0000000000008200%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000018491%26_saptask%3dTS51807979%26_saplogsys%3dGR2CLNT200%26_sapuname%3dLINEMANAGER%26_saplangu%3dE%26sap-client%3d200
    ( I got this URL directly using my own function module.. In this function Module i was not getting the SAPGUID -- the error is because of that i am not sure..)How to get this sapguid dynamically..
                    Please guide me to proceed this req asap..
    I am waiting for your reply ....Please
    Thanks and Regards
    Mohan,P

    Please have BPEL loggers both at domain and system level to DEBUG mode. Set all loggers to DEBUG as you are interested to see the entire sequence flow..however, some loggers give you unnecessary info ;/ apart from cube, activation, delivery, dispatch, persistence.
    Added to this, you might want to try SOAPUI, Fiddler, HTTP Analyzer.

  • ORA-01400: cannot insert NULL into

    hi to all
    when i try to insert into a table i get an error message like
    ORA-01400: cannot insert NULL into
    but if i see in the session status i see that the value of the element that will be inserted on the column is not null
    and i haven't make mistakes on my insert query so how can it be possible
    can you help me please

    What is the source used and the source type of your columns having trouble? Is it all not nullable columns on a table that are having problems? Are other columns inserting fine?
    Can you post up on apex.oracle.com your app?
    Do you want to send me your app and I can install it and look at the page in question?

  • I am getting ORA-20001: Seed insert error while seed translatable text step

    Hi,
    I am getting this error while English to Arabic translation in the Seed translatable text step
    ORA-20001: Seed insert error: WWV_FLOW_ICON_BAR.ICON_IMAGE_ALT ORA-00001: unique constraint (APEX_030200.WWV_FLOW_TRANSLATABLE_TEXT_PK) violated
    Can i get any suggetion from your side.
    Thanks,
    nar

    Did you ever figure this out. Because I also have this error.

  • OBIEE 11g - APEX Integration through Action links

    Hi All,
    We are trying to achieve SSO between OBI and APEX. We got this working by the below process.
    1. Integrate OBI domain with AD
    2. Integrate APEX with the same AD ( Perform standalone configuration)
    3. Create Action Link in OBI pointing to APEX form
    4. Accessing Action Link does not prompt the credentials
    5. APEX form opens up in a separate tab in browser
    We checked this by logging into OBI using an AD ID and jumping to APEX from there through action link. However the user context is not getting carried forward to APEX. For example if we login as "d123456" AD user in OBI, when we access APEX form the user name is appearing as "NO BODY" at the top right corner. We have a use case where in we want to capture the ID who is accessing the APEX form. The field is updated as NOBODY.
    But if we login to APEX stand alone URL, then the actual AD user name can be seen on APEX pages.
    Can some one help on how to carry forward the user context from OBI to APEX.
    Thanks in advance.

    Hi,
    I'm rearching the integration between Siebel Sales 8.1 and and obiee 11g, can you please share how to do the integration between the two? Some issue we can discuss together.
    Any docs or points would be very helpful.
    Thanks.

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

Maybe you are looking for

  • The code generated by EJBC in Weblogic 5.1 is wrong!

    I have a container managed bean that has a primary key named productLicenseId as follows: public class ProductLicenseBean implements EntityBean public int productLicenseId; I had this code running in Weblogic 4.5.1 and converted it to EJB 1.1 (now I

  • Multiple DVD's ?? Please help.

    Hi All, thanks to the folks that helped me with the last video issue. I have a projetor that needs to play multiple videos. I have exported from Adobe Premiere Pro to 3 DVDs in separate target folders on the HDD. I have inserted 3 media members (DVDs

  • Numbering Series in XL Reporter

    Hi Experts, Can anyone suggest/provide a guide on how to create such a report. I'm trying to design a report from XL Reporter which will display Items from specific vendor transacted in AR Invoice and Credit Memo and I can choose specific numbering s

  • Cost Price on AR Invoice

    Is There any idea if our business process as follow; Item cost key in on AR Invoice ( SAP Lock Item Cost-Non Active). So We will find out the cost while we make an invoice..Such consignment with fluctuate cost price.

  • Please help...PhotoshopCS4 installation errors

    Hey everyone, I am taking a computer imaging class using photoshop.  Since the class started two weeks ago, I have been using the trial version while waiting on my software purchase to arrive in the mail.  Today I tried installing.   I first uninstal