Java
Java client artifacts are published to Maven Central under the com.intersystems group ID.
Artifacts
| Artifact | Maven coordinates | Documentation |
|---|---|---|
| JDBC driver | com.intersystems:intersystems-jdbc | JDBC Driver Support |
| XEP driver | com.intersystems:intersystems-xep | Using XEP with Java |
| Document API | com.intersystems:intersystems-document | InterSystems Document API |
Installing Maven
These artifacts are normally consumed through Apache Maven, a build tool that downloads dependencies for you. If you don’t have it yet:
Check your installation with mvn -version.
Adding the artifacts to your project
Copy the dependency you need into the <dependencies> section of your pom.xml. Check the Maven Central pages linked above for the latest version of each artifact.
JDBC driver
<dependency>
<groupId>com.intersystems</groupId>
<artifactId>intersystems-jdbc</artifactId>
<version>3.11.0</version>
</dependency>
XEP driver
<dependency>
<groupId>com.intersystems</groupId>
<artifactId>intersystems-xep</artifactId>
<version>TBC</version>
</dependency>
Document API
<dependency>
<groupId>com.intersystems</groupId>
<artifactId>intersystems-document</artifactId>
<version>1.0.3</version>
</dependency>
Downloading a jar file from the command line
To fetch a library as a plain jar file without setting up a project, use the Maven dependency plugin. This example downloads the JDBC driver into the current directory:
mvn dependency:copy -Dartifact=com.intersystems:intersystems-jdbc:3.11.0 -DoutputDirectory=.
Change the coordinates to download the XEP driver or the Document API instead.
Hibernate
InterSystems IRIS is supported by Hibernate ORM starting with Hibernate 7.4. This support is part of Hibernate itself and is not available as a separate artifact. See Hibernate API in the InterSystems documentation.