Testing Using the memory IP Java Example
- Last Updated: April 5, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
The following procedure uses a shell script on a 64-bit AIX machine.
-
Build the memory IP Java example:
$JRE=/usr/java/jre # set JRE to value used in installation$alias javac=$JRE/../bin/javac$javac -classpath ip/oajava/oasql.jar ip/oajava/*/*.java -
Create a new data source by duplicating the DataSourceName service data source. Set Port to OpenAccessSDK900_Java and ServerDataSource to memory.
$ vi $ODBCINI [MemoryJavaExample] Driver=/usr/oaodbclocal900/lib64/ivoal27.so Description=Memory Ip Java example Host=/usr/oaodbclocal900/cfg/oadm.ini Port=OpenAccessSDK900_Java ServerDataSource=memory CustomProperties= -
If necessary, add platform-specific information (see Platform-specific Requirements).
- Add the value of JRELIBPATH to library path or edit oalocal.sh.
- On AIX 64-bit, add LDR_CNTRL=USERREGS.
-
Test the data source MemoryJavaExample using
tools/odbcisql.$tools/odbcisqlISQL>CONNECT pooh*bear@MemoryJavaExampleISQL>SELECT * FROM emp;ISQL>SELECT * FROM dept;ISQL>SELECT * FROM oa_tables;