ReadOnlyAttrException: JBO-27008 occurs when it shouldn't
Hi,
I am receiving the ReadOnlyAttrException: JBO-27008 error on attributes that are always updateable. The situation occurs in the following circumstances:
* I have a view object that works fine - no errors
* I add a String transient attribute to the VO, with "Always" selected under updateable
* When trying to set the attribute, I get the JBO error mentioned above
In looking at the RowImpl class for my VO, I notice that when I add the transient attribute, it is inserted directly before the last attribute at the top of the class, like so:
protected static final int RENEW_LEVEL_TEXT = 18;
protected static final int USERVIEW = 19;
where RENEW_LEVEL_TEXT is the new transient attribute and USERVIEW was the old attribute that had value 18 before the change. USERVIEW is a view link accessor. The VO I am working on is on the destination end of the link.
Anyway, the method I call is setRENEW_LEVEL_TEXT(), but the error I receive tells me that the USERVIEW is read only, leading me to believe that somehow, internally in a place I cannot find, USERVIEW is still associated with value 18.
any ideas?
I believe you're running into bug
2632675 -- TRANSIENT VO ATTRIBUTE INCORRECTLY BINDS AS NULL IN VIEW LINK
which should be fixed in 9.0.3.3.
Thanks.
Sung
Similar Messages
-
Strange error oracle.jbo.ReadOnlyAttrException: JBO-27008:
Hello, friends!
I use uix for my application (generated with JHeadstart).
Now I have one problem, and this problem is very strange. One of VOs throws exception after commit changes. First time it was error
(oracle.jbo.ReadOnlyAttrException) JBO-27008: for atribute mgrList
at oracle.jbo.AttrValException.<init>(AttrValException.java:112)
at oracle.jbo.ReadOnlyAttrException.<init>(ReadOnlyAttrException.java:40)
at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:815)
at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
Then I setted updateable property of MgrList attribute to always and now i have this error:
oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.util.List with value:[{}]
I don't know why, but all worked fine yestarday.
I think that this is not view project problem. Because the same problem appear on the other pages (oracle.jbo.ReadOnlyAttrException: JBO-27008:) and when i test model project with bc4j tester today. But all this pages and data model worked correctly before and i did not edit this.
And this problem look like the bug. Because this error must appear for attributes which are always updatable and when i do not update it.
Maybe you can tell me how to solve this problem, please.
Thank you.We havent written any custom code in the extended EO.
Case 1 : Without any extension (basic oracle behaviour)
When the Page is first Rendered, the Org Name (LOV) Field is populated on the screen,and OrgId (form value) is also populated with it.
(this is a create screen and Org is populated with the Default Org name and ID)
Case 2 : With we have Extended EO
(we havent generated the EOImpl of extended EO so we cannot possible write any custom code to insert/ update any of the attrubutes.
This Case gives an error as mentiond in my previous mails. -
Oracle.jbo.ReadOnlyAttrException: JBO-27008
Hello, friends!
I use uix for my application (generated with JHeadstart).
Now I have one problem, and this problem is very strange. Some of VOs throws exception after commit changes:
(oracle.jbo.ReadOnlyAttrException) JBO-27008: for one atribute, which is readonly and i did not try to update it.
at oracle.jbo.AttrValException.<init>(AttrValException.java:112)
at oracle.jbo.ReadOnlyAttrException.<init>(ReadOnlyAttrException.java:40)
at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:815)
at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
I don't know why, but all worked fine before.
I think that this is not view project problem. Because the same problem appear on the other pages (oracle.jbo.ReadOnlyAttrException: JBO-27008:)
and when i test model project with bc4j tester now. But sometimes this problem appears on the uix page testing and does not appear when i test this
VO with bc4j tester. For example, one my VO hane primary key: Id, updeteable=always, display=false and when i try to update another
VO in this page i recieve same error. This error appears for attributes which are always updatable and for attributes which
are readonly and when i do not update it.
Maybe you can tell me how to solve this problem, please.
Thank you.Erik, thank you.
But I have not custom logic in the isAttributeUpdateable() method.
This attribute is transient (java.util.List). And the get attribute method is:
public List getMyList()
{ if (MovesListAdapter!=null)
return MovesListAdapter;
ViewObject vo = this.getApplicationModule().findViewObject("MyVO");
System.out.println(rowSetName);
RowSet rowSet = vo.findRowSet(rowSetName);
if (rowSet==null)
rowSet = vo.createRowSet(rowSetName);
rowSet.setWhereClauseParam(0,this.getIdOsnovanie());
rowSet.executeQuery();
rowSet.setRangeSize(-1);
String rowSetName = "MovesRowSet"+this.getIdOsnovanie();
System.out.println("MovesRowSet row count="+rowSet.getRowCount());
MovesListAdapter = new RowIteratorListAdapter(rowSet, true);
MovesListAdapter.setEmptyRowsAtTop(1);
List t=MovesListAdapter;
return MovesListAdapter;
} -
Hi all,
I have three table:
Member : MemberID(pk), Email, Adress, ProvinceID (fk)
Province : ProvinceID(pk), ProvinceName, CountryID(fk)
Country : CountryID(pk), CountryName.
After created three entities and object view for all of them.
In ProvinceView : i add a parameter for CountryID using Bind Variables + View Criteria to select Province from Country
In MemberView : i add more two entity: Province and Country then Add more attributes: CountryID (from Province table), CountryName(from Country table).
Create LOVs for CountryID and ProvinceID....that's i want: selected Country ----> Province auto show but when i selected Country, an error show like this :
(oracle.jbo.ReadOnlyAttrException) JBO-27008: Attribute Countryid in view object PhaiMemberacbView1 cannot be set.
What's solutions to fix this. ThanksHi,
Please verify if the Attribute Countryid has been marked as "Updatable" in the view object.
Best Regards,
Ankit Gupta -
[LV 7.1 Pro on WinXP for Tablet PC's]
I recently let a rather large LV app of mine run in the development environment while I was out for a couple of days. Upon returning I found that the app had hung for ~22 hours waiting for an answer to an Automatic Error Handling (AEH) dialog proclaiming an Error 7 in New File without any indication of the VI hierarchy that called New File. I set about ensuring that AEH dialogs would not pop up and have not been able to discover how I could have possibly received one in the first place.
Subsequent investigation revealed:
Neither AEH option in Options>Block Diagrams were checked.
Network problems had occurred around the time that the app had hung. All file paths are network paths when running in the development environment, so the cause of the error was most likely valid, even if the AEH dialog appearance wasn't.
My app has only one instance where the New File primitive is used by me. That subVI and all others above it in the hierarchy DO NOT have the AEH property enabled. The error out cluster of New File in my subvi is wired.
My app has three instances where New File is called from a vi.lib vi (Open/Create/Replace File.vi, Open Config Data.vi, and Prompt Web Browser Path.vi), none of which have the AEH property enabled. Nor does any of their calling VI's. All three instances also have their error out cluster wired.
A utility to examine the AEH property of all VI's (with all top level and dynamic VI's loaded) in memory reported that only 1 of 308 vi's ( RGT Does File Exists.vi from the Report Generation Toolkit) had that property true. That vi has no subVI's other than the File/Directory Info primitive and no calling VI's in common with any of the vi's that call New File, except a top level VI.
As long as 'Enable automatic error handling dialogs' remains unselected in options>block diagram, I am unable to get an AEH dialog for either the New File or File/Directory Info primitives in a test VI with AEH property enabled and their error out clusters unwired no matter what invalid path I pass to the functions. As soon as the options>block diagram>Enable AEH dialogs' is selected, both primitives fire AEH dialogs with no error out wired and don't when wired. i.e. works as advertised.
In other words I can find no reason why I should have gotten the problem AEH dialog...
I cannot afford for this app to hang because of a network problem, other portions of the app that were running concurrently correctly handled the error and, had the AEH dialog not appeared, the app would have made corrections or shutdown in an orderly fashion.
Any ideas?Very good.
Write Characters to File.vi>Open/Create/Replace File.vi>New File
New File throws the error. Open/Create/Replace strips the hierarchy from the source of the error. Write Characters passes it to the General Error Handler. I never looked above O/C/R file in the hierarchy except for enable automatic error handling property. The tip-off should have been to realize that O/C/R file was stripping the hierarchy from the error and look above that.
The real irony is that Write Characters was being used to log error cluster data to an error log file...
Save as... Copy without updating... the OEM 'Write Characters to File' is gone from this app.
Thanx (a bunch) -
Oracle.jbo.ReadOnlyAttrException, msg=JBO-27008 Attribute set fail
Hello,
I keep getting this error saying that my view attribute fails in my view object. The view attribute that is failing is CtType1 which is a transient attribute. Does anyone have any ideas?
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ReadOnlyAttrException, msg=JBO-27008: Attribute set for CtType1 in view object CtBwdaLevel1View1 failed
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1336)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1234)
at oracle.adf.model.servlet.ADFBindingFilter.invokeBeginRequest(ADFBindingFilter.java:276)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:234)
at com.evermind[Oracle Application Server Containers for J2EE 10g (Make sure the updateable property of the attribute is set to "Always" even if its a trasient attribute.
Inside the ViewObject in the ADF Wizard, choose your transient attribute and set the Updatable radio buttons to "Always." -
JBO-27008 in transient attributes
I have in my VO a transient attribute defined with a sub-query.
I had displayed this attribute as a checkbox in my UIX.
When trying to commit changes in the page, I have the JBO-27008 message that this attribute is read-only (or course it is). What have I configured wrong to have this message? My VO attribute is set as Updateable = Never, and Passivate is on...Idevaldo,
You could set Updateable to Always, and just don't do anything on the set method of your transient attribute.
Kind regards,
Peter Ebell
JHeadstart Team -
Validation error :JBO-27008 vanishes by pressing submit two times???
Hi All
I am developing a web application using ADF BC,struts and jsp with JDEV 10.1.3.
In my JSP page whenever I create a new record, after submit the desired record is submitted into the read-only table below, but I receive the validation error:
JBO-27008: Attribute set for MaterialName in view object viewJoinPurchaseComplexUnit1 failed.
Wondering that when I press the submit button again the error vanishes and my data is inserted into the database.
I'm wondering why I have to press submit two times and then everything goes right? What is wrong among here? what should I do?Frank,
The view in my BC Tester runs very well. Consider I have a viewJoin which is created by joining 4 view objects and I try to insert in one of them and the other views are reference,updateable. in my jsp page(input form) I have to fill in some reference fields in order to display the user what he has selected from the other page(handeled with javascript). Does this have something to do with the problem? when I do not fill the MaterialName field I do not encounter this problem. I have other fields like MaterialName filled from outside and are reference but they are working fine. Also, I do not have this error when Update, delete, Find/execute, and by create when I change the field materialname to null everything goes fine, but all the other transactions(Update, delete, Find/execute) cripple by that. -
What's the likely cause of crashes that occur when closing webpages?
I am experiencing frequent crashes in Safari -- almost always they occur when I try to close a webpage.
After I click on 'Close,' for a few seconds nothing at all happens. Then the spinning beach ball appears on-screen.
Inevitably, the beach ball doesn't disappear and I have to 'force quit.'
Is there any information on what lies behind this particular type of crash in Safari?
Thanks. Replies appreciated.It looks like Safari doesn't have enough permissions
for a folder to write to. Try to open disk-utility
and use the Repair-permission option on your local
disk. This may fix the problem.
Thanks but that was recommended recently in relation to an earlier set of crashes that may have been related to an outdated Flash plugin (since updated). I went through the 'repair permissions' process and initially it seemed to have worked. Maybe it did work, but not to prevent these other crashes, which appear to be from a different source (e.g., the first crashes shut Safari down instantaneously and put me back on the Desktop, no spinning beach ball, prompt for 'crash report' to be sent to Apple, etc. -- not so with this latest set of crashes).
Assuming repairing permissions isn't something you normally have to do on an ongoing basis in order to keep Safari running properly, I'm guessing it shouldn't be required so soon again. -
Another "An error occurred when attempting to change modules" error
Hello all:
After using Adobe Photoshop Lightroom on Mac OSX trouble free for the past 6 months, I opened up Lightroom today and received the following error: "An error occurred when attempting to change modules." I had not made any changes in between when it worked normally and when the error started to occur. I beleive the last thing I did before this error occurred was to go into the Print Module.
Other information--I keep all my RAW .NEF files on an external Firewire (800) 750 GB drive. This is on Mac OS X 10.5 running Adobe Photoshop Lightroom 1.3 and also with 1.4.1. I'm running an iMac 20" with dual-core 2.2 Ghz Intel processors and 4 GB of RAM. I have around 25k images total.
When I noticed this problem, I was on Lightroom 1.3. I immediately upgraded to 1.4.1, which did not solve the problem. I have also tried many suggestions in the forums including uninstalling the application and removing the .plist file.
I thought I had come up with a solution by creating a new catalog, then importing the former into it. While this seems to work immediately after the import process, as soon as I close it, the problem manifests itself again.
More details that may or (likely) may not help:
- Going to the Develop and Print Modules gives me no problems. However, when I click on Library, Slideshow, or Web, I see the error.
- I upgraded my Mac to the latest patch level after observing this error to no avail.
So it looks like my choices are to create a new file and reimport every single time, or lose all of the work I've done for the past 6 months on thousands of images.
Can anyone please help???? I promise to post the solution when we fix this darn thing so others may benefit. I'd be happy to run through any troubleshooting that y'all would suggest outside of switching to a Canon.
Thanks!!!!
MattI'd first check for the existence of a file ending in .lock, which should be present when LR is in use, but if it exists when LR is quit, it can cause problems, and should be deleted.
Please post back your results. -
I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. How do I solve this problem?
Make sure you have the correct country selected. Click the round flag icon bottom right side of the App Store window.
-
An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...
urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard. no idea why i messed that up!
anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work. -
SQL error 3113 occurred when executing EXEC SQL.
Hi,
We are facing one typical problem, One background is failing regularly with
below dump. as we now got all notes giving information, if database restarted
taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
in this two servers are located in different place, in this job tries to connect
another server to get material statistics.
It is giving some error message in sm21 with
SQL error 3113 occurred when executing EXEC SQL.
work procees in reconnect mode.
all notes saying these types of dump occur when database restared, but this dump
even though database is up.
below is short dump, please can anyone help me from this problem.
ABAP runtime errors DBIF_DSQL2_SQL_ERROR
Occurred on 08.01.2007 at 00:30:28
>> Short dump has not been completely stored. It is too big.
SQL error 3113 occurred when executing EXEC SQL.
What happened?
The error occurred in the current database connection "AZ1".
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
How to correct the error
Database error text........: "ORA-03113: end-of-file on communication channel#"
Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"DBIF_DSQL2_SQL_ERROR"
"ZM2431216 " or "ZM2431216 "
"EXTRACT_GENERAL_DATA"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in th
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error o
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "essceu3"
Network address.......... "172.19.119.198"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C7ADBD4C00"
Database server.......... "ukblx176"
Database type............ "ORACLE"
Database name............ "EU3"
Database owner........... "SAPR3"
Character set............ "es_ES.ISO8859-1"
SAP kernel............... "46D"
Created on............... "Jul 9 2006 20:26:33"
Created in............... "AIX 1 5 00447C4A4C00"
Database version......... "OCI_920__OCI_7_API "
Patch level.............. "2257"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
SAP database version..... "46D"
Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
5, , System build information:, , LCHN :
841480"
User, transaction...
Client.............. 600
User................ "MPZMMES"
Language key........ "S"
Transaction......... " "
Program............. "ZM2431216 "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "ZM2431216 " in
"EXTRACT_GENERAL_DATA".
The main program was "ZM2431216 ".
The termination occurred in line 980
of the source code of program "ZM2431216 " (when callin
The program "ZM2431216 " was started as a background jo
Source code extract
009500 mara.ntgew,
009510 mara.gewei,
009520 mara.volum,
009530 mara.voleh,
009540 mara.mstae,
009550 mara.mstde,
009560 mara.prdha,
009570 marc.matnr,
009580 marc.werks,
009590 marc.mmsta,
009600 marc.mmstd
009610 into :w_ops-groes,
009620 :w_ops-brgew,
009630 :w_ops-ntgew,
009640 :w_ops-gewei,
009650 :w_ops-volum,
009660 :w_ops-voleh,
009670 :w_ops-mstae,
009680 :w_ops-mstde,
009690 :w_ops-prdha,
009700 :w_ops-matnr,
009710 :w_ops-werks,
009720 :w_ops-mmsta,
009730 :w_ops-mmstd
009740 from sapr3.mara, sapr3.marc
009750 where sapr3.mara.mandt = sapr3.marc.mandt
009760 and sapr3.mara.matnr = sapr3.marc.matnr
009770 and sapr3.mara.mandt = :p_mandt
009780 and sapr3.mara.matnr = :w_ebs-matnr
009790 and sapr3.marc.werks = :p_owerks
> ENDEXEC.
009810 endform. " extract_general_data
009820 *&
009830 *& Form append_i_ops
009840 *&
009850 * Appends W_OPS to I_OPS
009860 *
009870 form append_i_ops.
009880 append w_ops to i_ops.
009890 endform. " append_i_ops
009900 *&
009910 *& Form extract_material_description
009920 *&
009930 * Extracts a Material Description from the remote database an
009940 * modifies the current record in I_OPS.
009950 *
009960 * >P_SPRAS Language Key
009970 *
009980 form extract_material_description using p_spras.
009990 EXEC sql performing set_langauge.
Contents of system fields
SY field contents..................... SY field contents............
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 18 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+..
W_EBS-PRAT4
2
0
W_OPS-GROES
22222222222222222222222222222222
00000000000000000000000000000000
W_OPS-BRGEW #######
0000000
000000C
W_OPS-NTGEW #######
0000000
000000C
regards,
krishnaiah.Hi,
This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM. The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
side memory or other resource problem, or a DLL version mismatch, but this is
unlikely.
Enlist the assistance of your DBA. Then reproduce the ORA-3113 error on your
client application. Ask your DBA to look at the database side Alert.log and
trace files and look for ANY activity. Any activity that coincides with your
ORA-3113 will be a clue.
REgards
Vinod -
I have a user on an iMac 10.6 connected to our domain. She uses Outlook web access for email on our exchange server. Last week she received the following message which is randomly preventing her from sending emails. She claims no attachment was involved in the original email when this all started. I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue. I realize this may not be Mac related but thought I'd give it a try. She did say it occurred once over two days while working on a PC but it continued over the past weekend.
If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!! -
PL/SQL: ORA-04052: error occurred when looking up remote object.
Hi All,
I'm getting the following error message while executing a PL/SQL Block.
PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
ORA-00604: error occurred at recursive SQL level 1
ORA-03106: fatal two-task communication protocol error
ORA-02063: preceding line from FTSStatement
declare
v_coun number;
begin
select count(*) into v_coun
from updluser.filestatushistory@fts;
end;Back ground of the situation as follows,
My DataBase version 10.2.0.3 DB Name :DB1
Table Owner : UPLDUSER
Table Name : FILESTATUSHISTORY
I have a report user on the same database and I have grant all on the above table to report user
Report User : RPT_FTS
SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
Database version : 9.2.0.8
DB Name : DB2
User Name : RPT_REPORTS
I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Now the strange about this is that I have Created a new table on DB1 db like below;
SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
Just wants To know what whould have been the cause for this .
Cheers
KanchanaHi Kanchana,
Perhaps following link of google search has answer to your query
ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
HTH!
*009*
Maybe you are looking for
-
My wife and I have been sharing my iCloud account which is very convenient because we automatically get the same calendar, contacts and notes on our devices. If I were to put her on a separate iCloud account, can we automatically share our contacts
-
How to remove "all day" as the default setting in iCal?
How to remove "all day" as the default setting in iCal? The iCloud calendar works by double-clicking but the local behaves differently.
-
Why will Mozilla not unload when asked
My laptop was running slow so uninstalled Firefox, but one program is still there with a date of 6th April and it won't uninstall why not? Mozilla firefox 37.0 MY printer has stopped working because of this, so Firefox please sort.
-
Premiere timeline plays fine, but output extremely slow and screen lags
In Adobe Premiere CS6 I've been working on this timeline. I've added some effects to a couple clips such as drop shadow and basic 3D. The timeline plays perfectly fine. However, when I go to output this sequence to H.264 or MPEG 2 for DVD the firs
-
Photoshop 2014 shuts down when printing
my photoshop 2014 keeps shutting down when trying to print a picture.