This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle.sql.STRUCT and db user rights

 
Jina Lu
Greenhorn
Posts: 26
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe someone could explain me what action is called in database when in java we are creating new oracle.sql.STRUCT object?

Struct struct = new STRUCT(StructDescriptor.createDescriptor("SCHEMANAME.TEST", dbOracleConnection), dbOracleConnection, myMap);

I needed to check if all required rights are provided to db user.

Thanks a lot in advance.
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to grant the EXECUTE privilege to users that should be able to use your type.

Edit: see also http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8001.htm
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic