aspose file tools*
The moose likes Java in General and the fly likes How to pick the data from the Table and keep in Hash map for the validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to pick the data from the Table and keep in Hash map for the validation" Watch "How to pick the data from the Table and keep in Hash map for the validation" New topic
Author

How to pick the data from the Table and keep in Hash map for the validation

sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Dear All,

Suppose we have a database table called xyz.
We have read the data from the table and keep in HASHMAP.
Let say

I want data should read from Xyz Table and keep all the record in HASHMAP.
If (EMP_TYPE=EMP) THEN REPLACE ā€˜Eā€™
If (EMP_TYPE= CON) THEN REPLACE ā€˜Cā€™

Please help me for the needful.

Thanks in advance.

Regards,
Sumanta Panda
sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Please suggest me for the needful.

Thanks and Regards,
Sumanta Panda
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18117
    
    8

There's a list of general questions there. Let's start with the first one, getting the data from a table:

JDBC Database Access Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pick the data from the Table and keep in Hash map for the validation
 
Similar Threads
what is the dao layer
hashmap and jdbc
Creating Indexes on Number Columns
hashmap and jdbc
How to pass arrays using JDBC to database?