Hello,
I'm using some Oracle types that belong to a certain schema. I've code
some classes that implement java.sql.SQLData to manage the conversion
between the java and oracle types.
The SQL type the classes report is "schema_name.object_name".
The application connects to the database by using an user different
from the one that owns the tables, and there are synonyms for all the
interested objects (tables, views, etc).
The problem is that if I remove the schema name from the sql type name
in the java class the object type is not found when passing an object
to or from a stored procedure, even though a synonym is created for
the object.
Any idea?
Thanks
Jeff Smith - 08 Apr 2004 12:26 GMT
Same problem here. I have to create the types in each schema.
If someone can shed light on this, I too, am listening.
Jeff
> Hello,
>
[quoted text clipped - 16 lines]
>
> Thanks
Jeff Smith - 08 Apr 2004 12:27 GMT
Oh yes, Oracle 8.1.7....
> Same problem here. I have to create the types in each schema.
>
[quoted text clipped - 22 lines]
> >
> > Thanks
bung ho - 15 Apr 2004 19:34 GMT
> Oh yes, Oracle 8.1.7....
> > Same problem here. I have to create the types in each schema.
[quoted text clipped - 23 lines]
> > >
> > > Thanks
i don't really remember if this is the issue i think it is, but trying
using all uppercase when specifying SCHEMA.TYPE_NAME in your java
code.
Jeff Smith - 19 Apr 2004 12:18 GMT
Found this:
Synonym support for user defined types was added in 9i Release 2 (9.2.x)
> > Oh yes, Oracle 8.1.7....
> > > Same problem here. I have to create the types in each schema.
[quoted text clipped - 27 lines]
> using all uppercase when specifying SCHEMA.TYPE_NAME in your java
> code.