JNI bridge to MySQL's collation-based compare functions
Java C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src
.gitignore
.travis.yml
LICENSE
README.md
build.sh
collations-properties.sh
pom.xml

README.md

molindo-mysql-collations-lib

JNI bridge to MySQL's collation-based compare functions provided by libmysqlclient (MySQL's C client API).

See Introducing: molindo-mysql-collations-lib on Molindo Techblog for details.

Usage:

import at.molindo.mysqlcollations.lib.Collation;

Collation comparator = Collation.get("latin1_general_ci");
int val = comparator.compare("Foo", "foo");

Maven:

<dependency>
  <groupId>at.molindo</groupId>
  <artifactId>molindo-mysql-collations-lib</artifactId>
  <version>0.1.0</version>
</dependency>

Release available from Maven Central, snapshots from oss.sonatype.org.

CI Build:

Build Status