3d7f86dcfc | ||
---|---|---|
HelloWorld.java | ||
LICENSE | ||
README.md | ||
intersystems-jdbc-3.2.0.jar |
README.md
Samples-java-helloworld
This is a simple Hello World example to show a JDBC connection to InterSystems IRIS. It retrieves and outputs sample petstore data that has been preloaded into your instance of InterSystems IRIS.
Run the sample
In the integrated terminal window type:
cd /home/project/Samples-java-helloworld
javac -cp ".:intersystems-jdbc-3.2.0.jar" HelloWorld.java
java -cp ".:intersystems-jdbc-3.2.0.jar" HelloWorld
This outputs data about the first five birds stored within InterSystems IRIS.
Keep Exploring
- To see another example using Java and InterSystems IRIS, see the Java multi-model example or the Java QuickStart.
- Or continue to work with the preloaded petstore data.