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.
This is my code using File Reader and BufferedReader. I have a minor problem whereby i want to perform a method to check whether is there any additional data in every line in the text file. if yes, it will continue to display, if not, it will then stop. i know i could use hasNext but i couldn't get the condition right. could someone help me on this? thanks alot.
If i want to insert my data into the database, must i use an array to do that? because i have to display out the data stored in eclipse and insert into the database at the same time. or i do not have to create array in order to perform this method? thanks alot!
Joined: Jun 19, 2001
what database are you using ? assuming it is a "real" database (and not just a file) you probably want to use JDBC. this is a completely different story again...
i suggest you read up on JDBC, install a DB, try to make some simple examples and then get back to your original problem.
Joined: Oct 11, 2006
I m using db4o as my database. It's a open source database. So it doesn't require jdbc. Just add the external jar file. =) Thanks alot for your help