MySQL Cluster Connector for Java is a new feature in the upcoming
Cluster 7.1.
It is an easy to use, high-performance Java and JPA interface for
MySQL Cluster. We currently call it simply Cluster/J and
Cluster/JPA. It is an Objection Relational bridge that maps Java
classes to tables stored in MySQL Cluster, and implements an
OpenJPA interface.
How does it work?
The new MySQL Cluster Connector for Java and JPA implementation
consist of two parts: an OpenJPA plugin and the standalone
Cluster/J API.
The standalone Cluster/J API allows you to write very simple Java
programs for MySQL Cluster. A read by primary key is then as easy
as
Fish e = session.find(Fish.class, 4711);
A query like the above is executed without using the MySQL
Server. Cluster/J API is a native MySQL Cluster-specific API,
which is a direct access path to Cluster which is very simple to …