This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Please let me know any related info to slove my problem.
I want to persist Object into database. That typically contains Hashtables, Vectors.
Here is the my class definition :
Class : NAME
Instance variables are :
String name; (Ex: Hyd-Shelf)
String moType; (Ex: Shelf,card,ring etc)
String neName; (Ex : 10.29.128.160)
Class : AMO
I need to store AMO objects and each AMO object is identified by key (NAME).
As of now, we are storing them in hash tables like this :
--------Shelf (moType of AMO class )-------+
1. Here key as "moType" to get value as all hashtables.
2. Here key as "neName" to get values as Hashtable
3. At last give key as "name" to get AMO object
Here my class contains data as hastable to store some network element information.
Some AMOs are act as parents and childers, to maintian whoe are the parents of this AMO . I need to persist this data.. hiw can I do that? I heard about Hibernet. I need to store vectors and hastbales in database.