Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Install error "ORA-38818: illegal reference to editioned object MYUSER.UT_EXECUTABLE" #1161

Closed

Description

@jashka34

Describe the bug
Error installing utPLSQL v3.1.10 to my own schema.

Provide version info
utPLSQL v3.1.10
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

To Reproduce
Steps to reproduce the behavior:

  1. Download utPLSQL.zip v3.1.10 and unzip file.
  2. cd utPLSQL/source/
  3. Start sqlplus MYUSER/MYUSERPWD @install.sql MYUSER
  4. See error:
.....
create table ut_suite_cache
*
ERROR at line 1:
ORA-38818: illegal reference to editioned object XX_APEX.UT_EXECUTABLE

MYUSER schema definition:

SELECT editions_enabled
FROM dba_users
WHERE username = 'MYUSER'
---
Y

Activity

  1. jgebal commented on Nov 8, 2021

    @jgebal
    Member

    Hi @jashka34
    utPLSQL framework cannot be installed un edition-enabled schema.
    I strongly suggest installing utPLSQL in separate schema (database-wide) that is not edition-enabled.

    That way, all users of DB can use the framework.

    Are you trying to install utPLSQL in your "private" schema?

  2. jashka34 commented on Nov 9, 2021

    @jashka34
    Author

    @jgebal

    utPLSQL framework cannot be installed un edition-enabled schema.
    I strongly suggest installing utPLSQL in separate schema (database-wide) that is not edition-enabled.

    I guessed about it. Thank you for confirming my suspicions.

    But why then does the documentation not say a word about it (for example)? Probably need to create a issue about this? :)

    Are you trying to install utPLSQL in your "private" schema?

    Unfortunately, I do not have DBA rights. I only own one DB schema and tried to install in this schema.

  3. jgebal commented on Nov 9, 2021

    @jgebal
    Member

    Hi @jashka34
    I think there are two options.

    • I can try to make the utPLSQL framework installable in edition-enabled schema - no need to update documentation
    • I can update documentation to say it's not possible
      It was not mentioned in documentation as we didn't see such use-cases before and utPLSQL was not tested for this scenario.
  4. jashka34 commented on Nov 9, 2021

    @jashka34
    Author

    @jgebal

    I can try to make the utPLSQL framework installable in edition-enabled schema - no need to update documentation

    In my opinion, this is the best option. I'm sure it will be convenient for everyone. May be in a future versions?

    I can update documentation to say it's not possible

    Probably makes sense to do it for the current version.

    In the meantime, I am negotiating with the my admins to create a addtional scheme for utPLSQL. They promise to help. :)

  5. jgebal commented on Nov 11, 2021

    @jgebal
    Member

    The workaround for now would be for you to change all the source code and add:
    noneditionable to all packages/types/triggers/synonyms in utPLSQL installation.

    In order for us to do this in utPLSQL itself, we would need to drop support for Oracle 11g or would need to provide two separate sets of source code (with and without noneditionable keyword).
    The noneditionable was introduced in Oracle 12 and so we cannot simply add it without major complications or without dropping support.

    I have tested it locally and it worked like a charm on all DBs except 11g.

    So this is something to consider, think about and discuss before making a decision.

    The changes that are needed can be expressed with this regexp:
    change from:
    ^(create *(or *replace *)?)((package|type|trigger|synonym) *(body)?)
    change to:
    $1 noneditionable $3
    Where $1 represents the expression in first bracket and $3 in third bracket
    i used it for global search and replace in source code using IntelliJ IDE.
    Other editors might have different regexp support and other substitution (replace) syntax.

    Hope this helps a bit for now.

  6. jashka34 commented on Nov 12, 2021

    @jashka34
    Author

    @jgebal

    Thank you very much! I will definitely use this option next time.

    At the moment my admins have created noneditionable schema for me. I have installed the framework and it works fine!

  7. jeffreykemp commented on May 24, 2022

    @jeffreykemp
    • I can try to make the utPLSQL framework installable in edition-enabled schema - no need to update documentation

    This would be my preference as well.

  8. self-assigned this
    on May 24, 2022
  9. added this to the 3.1.13 milestone on May 24, 2022
  10. pinned this issue on May 24, 2022
  11. jgebal commented on May 24, 2022

    @jgebal
    Member

    Let me see if I can make it happen.
    I think I had a branch open for this some time ago.

  12. modified the milestones: v3.1.13, v3.1.14 on May 21, 2023
  13. jgebal commented on Nov 1, 2024

    @jgebal
    Member

    @amithdas99
    This could be a good issue to start with.
    As far as I remember it should be a pretty simple change in utPLSQL objects to make them explicitly non-editionable.
    As for testing, the installation script for our github actions pipeline should create schema that is editionable and the installation of utPLSQL should still be successful - that would be a sufficient validation I think.

  14. amithdas99 commented on Nov 2, 2024

    @amithdas99

    @amithdas99 This could be a good issue to start with. As far as I remember it should be a pretty simple change in utPLSQL objects to make them explicitly non-editionable. As for testing, the installation script for our github actions pipeline should create schema that is editionable and the installation of utPLSQL should still be successful - that would be a sufficient validation I think.

    @jgebal Sure, I'll be checking this. Thank you!

  15. amithdas99 commented on Nov 2, 2024

    @amithdas99

    @amithdas99 This could be a good issue to start with. As far as I remember it should be a pretty simple change in utPLSQL objects to make them explicitly non-editionable. As for testing, the installation script for our github actions pipeline should create schema that is editionable and the installation of utPLSQL should still be successful - that would be a sufficient validation I think.

    @jgebal Sure, I'll be checking this. Thank you!

    @jgebal I actually have 11g database only installed in my system so when I try to add the 'noneditionable' clause to the 'create or replace package/procedure' I am getting an error. So would you suggest I download a database like 12g or above and install utlplsql and try to add this clause on all objects. Would that be a correct approach to this issue.

  16. jgebal commented on Nov 3, 2024

    @jgebal
    Member

    I use docker to run different database versions on my local machine eithout need to worry about the versions conflicts etc.

    So it would be my recommendation to start like this.
    The benefit is the ease to reset ( wipe clean ) the database.

    Here are instructions on how to run free Iracle DB docker containers.
    https://github.com/gvenzl/oci-oracle-xe

  17. amithdas99 commented on Nov 4, 2024

    @amithdas99

    I use docker to run different database versions on my local machine eithout need to worry about the versions conflicts etc.

    So it would be my recommendation to start like this. The benefit is the ease to reset ( wipe clean ) the database.

    Here are instructions on how to run free Iracle DB docker containers. https://github.com/gvenzl/oci-oracle-xe

    @jgebal thank you so much! Let me try this.

  18. removed this from the v3.1.14 milestone on May 9, 2026
  19. unpinned this issue on Jun 15, 2026
  20. added a commit that references this issue on Aug 21, 2026
    f3bfcae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions