This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes adding text to a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC
Bookmark "adding text to a database" Watch "adding text to a database" New topic

adding text to a database

ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
i hope someone can help?
i have to read a text file and then send it to a database i know how to select from a database but do not know how to add my file to a database could anyone suggest any good ideas please
i will be most grateful
thanks ben
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

Do you need to send the Text into a database into a Field, or do you need to store the file as a binary object in the database?

GenRocket - Experts at Building Test Data
It is sorta covered in the JavaRanch Style Guide.
subject: adding text to a database