I have a problem in reading a flat file from java. I am having DAT file created by cobol program. It contains employees information. Problems is it does not have delimiters. How ever i could use jdbc-odbc driver for connection(DSN) as it is having fixed length specification about columns in DAT file. Connection was created successfully. But while selecting records it is saying it is a readonly connection. But the Connection isReadOnly() property is false. Please give me solution..