Order insertion of records using forms
Hello(forms6i)
I datablock, without querying the database records, I enter some values and try to save.
In case if one of the input files already exists in the database, I should stop the insertion and the cursor must be on the document that repeats.
I tried on_insert trigger as
declare
alno number;
cnt number;
begin
select count(fname||','||lname) into cnt
from teacher_dup where
fname||','||lname =:fname||','||:lname;
if cnt >0 then
set_alert_property('alert1',alert_message_text,'The record already exists in the database');
alno := show_alert('alert1');
rollback;
raise form_trigger_failure;
else
INSERT_RECORD;
-- :fname:=null;:lname:=null;:tid:=null;
end if;
end;
Work of Jose, but shows the error message likeROLLBACK_NR-INSERT Trigger small FRM-40737 illegal procedure.
What I do is correct?
Also if a 3-disc set, user tries to insert
The only record is violating primary key constraints, then I don't want to save documents in the table.
But the above procedure saves the other records, except the one that violates.
How can I control that?
Thank you
Adkins,
Try the code in the trigger PRE_INSERT ON_INSERT trigger INSTEAD of below.
declare
alno number;
cnt number;
begin
select count(fname||','||lname) into cnt
from teacher_dup where
fname||','||lname =:fname||','||:lname;
if cnt >0 then
set_alert_property('alert1',alert_message_text,'The record already exists in the database');
alno := show_alert('alert1');
raise form_trigger_failure;
end if;
end;
I hope this helps.
Kind regards
Manu.
Tags: Oracle Development
Similar Questions
-
Insert multiple record Oracle forms 6i/9i / 10g
Hello
How can I insert multiple record using a tabular view as an oracle.
what I use for loop?
can someone help me? I have kindda stuck in this problem...
Scenario:
I have 5 display of last_name text_item and I put 4 names on it...
If I use Insert, it only get the 4th name I drove...
question:
How can I put them all together?I build the block manually.
Not a very good idea, I think, but if you really want to do it this way, you will need to loop through the records:
first_record; <
> loop insert into .... exit when :system.last_record = 'TRUE'; next_record; end loop record_loop; -
Insert multiple record Oracle forms 6i
Hi all
I have a single column of field Field1, button, in the form TEXT_ITEM1.
After giving the sales order number in Field1, when should press us the button, the items (item_code) shown in the TEXT_ITEM1.
I went through the discussion Insert several Oracle forms 6i, 9i/10 g recordbut did not exactly how to write the loop button when button pressed.
first_record;
<<record_loop>>
loop
insert into ....
exit when :system.last_record = 'TRUE';
next_record;
end loop record_loop;My request for the loop is.
Select RI_ITEM_CODE from OT_REQ_ITEM
Where REQ_NO =: field1;
Please suggest
Thanks in advance.
Kind regards
Afzal.
Forgive me if I am oversimplifying this, but why not just base your block of data to the table: XXTABLE. Then, you just put your form in design query (F7). Enter the value of 1122 in the area of the INVOICE_NUM and selects Execute Query (F8). Then forms does all the work to extract and display the records without having to write code to do this. This saves you having to write the code to perform and DML as well because the forms will take care of the Insert, Update and Delete automatically when your users click on save or press F10 (if I remember correctly).
If you must absolutely query and display your data manually, then you cannot use the standard SELECT INTO method because it will only show 1 record. You need to loop through your recordset and to manually edit the records in your block after you assign a value to the line. For example:
/* Sample Button Code */ DECLARE v_invoice_num NUMBER := BLOCK.TEXT1; CURSOR Get_Items (p_invoice NUMBER) IS SELECT INVOICE_NUM, ITEM_CODE FROM XXTABLE WHERE invoice_num = p_invoice; BEGIN GO_BLOCK('BLOCK'); CLEAR_BLOCK(NO_VALIDATE); FOR rec in Get_Items(v_invoice_num) LOOP :BLOCK.INVOICE_NUM := rec.invoice_num; :BLOCK.ITEM_CODE := rec.item_code; Next_Record; END LOOP; END:
I really don't like this method, but it could work.
Craig...
-
Insert multiple records in a database using the DB adapter and stored procedure
Hi all
I want to insert multiple records in a database using a stored procedure. I wanted to insert these records using a data adapter and data adapter must be called by a mediator.
Can anyone suggest me some ideas if it's possible with capabtilities OOB in SOA suite or not?
Thank you for your help in advance.
Thank you
ShivThe trick is in the stored procedure. You must use a data type that will handle multiple records I use varray. An example can be found in this post.
Re: Mutiple calls to AppsAdapter (pl/sql) when the payload has multiple records
When you read the procedure stored in the db adapter wizard looks and xsd / xml if you have maps accordingly.
see you soon
James -
Insert multiple records in a form with checkboxes
Hello
I need to insert multiple records in a database of a form using Coldfusion and am stuck - it works correctly when inserting one record at a time. Basically, the user will choose their name of the employee (EmployeeID) in a dynamic list, then several session (open) numbers that represent classes of training.
When I try and select several check boxes, I get this error:
"The number of query values and destination fields is not the same."
The boxes of the open field are not dynamic, as you can see-how use CFLOOP or any other method to allow several checkboxes be selected, and all open documents is entered into the database on a form?
I used server behaviors Dreamweaver 8 to create the form - which is limiting I know but I'm not a coder. I hope I can add code here to do things correctly function.
----APPLICATION CODE------------------------------------------------------------------
<!-get employee names->
< cfquery name = "rsDisplayEmployee" datasource = "FormationRH" >
SELECT *.
OF tblEmployees
ORDER BY LastName ASC < / cfquery >
<!-->-->
<! - insert Records - >
< cfset CurrentPage = GetFileFromPath (GetTemplatePath ()) >
< cfif IsDefined "(FORM. MM_InsertRecord") AND the FORM. MM_InsertRecord EQ 'form1' >
< cfquery datasource = "FormationRH" >
INSERT INTO tblEnrollments (open, EmployeeID)
VALUES)
< cfif IsDefined "(FORM. Open") AND #FORM. Open # NEQ "" > "".
#FORM. Open #.
< cfelse >
NULL VALUE
< / cfif >
,
< cfif IsDefined "(FORM. EmployeeID") AND #FORM. EmployeeID # NEQ "" > "".
#FORM. EmployeeID #.
< cfelse >
NULL VALUE
< / cfif >
) < / cfquery >
< cflocation url = "2.cfm" >
< / cfif >
<!-->-->
--------FORM CODE-----------------------------------------------------------------------
< form action = "" < cfoutput > #CurrentPage # < / cfoutput > "id = 'form' name ="form"method ="POST">"
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "4" >
< b >
< td width = "100%" > < h2 > < strong > select an employee name < facilities > < / h2 > < table >
< /tr >
< b >
< td > < select name = "EmployeeID" >
< cfoutput query = "rsDisplayEmployee" >
< option value = "#rsDisplayEmployee.EmployeeID #" > #rsDisplayEmployee.LastName #, #rsDisplayEmployee.FirstName # < / option >
< / cfoutput >
< / select > < table >
< /tr >
< /table >
< h2 > < strong > select training class < facilities > < / h2 >
< table width = "600" border = "0" cellspacing = "0" cellpadding = "0" >
< b >
< td width = "227" valign = "top" > class < table >
< td width = "373" valign = "top" > < input name = "Open" type = "checkbox" value = "937" / >
Date < table >
< /tr >
< b >
< td valign = "top" > class < table >
< td valign = "top" > < label >
< input name = "Open" type = "checkbox" value = "936" / >
< / label >
Date < table >
< /tr >
< /table >
< br / >
< input type = "submit" name = "Submit" value = 'Sign Up!' / >
< input type = "hidden" name = "MM_InsertRecord" value = "form" >
< / make >
"Add a line" I want to say that, for each of the checkboxes selected in your form, the code will be to insert a new record in the database table. Sorry I probably didn't phrase it very well.
so, no, the code does not need to wrap around each element. Instead the code examines the form.fieldnames variable (form.fieldnames, which is a list separated by commas of all fields defined in the form, is automatically submitted to each form submission - you don't have to define yourself somehow) and for each selected checkbox will insert a new record in your table with the check box selected and selected value the value of the id of the employee.
-
How to put the form into insert mode without clicking a button insert new record
Hi all
I use apex 4.2 on windows, internet Explorer 10 on oracle 11g R2, all 64 bits.
I'm creating mobile applications.
I have a list page, I put the links on this page.
one of the links is a form of opening and passing some values that form.
the form I open with custome plsql trigger to generate the primary key.
I do not include an Insert button in the form, I call you, I want to just the user to type something in the column remarks of the newly opened form.
and when the user clicks the Save button, the folder must be inserted as a new record in the table of underscore.
now, the pk is not because I do not press on the Insert button, since I do not include the Insert button.
now when I navigate my list Page by clicking on the point list and in the newly open shape, I enter some data in the Notes field and click on the button, save
It is not saving the table or give any error?
How to solve this problem?
Kind regards.
Mahjoor,
If your form is wizard generated then
Change your suite save button and put
and confirm that regardless of the Page item Insert Source values contains more
If you manually insert values shaped then write a Page process to insert this page elements values in the table
during the click on the button Save.
I hope this helps you.
Leave.
-
Insert multiple records in the single form
Hi all
I met already insert many rows into a table using ADF BC. The solution is in the following thread
However,.
The above solution is useful when you want to enter new values as well as all the table entries is displayed.
What can I do if I don't want all values in the table, but just a page 'AddEntries' where I can only add new lines without going through the table entries is displayed.
As,
Say a form has 5 rows
Each line has empId, eMailSlNo, send attributes
EmpId is the same for all 5 recordings but emailId is different.
EmpId eMailSlNo plus the PK.
empId generated by the sequence.
Now, on presentation of the form, I want all five records to be inserted.
(can I use ADF form instead of the table of the ADF for the ViewObject in this case. I tried ADF form but I could only insert 1 plug at the same time).
I use 10.1.3.4
Help, please.
Thanks in advance,
Shri
Published by: newtoOTN on December 29, 2009 18:02Shri salvation,
ADF form is intended for the single insert/update. For multiple insert/update/delete using the collection as table UI is preferred. I guess your db table or table design INTERFACE default (in my opinion but I do not know your usecase entirely, so I guess might b wrong).
I would say,
-make EmpId as PK
-have another table to store EmpId (foreign key), emailSiNo, email
-Having the relationship of the master / detail between the British Colombia ADF db tables.
-Create master / detail UI and on the selection of the master, view the details and if no record is found does not add files and commit.See these examples:
http://www.Oracle.com/technology/products/jdev/tips/Mills/MasterDetailSync/Master_Detail_Synchronization_in_ADF_Faces.html
http://andrejusb.blogspot.com/2007/06/create-edit-and-delete-operations-in.htmlHope it makes sense.
~ K
-
Axis2 using generated proxy Java classes to insert the record in CRMOnDemand
Hello
I'm new to web service development. Currently, I am trying to build a java application to insert records opportunity in CRM on demand. I use Eclipse Galileo to create my application on Tomcat server. I've correctly coded the connect/disconnect through my java application scenario. Now the problem is that I don't know how the code to insert opportunity record in CRM by using classes Proxy generated by Apache Axis2.
I met a lot of code in this forum, but all are for versions Axis1.X. Axis2 generates a different kind of a class structure, I'm not able to find a way.
Please help me.Fill in data obj with the fields 'must '.
OpportunityData oppData = new OpportunityData();
oppData.setOpportunityName (testOppName);
oppData.setAccountId (testAccId);
oppData.setSalesStage ("qualified lead");complete list of Articles
ListOfOpportunityData listOfOppData = new ListOfOpportunityData();
listOfOppData.addOpportunity (oppData);Fill object Insert_Input
Entry OpportunityInsert_Input = new OpportunityInsert_Input();
input.setListOfOpportunity (listOfOppData);call the Stub
OpportunityStub stub = getOpportunityStub (params); ensure that the heel is configured with the session token.
OpportunityInsert_Output output = stub.opportunityInsert (input);
String oppIdCreated = output.getListOfOpportunity () .getOpportunity () [0] .getId ();Its ' the same for any record. For ex: insert account - AccountData, ListOfAccountData, AccountInsert_Input, AccountStub, etc..
Published by: 838315 on April 11, 2011 02:22
-
When inserting duplicate records
Hello
I have a problem when I try to record a new record that I have just inserted.
Oracle Forms is to Save all the records in the block, including the old discs (which are exist in the block and the DB).
According to responses in the forum, the reason is that I use the cursor to fill my data frame. but I need to use the slider since I get 2 tables and I handle on anther column which is not dependent on the DB column.
what trigger I use, I have more important - that the code I have to write in it?
Thanks in advance,
Elad
Hi Xem, karim and O.Developer
Ultimately, the solution comes down to a single line in the cursor...
Just before the 'next record' we write this function:
SET_RECORD_PROPERTY (my_cursor % ROWCOUNT, MY_DATA_BLOCK, STATUS, QUERY_STATUS);
There affect the status of 'QUERY_STATUS' to each record that extract DB (initially, a times-news-block-instance), and like that, when we commit to insert - these records nor considered to be 'new '...
Note: the "sur-insert" trigger do not need.
Elad
-
Ofa: need help to insert a record into DB
Hi friends
I am totally new to the OFA and Jdev
I use Jdev version 9i 9.0.3.5
MY first task is to create a queryPG ... for that, I created a table in my PB with 3record
who has created a table in my Db with 3record,
and I created VO, AM, QueryPG, and QueryMainCO in my Jdev
And in my first task I can successfully recover data from forms my DB*.
(2) in the same .jpr my second task is to insert a record into my DB
In this task, I have been struck for more than 2 weeks... so please help me to do my 2nd task
in my queryPG I HAV to set a button called wen 'Person to create' I click that it must navigate to the CreatePG were I want to get data and wen I click on 'save' which is located in the CreatePG... the data I enter the createPG must be stored in my DB
In the createPG I HAV to set this field {personId, firstname, lastname, phoneno, e-mail, address}
First I HAV created VO not based on EO... beak for questioning we don't want EO
for inserting a record I HAV to create EO...
And one of VO based on EO is good?
Please help me to do this task
Thanks in advance
thilibanPlease follow the tutorial create exercise.
Thank you
AJ -
I have an access database and need to insert a record from a formmy query does not work, can help?
Here's my query;
< are method = Post Action = doform.cfm >
< table border = 0 cellspacing = 5 >
< b >
< td valign = "top" > < span class = "t15" > question: </span > < table >
< td > < textarea name = passes "After" = "60" rows = "5" > < / textarea > < table >
< /tr >
< /table >
< / make >
< CFQUERY "InsertRecord' DATASOURCE = NAME ="AdminServerIssues">
Insert in question (Office)
Values ('#form.) Issue #')
< / CFQUERY >
tracjerian,
1. Add a button "Send" to the form
2. If you use a form of auto-commit (IE code is a page named "doform.cfm"), the FORM. Variable issue exist only after the form is submitted. Use IsDefined() to detect if the form field exists and if this is the case, run the insert query. -
Insert all records from a custom to a staging table.
Hello
Is it possible to insert all records of a cursor in a custom table using plsql instead of open a cursor, and each record in a loop?
Thank you
KK
Use INSERT INTO your_staging_tbl... SELECT... Of your_cuatom_tbl
-
Inserting data by using the query
Hello
In a book, I read the Sub statement:
Inserting data by using the query (DML)
If the user wants to transfer data from a table to another table in the insert statement are used independently of data that can be processed or not processed form.
Can someone clarify what is the significance of this (processed or unprocessed form).
Thank you.
Why don't you ask the author of the book.
How can we know what the author means when you take a quote out of context and don't provide any reference so that we can see exactly what is shown to you.
I can only imagine that they are referring to data that are queried directly, "like what", another table, or who was interrogated and manipulated before be inserted.
-
Hello
I have a created an EO based on a synonym (synonym is created for a Table by using binding remote Db)
I created a from VO of the EO above and added to an AM. When I run the AM and try to insert a record I get following error
[164] BEGIN INSERT INTO TRACK_TRANSACTION_STATUS_BIZ (TRANS_NO, TRANS_ID, START_DATE, LOGIN_USER_ID, SESSION_ID, REFUND_APPLICABLE_IND) VALUES (: 1,: 2,: 3,: 4:5:6) TRANS_STATUS, ISHOP_LOGIN_IND, EMAIL_ADDR_AT_SIGN, TEL_NO_INT_PREFIX, REFUND_APPLICABLE_IND, REFUNDED_IND, CSP_IND RETURNING: 7: 8: 9,: 10,: 11,: 12,: 13; END;
[165] insert link param 1: test
[166] insert link param 2: you
[167] insert link param 3: 2014-10-16 21:37:09.0
[168] insert link param 4: your
[169] insert link param 5: you
[170] insert link param 6: N
OracleSQLBuilderImpl.doEntityDML [171] failed...
[172] X / Open SQL State is: 99999
[173] java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9417)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[174] OracleSQLBuilder: ROLLBACK WORK point registration "BO_SP".
[175] DCBindingContainer.reportException: oracle.jbo.DMLException
oracle.jbo.DMLException [176]: Houston-26041: could not publish data from database in "Insert": SQL statement ' BEGIN INSERT INTO TRACK_TRANSACTION_STATUS_BIZ (TRANS_NO, TRANS_ID, START_DATE, LOGIN_USER_ID, SESSION_ID, REFUND_APPLICABLE_IND) VALUES (: 1,: 2,: 3,: 4: 5:6) TRANS_STATUS, ISHOP_LOGIN_IND, EMAIL_ADDR_AT_SIGN, TEL_NO_INT_PREFIX, REFUND_APPLICABLE_IND. , REFUNDED_IND, CSP_IND INTO TURNING: 7: 8: 9: 10: 11:12:13; END; ».
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9417)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
... 52 more
# # 0 in detail
java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
Ask for help in this regard
ADF will generate default DML statement with RETURNING clause, and it is not applicable to your use case: ORA-22816: feature not supported with RETURNING clause
Instead, you can try with setUseReturningClause (false): http://docs.oracle.com/middleware/1213/adf/develop/adf-bc-entity-objects.htm#BABJAJCA
Dario
-
I use LiveCycle to create forms/electronic spreadsheets for the group, I support at work. I had two worksheets have this problem recently. An I was able to fix by going to my previous version, a re-release and re-recording. The other continues to be a problem. The worksheet is dynamic and has several added features of the line. The form continues to operate correctly, but header in some tables lines repeat when recording in extended format reader that my allows to record the form (required for our work). I completely re-did the spreadsheet from scratch, as well as a re-issue of previous versions with no luck. The best I can do is get repetitions to change header lines.
It's the dynamics of files prior to registration as a reader extended document:
And after:
Any suggestions on how to fix this? I can't spend hours to recreate the whole document, if its just happen...
Thank you.
You said that it is in some tables. Just saw the tables that are affected:
- Is there scripts implemented that create the table dynamically? Or the tables already exist, and additional lines are added dynamically?
- Look at the name of the header line. There are scripts that reference the header lines?
Maybe you are looking for
-
I get to gmail, but get then continuous "loading" message
I use Firefox to access my gmail-have never had a problem until today. I get my google mail page but when I try to read an e-mail message in my Inbox I get a message that simply says "loading". Google says it's a Firefox problem? I downloaded an upgr
-
Open a PDF in preview without the sidebar thumbnails
I want to save a PDF in preview can always open without the side bar and thumbnails. All content of the page in full size. I know how to adjust them after I opened them but when I save the they come back to show the sidebar next time as I open them.
-
Error in the printer - Deskjet 6840
My printer displays the message - "Not compatible with the printer ink cartridge" and will not print a document. I use HP 94 and 95 cartridges. They were new a month ago. The printer has been my reliable MAC since the purchase of this issue four or f
-
I have two servers, Windows Server 2008 R2, and every time that I add an IP printer with the HP Universal print driver, I get this when I try to enter in the properties of the printer: How can I disable this? I just it acts like a normal printer soft
-
What are the upgrade paths to Windows 7 from Vista?
Which version of Vista is compatible with a Windows 7 upgrade?