| ORA-38818: illegal reference to editioned object [message #559306] |
Mon, 02 July 2012 02:48  |
b_chugh
Messages: 68 Registered: August 2005 Location: delhi
|
Member |
|
|
Hi All
When I am trying to create a public synonym for a package then I am getting this error. This error tells us that non editioned object(Public Synonym) can not refenrence the editioned object(Package in this case).
Please let me know how to avoid this error.
One of the solution provided on one of t he site is to create local synonym instaed of public synonym but I need to create public synonym only.
Regards
B_chugh
|
|
|
|
| Re: ORA-38818: illegal reference to editioned object [message #559307 is a reply to message #559306] |
Mon, 02 July 2012 02:53   |
 |
Michel Cadot
Messages: 68776 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:Please let me know how to avoid this error.
Replace public synonym by private ones.
Quote:but I need to create public synonym only.
No, you don't need that.
It has always been a bad practice and it was always recommended to use private synonyms.
You can't workaround this error unless you don't use editions (and have to recreate your database to change all your accounts to not edition-enabled ones).
Regards
Michel
[Updated on: Mon, 02 July 2012 02:54] Report message to a moderator
|
|
|
|
| Re: ORA-38818: illegal reference to editioned object [message #560306 is a reply to message #559306] |
Thu, 12 July 2012 00:41   |
b_chugh
Messages: 68 Registered: August 2005 Location: delhi
|
Member |
|
|
Hi All
Now When I am creating private synonym then also I am getting the same error.
I am using the following command to create synonym for a package which has edition information:
create synonym user2.pack_test for user1.pack_test;
and I get the same error as:
ORA-38818: illegal reference to editioned object user1.pack_test
Please let me know if I am doing anything wrong OR what is the wayout to create SYNONYM on editioned object.
Thanks
|
|
|
|
|
|
|
|
|
|
|
|