DPY-2035: invalid object type name #149
-
Hi, I'm trying to access a subtype in a custom package, but i receive a "DPY-2035: invalid object type name" error as well as a "OCI-22303" error from Oracle when trying to access it. I'm using the below code in Python
I can access other non subtypes fine in the same way. I can also access the subtype fine through datagrip. Is there a specific way that i should be accessing subtypes? Thanks, Steve. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
Can you provide more detail? Specifically, the create type statements that result in this error? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Here's the definition of the package as a whole: timecard_info is defined on line 122. It looks like is a table of building_block_info, which is defined on line 97. building_block_info looks like it takes most of it's types from hxc_time_building_blocks, the definition for that is here (i believe) - https://etrm.live/etrm-12.1.1/etrm.oracle.com/pls/et1211d9/etrm_pnavaf53.html Hope thats what you need :) |
Beta Was this translation helpful? Give feedback.
-
Any news about this issue? Getting the exact same error message with oracledb 1.4.2 |
Beta Was this translation helpful? Give feedback.
-
That did the trick! Converting the name to all uppercase solved the issue, thank you very much for your help! |
Beta Was this translation helpful? Give feedback.
You can find out by getting the result of this:
This may be as simple as converting the name to all uppercase. Type names are case sensitive. If you create the type without quotes, however, Oracle Database converts the name to all uppercase!