org.kuali.common.jdbc
Class MySQLDumpReader

java.lang.Object
  extended by org.kuali.common.jdbc.DefaultSqlReader
      extended by org.kuali.common.jdbc.MySQLDumpReader
All Implemented Interfaces:
SqlReader

public class MySQLDumpReader
extends DefaultSqlReader

This only works reliably because the data written to disk by mysqldump escapes carriage returns and linefeeds. If the text data contained in a database happens to have the character sequence ";\n", mysqldump escapes the "\n" and thus prevents the ";" from appearing at the end of the line.


Field Summary
 
Fields inherited from class org.kuali.common.jdbc.DefaultSqlReader
DEFAULT_COMMENT_TOKENS, DEFAULT_DELIMITER, DEFAULT_DELIMITER_MODE, DEFAULT_IS_IGNORE_COMMENTS, DEFAULT_IS_TRIM, DEFAULT_LINE_SEPARATOR
 
Constructor Summary
MySQLDumpReader()
           
 
Method Summary
 
Methods inherited from class org.kuali.common.jdbc.DefaultSqlReader
getCommentTokens, getDelimiter, getDelimiterMode, getLineSeparator, getMetaData, getReturnValue, getSql, ignore, isEndOfSqlStatement, isIgnoreComments, isSqlComment, isTrim, proceed, setCommentTokens, setDelimiter, setDelimiterMode, setIgnoreComments, setLineSeparator, setTrim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLDumpReader

public MySQLDumpReader()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.