This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
JDBC and Relational Databases
How to Store Vector in a table?
Joined: Mar 30, 2007
Jan 12, 2009 00:40:25
I have a class which contains a Vector of strings and hash table. How do I store data in a table? I need to store this class. I tried using JDO and Hibernet, but I did not find to store vector or Hashtable... please help me
Joined: Dec 22, 2008
Jan 12, 2009 01:13:09
I don't know a way to store objects directly actually. But you can iterate through your vector and your hashtable, and put the elements in a db table in each iteration.
Have you tried that?
Later equals never!
Have you checked out
subject: How to Store Vector in a table?
Storing an Java object in Access
I want to iterate all elements in vector and store it in another vector..?
Store Vector in MySql database
Problem storing a vector
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015