You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This data loss happens regardless if the bind variable is input or output one.
I can't confirm if this happens only when the subtype has a number member while the last member of the supertype is also a number, as its the only case I've found so far.
The text was updated successfully, but these errors were encountered:
This is bug, indeed related to super type / sub types.
Thanks for reporting that :)
In the case of sub types deriving from super types, OCILIB is computing wrong offsets for sub object types members properties within the opaque oracle buffer holding objects data.
I've been working on a fix and will commit it this evening.
I will include a sample in the demo based on your example.
Hi,
I'm trying to work with inherited object types.
In Oracle I've defined a simple ADT and a subtype for it:
Then when binding the object with the subtype everything seems OK until i try to access the data from the subtype. In this case, the sid.
This data loss happens regardless if the bind variable is input or output one.
I can't confirm if this happens only when the subtype has a number member while the last member of the supertype is also a number, as its the only case I've found so far.
The text was updated successfully, but these errors were encountered: