Reggie,
I want to clone a row in a table
Do you mean that you want to insert the same row, a second time? In other words, you want the same row to appear twice in the same table? You are aware, I assume, that you won't be able to do this if there is a unique index (or primary key) defined for the particular table, aren't you?
Or do you want to copy a row from one table to another?
In either case, you can do this via SQL alone. Most databases support something like:
So no need for data structures in
java. (Or am I missing something?)
Good Luck,
Avi.