Thread: updating Arrays

updating Arrays

From
Guido Fiala
Date:
Hallo,

while using the datatype array with getObject() one can easily work with
getArray() and has the data available.

But i have some problems to understand how the opposite way works,
the method updateObject() does take an array too or using updateArray()
in the following cases:

-getArray() returns null, but the user wants to inserts some values
-getArray() returns an array with say, 4 elements, the user wants to insert
one with more or less than 4 dimensions
-getArray() returns an array and the user just wants to changes some values in

How can i achieve this? (for various datatypes)
Do i really need an prepared Statement? (so far i don't need that in my app)

Thanks for any help,
Guido