title: How to map SQL collation setting to a Java comparator?
body: <p>Is there a way to translate a database's collation setting (e.g. <code>SQL_Latin1_General_CP1_CI_AS</code>) to a Java <code>Comparator</code> implementation so I can apply the same ordering as the database does, using in Java code?</p>
  
  <p>Is there an existing library that already provides this mapping?</p>