Hello,
I am doing project in Swing and Access. I have some Tables in database.. Now I need to retrive some values from it and put in Hashmap.
For ex: I have 3 tables like Node, Card, Line.
Node table contains Node name, Node id, etc..
Card table contains Node id, Card Type..
Line table contains Node id, Line Type..
Now i want values from fields Node name,Card Type, Line Type and to be put in Hashmap..so that based on these values, I have to construct an JTree..
Could anybody plz say what is the respective code to retrieve from database
and put it in Hashmap..
Thanks in advance,
I am doing project in Swing and Access. I have some Tables in database.. Now I need to retrive some values from it and put in Hashmap.
For ex: I have 3 tables like Node, Card, Line.
Node table contains Node name, Node id, etc..
Card table contains Node id, Card Type..
Line table contains Node id, Line Type..
Now i want values from fields Node name,Card Type, Line Type and to be put in Hashmap..so that based on these values, I have to construct an JTree..
Could anybody plz say what is the respective code to retrieve from database
and put it in Hashmap..
Thanks in advance,
Comment