在編寫Java存儲過程時,我經常通過oracle.sql.ARRAY
參數接收值。但是,如何通過oracle.sql.ARRAY
參數導出值?例如:如何修改Java存儲過程中的oracle.sql.ARRAY參數?
public static void fetchFavoriteFoods(oracle.sql.ARRAY favoriteFoods) {
// What must be done here to add "pizza" and "cheese burger" to favoriteFoods?
}