So you want to store the entire JTable, with all rows and columns, into one column?
Do you want to store each JTable row in a database row, or do you want to store all JTable rows into one single database row?
If you want to store the entire JTable into one row, you can serialize the JTable's TableModel into the database. Setting it using a PreparedStatement stmt:
Retrieving it from a ResultSet rs:
If you want to store each JTable row in a separate database row,
you should create some object containing all the data (perhaps an Object[] or ArrayList<Object>), then store and retrieve that similar to the above.
In both cases the column must have a BLOB type.
A final
word: I think it is bad design to merge objects from different rows (and perhaps even columns) into one single column (perhaps even cell). A JTable has a clear tabular structure, database tables have a very very similar tabular structure. You can map these one one one if you if the number of columns matches.