aspose file tools*
The moose likes JDBC and the fly likes moveToInsertRow() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "moveToInsertRow()" Watch "moveToInsertRow()" New topic
Author

moveToInsertRow()

ramchander yshetti
Ranch Hand

Joined: Apr 22, 2006
Posts: 97
hai good morning,
moveToInsertRow()
....
...
...
insertRow();

is inserting the record at end of the table sometimes,
sometimes it is inserting middle of the table.
why it happens so.

and
when we use moveToCurrentRow()
give one example.

thank q

bye
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30913
    
158

Yathamshetti,
The database can store records within a table in any order it pleases. The ordering methods only apply to your ResultSet object.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: moveToInsertRow()