setCollection

Description

Configures the index-th parameter in the prepared statement as a collection corresponding to array. CUBRID has three types of collections: Set, Multiset and Sequence.

Syntax

void setCollection(int index, Object[] array)

Example

String[] strs = { "abc", "def"};

 

psmt.setCollection(1, strs);