Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC input parameter for type IS TABLE OF VARCHAR2  RSS feed

 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to set the input parameter for plan_list (Type DBMS_SPM.NAME_LIST) in dbms_spm.evolve_sql_plan_baseline in JDBC ,




and


Normally which kind of structure should we use in OracleCallableStatement query?


 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I find the answers for it. We can use setPlsqlIndexTable of OracleCallableStatement to bind the input parameter as table.

Thanks,


 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to




Which type should we set for DBMS_SPM.NAME_LIST in OracleCallableStatement?


Thanks,


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!