Also i'm planning to connect MySQL Cluster via ClusterJ to achieve high performance.

Running the java command from one of my SQL Node. Facing the following error when trying to execute the java file.

java -classpath /usr/local/mysql/share/java/clusterj-api-7.3.5.jar:. -Djava.library.path=/usr/local/mysql/lib Main
Exception in thread "main" com.mysql.clusterj.ClusterJFatalUserException: No instance for service com.mysql.clusterj.SessionFactoryService could be found. Make sure that there is a file META-INF/services/com.mysql.clusterj.SessionFactoryService in your class path naming the factory class.
at com.mysql.clusterj.ClusterJHelper.getServiceInstance(ClusterJHelper.java:157)
at com.mysql.clusterj.ClusterJHelper.getSessionFactory(ClusterJHelper.java:67)
at com.mysql.clusterj.ClusterJHelper.getSessionFactory(ClusterJHelper.java:54)
at Main.main(Main.java:32)
[root@localhost MySQLCluster]#

Also i tried to use the jpa but i couldn't find the jar in my server. I have installed mysql-cluster 7.3 version.

Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.