Was the file in fact created to be a random access file from the get-go? You may wish to give more detail on just what is going on here.
Please understand that database file often has special connotation here -- that being a file created and maintained by a database such as MySQL, and that your stating this initially confused me (sorry, but I'm easily confused!) and perhaps others as well.
Pavlo Rybakov wrote:Sorry, guys, my question was can I use in SCJD RandomAccessFile or MUST I use FileInputStream/FileOutputStream
I found answer in old topics ( "yes, i can" ).
No need to apologize as I think it is my confusion here, not yours. Luck!