Newbie: Simple Update Query JDBC problem
From: James Kyle (jameskyle_at_shaw.ca)
Date: 01/26/04
- Next message: Joe Weinstein: "Re: choices regarding where to place code - in the database or middletier"
- Previous message: Alex Molochnikov: "Re: Which database to choose"
- Next in thread: Robert Klemme: "Re: Newbie: Simple Update Query JDBC problem"
- Reply: Robert Klemme: "Re: Newbie: Simple Update Query JDBC problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 01:15:05 GMT
Hi,
I am new to java and am on my way to learning but presently I am looking for
your opinion on a solution.
The problem is as follows;
I have a comma separated text file consisting of a key field (customer
number) and lets say one data field (new_phone#).
Utilizing that .csv file as input I would like a java program to read an
oracle database by the same key field (ora_customer#) and then populate a
JTable with the data if it is different. (showing KEY FIELD, new_phone#,
ora_old_phone#).
I have a JDBC driver for both the comma separated file and the oracle
table, so that is not the problem. I just don't know the best way to
approach this. Read the CSV file into a vector and then use the csv
customer number as part of the select statement ?
If anyone knows how to do this or knows of a tutorial that does something
just like this please let me know. (I haven't seen any that utilize 2
different datasources).
Thanks
- Next message: Joe Weinstein: "Re: choices regarding where to place code - in the database or middletier"
- Previous message: Alex Molochnikov: "Re: Which database to choose"
- Next in thread: Robert Klemme: "Re: Newbie: Simple Update Query JDBC problem"
- Reply: Robert Klemme: "Re: Newbie: Simple Update Query JDBC problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|