Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

eaxdev/MySQL-NDB-example-with-ClusterJ

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
117 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov

MySQL-NDB-example-with-ClusterJ

This is example for using MySQL NDB Cluster (via ClusterJ library).

Using:

  • SpringBoot
  • ClusterJ
  • TestContainers
  • JUnit5

Preparation for launch:

  • Install docker

  • Download NDB ClusterJ (Java Connector for NDB) library and install it via package manager: https://dev.mysql.com/downloads/cluster/

  • Download ndbclient_7.6.9

  • add clusterj dependency via Maven to local repo:

mvn install:install-file -DgroupId=com.mysql.ndb -DartifactId=clusterj -Dversion=7.6.9 -Dpackaging=jar -Dfile=clusterj-7.6.9.jar -DgeneratePom=true
  • Run tests via Maven:
mvn -DargLine="-Djava.library.path=/usr/lib/x86_64-linux-gnu/" clean test

when /usr/lib/x86_64-linux-gnu/ path to ndbclient_7.6.9.so

For example, see .github/workflows/maven-ci-build.yml for more details.

About

Example for using MySQL NDB Cluster via ClusterJ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.