Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exeption ORA-50071: Custom type mapping is not specified or is invalid

Patrick KernJan 30 2024

Hi,

we use "Oracle.ManagedDataAccess.Core" Version="23.3.1-dev" with Oracle DB 19c.

we have issues retrieving UTD's when a CustromTypeFactory-Assembly is loaded later at runtime.

we can see that the class “OracleUdt” build a HashTable “s_mapUdtNameToMappingObj” at the first UTD retrieve/call. this hash table is never been rebuilded.

if an assembly is loaded after this call, the hash table is not “up to date". is there a way we can rebuild this hashtable or disable caching?

thanks

This post has been answered by Patrick Kern on Feb 20 2024
Jump to Answer
Comments
Post Details
Added on Jan 30 2024
11 comments
1,915 views