-
January 26th, 2015, 10:46 PM
#1
i need to import a text file into MS Access database using java code
i need to import a text file containing readings for sensors eg.34 56 4 75 23 (separated by space)to a MS access database(very imp).i am using eclipse IDE with JDK 7(since it accepts JDBC:ODBC Connections).
-
February 25th, 2015, 02:48 AM
#2
Re: i need to import a text file into MS Access database using java code
What have you tried? Where are you stuck?
You can do it in the way of first reading the text file line by line and splitting the lines by space, storing the values to array of strings or objects or whatewer structure. Then create and open the connection to ms access database and fill it with insert statements or (i think it is not necessery) with some jpa provider like openjpa, hibernate etc.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|