title: Parse SQL file with Java and get statements and comments
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/660609/sql-parser-library-for-java">SQL parser library for Java</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to use ready solution for parsing SQL file. File can contain comments, SQL statements, DDL.
  I need to get comments, all SQL statements. 
  Doesn anyone know ready solution? I wouldn't like to ivent one more square wheel..</p>
  
  <p>P.S.
  Please pay atttention that I don't need to ignore comments, I need to get text from comments in file</p>