prepared statement - record(line) terminator in BufferedReader of Java -


i reading file hadoop. file delimited ctrl+b character. must load these files vertica database.

i reading hadoop files line line , inserts records using prepared statements. of records in files contains new line(soh control character) in values(eg; address, comments). using readline() on bufferedreader object hadoop file. so, rejects of records containing newlines in columns. reads these records 2 records missing column values. causes database reject them.

the file delimited stx(ctrl+b). columns values containing new lines having soh(ctrl+a) inside them. question how read these lines such. help?

these aren't lines such in terms of bufferedreader.readline(), , bytes concerned not characters in terms either. have use inputstream , terminators yoursef


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -