Log in

View Full Version : How to send data that is read from a text file to sql database using java n only java


jay_5114
Mar 14, 2017, 10:41 AM
I need to read a text file that is in client machine and then send its content(String) directly to sql database table in the server
Its not specific TCP or UDP



Thanks in advance
Jay

CravenMorhead
Mar 15, 2017, 08:36 AM
Will the app be running on the Client machine or the server?

1). Create a program that will query a table on the database server from the client machine. Java should have some api to do that.
2). Read in file.
3). Generate insert/update query and send to database.