i already can read from text file using string tokenizer and store it into the database. now the problem is, after it read line by line... but when it stores it.. it doesn't store the data in orderly format. it jumble up everything without following the sequence like in the text file?
can anyone help me on this? thanks
How do you know it doesn't store data in the desired order? Maybe you don't retrieve data ordered. Why do you want to order it upon insert, IMO this makes your logic depend on internal DB data representation, why don't you simply ORDER BY ... the data when you select from DB?