• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Store Vector in a table?

 
SeetaramRao Rayarao
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Lars Arnbak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic