Update while selecting
Is there any way in oracle where we update while selecting.
I have a situation where I select a few rows from a table.
Then I have to update those all those rows witrh some date as sysdate.
I want to make sure that the rows I have selected are only updated and not a single new one.
ex:
select
process something.
update table set filed=sysdate where pk_col in (select --it is the same as 1st select );
but in real time,
when i select 1st time i get 40 rows.
I process them.
now i have to update just those 40 rows,
but this time when I say
update (select --its a second read.... this time select gives me 42 rows)
maybe someone was working and he updated the table and I got 2 more rows.
But as i processed 40, i want to update only 40 rows.
So how can i be sure.
Any ideas. please help.
1 solution is to have a cursor and do the processing and updaing in the cursor.
I process 40 rows and i update only those 40 rows in the cursor.
other way, update when i select. i it possible.
please let me know.
meenakshi
Hi.
Check this please:
CREATE TABLE aux_d
id NUMBER,
d_date DATE
INSERT INTO aux_d VALUES(1,null);
INSERT INTO aux_d VALUES(2,null);
INSERT INTO aux_d VALUES(3,null);
COMMIT;
SELECT * FROM aux_d;
ID D_DATE
1 (null)
2 (null)
3 (null)
UPDATE
SELECT *
FROM aux_d
WHERE id < 3
SET d_date = SYSDATE;
COMMIT;
SELECT * FROM aux_d;
ID D_DATE
1 14/07/11
2 14/07/11
3 (null)Hope this helps.
Regards.
Similar Messages
-
Cant' update while select is active in read-committed mode
Hi All
I try to execute my java program the following error is comming
"cant' update while select is active in read-committed mode"
I am using prepraredStatement. The query is running successfully in QueryTool or Toad. But the Error is coming while execute this line
"stmt.executeUpdate(); "
pleaes solve my problem..
Thankx<br>Mmm, it seems same question Re: insert data problem</br>
<br>Nicolas.</br> -
Can't update while select is active in read-committed mode
Hi
This is my business logic:
I m selecting the values from three tables by UNION ALL and i m geting the record set in while loop at the same time i try to insert the values which is getting from select statement in the First Table in the same while loop.
my problem is when i try to insert into the same table the following error is occured
"can't update while select is active in read-committed mode"
Now what can i do ? please give me ur solution ...
Thankx
Merlinadepending on how many values you have, you could store the results in memory, a vector or similar collection.
Then close the select statement, and insert the values from your vector into the table.... should work then.
Or, there may be a way of creating an updatable resultset ?
This question is better directed at the
"Java Database Connectivity (JDBC) & Transactions (JTA/JTS)" section of the forum. Maybe post a questions there, ensuring you give the URL of this question here too to avoid cross-posting.
regards,
Owen -
Can't update while select is active in read-committed mode- Pls Help Me
Hi
This is my business logic:
I m selecting the values from three tables by UNION ALL and i m geting the record set in while loop at the same time i try to insert the values which is getting from select statement in the First Table in the same while loop.
my problem is when i try to insert into the same table the following error is occured
Thanks
Merlinadepending on how many values you have, you could store the results in memory, a vector or similar collection.
Then close the select statement, and insert the values from your vector into the table.... should work then.
Or, there may be a way of creating an updatable resultset ?
This question is better directed at the
"Java Database Connectivity (JDBC) & Transactions (JTA/JTS)" section of the forum. Maybe post a questions there, ensuring you give the URL of this question here too to avoid cross-posting.
regards,
Owen -
Getting "JBO-26080: Error while selecting entity for myEO" while updating
Hi All,
I am using jdev 10.1.3.4. I am having updatable VO. I want to update an attribute of a particular row. I wrote the below code in my BB.
ViewObject vo = am.getmyVO();
Key myKey = new Key(new Object[]{6207});
Row rw= vo.getRow(myKey);
if (rw!= null ) {
rw.setAttribute("ProcessFlag",processFlag);
am.getTransaction().commit();
But, I am getting the below error.
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for myEO
Can anybody help me regarding this?
Thanx,
AbhijitI do agree. Bt, what could be the root cause for this error?
--Abhijit -
Service tax value required updating while posting GR in MIGO transaction
Dear Friends,
We have a following scenario where service tax value required updating while posting Goods Receipt MIGO transaction.
1. Purchase Order created for first line item where Qty. 1 and Net Rate Rs.1000/- so total Gross value will be Rs.1000/- example Vendor XYZ
2. Freight condition type maintained for the first line item for Rs.500/- and assigned to Transportation vendor ABC.
3. When Goods Receipt Posted for the Material against PO first line item, the material value updates Rs.1500/- (Material value as
per PO + Freight Charges)
4. After posting GR while making Invoice verification through MIRO transaction against the PO GR/IR clearance will be done for
Material vendor XYZ. For transportation Vendor ABC Planned delivery cost indicator will be select and since service tax is
applicable Service tax code will also select.
Here the values of Service tax if the Material available in Stock it will be inventories. If stock consumed before making the Invoice verification for Transportation vendor ABC, then the Service tax values update to PRD account.
We know that in PO, tax code can be select for first line item (Raw Material) Vendor XYZ and if transportation charge condition type maintained for same first line item and assigned to Vendor ABC and there is no provision to maintain Service tax. So the service tax will get inventories while posting Invoice Verification for the transportation vendor.
We want the values of Service tax to update while posting Goods Receipt in MIGO transaction.
Thanks & regards
Dhanuhi,
Please note at the time of MIGO Servecie tax value does not appear, it will appear at the tiem of Invoice only.
Regards,
Rama Mohan Bangaru -
Oracle.jbo.DMLException: JBO-26080: Error while selecting entity for
I have an error like this:
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ....
It happened because my application was updating a few attributes in a ViewObject, And there was a message that showed:
java.sql.SQLException: ORA-00904: "EI_PPN": invalid identifier.
My entity object for the view object above has the EI_PPN attribute, and so as well as the table in the database. Why it keeps showing that EI_PPN is an invalid identifier?Is the column name also uppercase EI_PPN?
-
JBO-26080: Error while selecting entity / ORA-00936: missing expression
Dear All
i have the below master VO based on EO , while trying to update any record in it and while commit , i'm getting the below error (ORA-00936: missing expression) however i don't have any missing exp in my ClaimsSubmissionsEO) !
Note : JDeveloper 11.1.2.0
SELECT ClaimsSubmissionsEO.BATCH_REF,
ClaimsSubmissionsEO.PORTAL_TRANS_ID,
ClaimsSubmissionsEO.RECEIVED_DATE,
ClaimsSubmissionsEO.BOX_NO,
ClaimsSubmissionsEO.POLICY_NO,
(select E_NAME from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS ENAME,
ClaimsSubmissionsEO.CURRENCY,
(SELECT e_currency_desc FROM EDGE.CURRENCY WHERE currency_code = ClaimsSubmissionsEO.Currency) AS CURRENCYDESC,
ClaimsSubmissionsEO.IN_OUT_KSA,
ClaimsSubmissionsEO.PORTAL_USER_NAME,
ClaimsSubmissionsEO.PLAN_TYPE,
ClaimsSubmissionsEO.PLAN_ID,
(SELECT E_DESC FROM TAJCRS.PLANS WHERE PLAN_NO = ClaimsSubmissionsEO.PLAN_ID) AS PLANNAME,
ClaimsSubmissionsEO.PATIENT_FILE_NO,
ClaimsSubmissionsEO.ACCOUNT_CODE,
ClaimsSubmissionsEO.BIRTH_DATE,
ClaimsSubmissionsEO.MEMBER_AGE,
ClaimsSubmissionsEO.PHYSICIAN_CATEGORY,
ClaimsSubmissionsEO.CLAIM_DATE,
(select BRANCH_CODE from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS BRANCH,
(select QUOTATION_NO from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS QUOTATION,
(select CUST_ID from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS CUST_ID,
(select BUS_TYPE from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS BUS_TYPE,
(select DATE_FROM from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS DATE_FROM,
(select DATE_TO from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS DATE_TO
FROM TAJCRS.CLAIMS_SUBMISSIONS ClaimsSubmissionsEO
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ClaimsSubmissionsEO
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1113)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8287)
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5947)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.lock(ClaimsSubmissionsEOImpl.java:7200)
at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6467)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6683)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.postChanges(ClaimsSubmissionsEOImpl.java:238)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
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:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at 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)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at 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.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:862)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:863)
... 57 more
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:862)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:863)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8287)
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5947)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.lock(ClaimsSubmissionsEOImpl.java:7200)
at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6467)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6683)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.postChanges(ClaimsSubmissionsEOImpl.java:238)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
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:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at 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)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at 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)
Edited by: Oracle ITself on Aug 29, 2011 5:36 AM
Edited by: Oracle ITself on Aug 29, 2011 5:36 AMchk this
SQL syntax exception: missing expression?
http://www.coderanch.com/t/302720/JDBC/java/missing-expression-error -
JBO-26080: Error while selecting entity for SampleEO
Hi,
I have a VO based on Entity Object. While I am going to update a record using this VO, its getting updated in the DB table.
But after that while I am going to execute the VO for displaying the data its giving the below error.
"oracle.jbo.DMLException: JBO-26080: Error while selecting entity for SampleEO
Can anyone suggest what could be the reason for this error?
--AbhijitHi Timo,
I am using jdev 10.1.3.4 (jsf-ADF BC). I googled the error but didn't find any solution.
Is there anyhing to do with the EO configuration or property?
Any help will be appreciated.
--Abhijit -
Dulpicate entry occur while select from edidc table
HI ,
internal table I_edidc declare as unique key DOC_NUM while select the value from the edidc table on basis of status ,msgtyp,direct ,sndprt.sndprn ,updat, updtim,cretim,credat giving the duplicate entry dump some time .ANY suggestionHi Prakash ,
thanks for your replying internal table is refreshed i checked it during the debugging time and this issue not occurs frequently .I think the reason is when the idoc status changes from 51 to 53 it is picking up 51 entry and the same time it status changes to 53 it again tries to pick the same idoc with status 53 .Please correct me if i am wrong and please give your valuable suggestion .Below is the code
SELECT docnum status direct rcvpor rcvprt rcvprn mescod mesfct sndpor
sndprt sndprn credat cretim mestyp idoctp cimtyp upddat updtim
FROM edidc INTO TABLE i_edidc
WHERE status IN s_status
AND mestyp EQ g_msgtyp
AND direct EQ l_direct
AND sndprt IN s_sndprt
AND sndprn IN s_sndprn
AND credat IN s_credat
AND cretim IN s_cretim
AND upddat IN s_upddat
AND updtim IN s_updtim. -
Getting javascript error while selecting the Recipients in OBIEE delivers.
Hi All,
I am working on OBIEE from quite a long time, but recently I came across a error while selecting the Recipients in Recipients list of OBIEE delivers.
Making it more comprehensive, when I try to create an ibot , after entering all necessary information when I select Recipients in Recipients list and click on ok. I get a JavaScript error "null" is null or an object. The surprising thing is when i select cancel it works as ok.
Any help will be highly appreciated
Thanks,
Jyoti
Message was edited by:
user616430I think you dont have a field named /BIC/XXXXXX in the table from which you are trying to fetch the data. Chech the spelling of the field name and table name.
-
Error while selecting entity for composantEO
Hi,
Briefly, I do an example of displaying a list of components (and already it works properly), but when I added a link to the removal of components I have encountered an error
Voila details
function code delete
public void deleteComposantMethod(String action,String param)
System.out.println("Now we are inside deleteComposantMethod");
System.out.println("we search composant with numcomp : "+param);
ComposantVOImpl inst=getComposantVO1();
Row row[]=inst.getAllRowsInRange();
for(int i=0;i<row.length;i++)
ComposantVORowImpl rowi=(ComposantVORowImpl)row;
System.out.println("checking the composant ===> "+rowi.getNumcomp());
if(param.equals(rowi.getNumcomp().toString()))
try{
rowi.remove();
getOADBTransaction().commit();
System.out.println("Deleting succes");
catch(Exception ex)
System.out.println("error : \n"+ex.getMessage());
return;
in the browser page component disapru it seems that it works correctly, but nothing changes at data base and voila the error message I get from embedder OC4J server log
Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ComposantEO
thanks
Please note: although no board code and smiley buttons are shown, they are still usable.
thanksHi,
for those who have encountered the same problem as me, you should check that the table name sql query is of the form Name_Schema.Name_Table.
For this right click on the entity in the workspace> edit entity> Database Objects> Schema Objects and add the schema name before table name( Name_Schema.Name_Table).
thanks, -
Error while selecting date from external table
Hello all,
I am getting the follwing error while selecting data from external table. Any idea why?
SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
2 SE_CUST_ID NUMBER(38),
3 SE_TRAN_AMT_LCY FLOAT(126),
4 SE_REVERSAL_MARKER VARCHAR2(255))
5 ORGANIZATION EXTERNAL (
6 TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY ext_tables
8 ACCESS PARAMETERS (
9 RECORDS DELIMITED BY NEWLINE
10 FIELDS TERMINATED BY ','
11 MISSING FIELD VALUES ARE NULL
12 (
13 country_code CHAR(5),
14 country_name CHAR(50),
15 country_language CHAR(50)
16 )
17 )
18 LOCATION ('SE2.csv')
19 )
20 PARALLEL 5
21 REJECT LIMIT UNLIMITED;
Table created.
SQL> select * from se2_ext;
SQL> select count(*) from se2_ext;
select count(*) from se2_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04043: table column not found in external source: SE_REF_NO
ORA-06512: at "SYS.ORACLE_LOADER", line 19It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
HTH -- Mark D Powell -- -
Hi
I keep getting the "JBO-26080: Error while selecting entity for Units" error. Below is the query in my View Object. If I remove the Units(Enitty) from the query it works fine but I need to have that in the query. This error occurs only when I do "Reset" on the screen which in turn calls "getSearchProgramView().getCurrentRow().refresh(Row.REFRESH_WITH_DB_FORGET_CHANGES);"
Can some one explain how to get rid of this problem? When I run the query in TOAD it works fine.
SELECT Programs.PROGRAM_ID,
Programs.CATEGORY,
Programs.NAME,
Programs.PROGRAM_COORDINATOR_ID,
Programs.PROGRAM_ASSISTANT_ID,
Programs.MANAGING_UNIT_ABBR,
Programs.CREATED_BY,
Programs.CREATED_DATE,
Programs.LAST_UPDATED_BY,
Programs.LAST_UPDATED_DATE,
Persons.PERSON_ID,
Persons.USER_NAME,
Persons.FIRST_NAME,
Persons.LAST_NAME,
Persons1.PERSON_ID AS PERSON_ID1,
Persons1.USER_NAME AS USER_NAME1,
Persons1.FIRST_NAME AS FIRST_NAME1,
Persons1.LAST_NAME AS LAST_NAME1,
Categories.NAME AS NAME2,
Categories.CODE AS CODE1,
Units.DESCRIPTION,
Units.CODE
FROM PROGRAMS Programs, PERSONS Persons, PERSONS Persons1, CATEGORIES Categories, UNITS Units
WHERE ((Programs.PROGRAM_COORDINATOR_ID = Persons.PERSON_ID(+))
AND (Programs.PROGRAM_ASSISTANT_ID = Persons1.PERSON_ID(+))
AND (Programs.CATEGORY = Categories.CODE(+))
AND (Programs.MANAGING_UNIT_ABBR = Units.CODE(+)))
ThanksHi,
for those who have encountered the same problem as me, you should check that the table name sql query is of the form Name_Schema.Name_Table.
For this right click on the entity in the workspace> edit entity> Database Objects> Schema Objects and add the schema name before table name( Name_Schema.Name_Table).
thanks, -
BSP Error while selecting "campaign elements" in spanish --- crm 2007
Hi experts,
I´m trying to look for a solution for a problem with an error that occours while selecting in WEB UI --marketing --- campaign elements , in spanish language.
Error Business Server Page (BSP)
<thtmlb:textView>: (design) The Attribute Value is not a Value from: STANDARD/HEADER1/HEADER2/LABEL/VALUE/ITALIC/BOLD
In english it works perfect.Which field is? Has translate value content to spanish for this field?.
In SAP CRM UI, press F2 and tell me which is the field
Maybe you are looking for
-
GUI_DOWNLOAD APPEND='X' doesn't work
Hello, I seem to have a bit of a strange problem. My report uses GUI_DOWNLOAD to download some data. Then it uses GUI_DOWNLOAD again to append one more line to the downloaded file. The problem is, I have changed my PC and appending stopped working. T
-
hi, i've got a simple chart. my xaxis values are: 10:00:00(time), a can't make those values such as that: 1,2,3,4.... please help me class BinaryPlot{ final XYDataset data = createStepXYDataset(); final JFreeChart chart1 = ChartFactory.crea
-
Condition (FRB1) getting copied from Old PO to New PO
Hi All I have and issue wherein I am creating a PO with Plant material and vendor combination. I have entered Freight value. and saved the PO. Next time i am creating PO with the same Plant material and vendor combination ,it is copying the freight c
-
I did the 4.3 upgrade and my skype dosent work!
hi all !! today I did the upgrade and now I want to open skype, its opened for one second and than it cloeses !! I cant use it, any ideas how to fix it? I have iphone 4. and one question to Apple.. Is that how you do QA ?! any time I upgrade the IOS
-
[Newbie] FMS not visible in local network
Hi, I have a problem with FMS 3.5 installed on Windows 7. The problem is that FMS works only on my local machine, I am not able to use it from computers in local network. I turned off all windows firewalls and my machine is visible for other computer