Skip to content

Commit c0a6d1c

Browse files
committed
Merge branch 'vlkong-master'
2 parents c235538 + e8dd06d commit c0a6d1c

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,19 @@ using a jdbc-custom-data-source from `oplrun` or OPL Studio.
6565

6666

6767
## Export plain dat files
68+
6869
* When running the `ant` command with the DB2/mysql target, simply add `-Dexport=result.dat` on the command line, and it will export all the tuplesets that have been extracted from the database to `result.dat` file.
6970

7071
## Run with another OPL version
72+
7173
* Edit the build.xml at the root of the directory, and adapt the `example.home` variable to point to your 12.x version.
7274
* Recompile the project
7375

76+
## Limitations
77+
78+
* The custom data source reader supports scalar values, tuples and tuplessets. Arrays are not supported.
79+
* Inner tuples are not supported.
80+
7481
## License
7582

7683
This sample is delivered under the Apache License Version 2.0, January 2004 (see LICENSE.txt).

build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
</target>
5151

5252
<target name="jar" depends="compile">
53-
<jar destfile="lib/jdbc-custom-data-source.jar" basedir="${build}"/>
53+
<jar destfile="lib/jdbc-custom-data-source.jar" basedir="${build}"
54+
manifest="src/main/resources/META-INF/MANIFEST.MF"/>
5455
</target>
5556

5657
<target name="run" depends="compile">

lib/jdbc-custom-data-source.jar

58 Bytes
Binary file not shown.

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
<excludes>
6060
<exclude>**/log4j.properties</exclude>
6161
</excludes>
62+
<archive>
63+
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
64+
<manifestEntries>
65+
<Specification-Version>${version}</Specification-Version>
66+
</manifestEntries>
67+
</archive>
6268
</configuration>
6369
</plugin>
6470
</plugins>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Specification-Title: JDBC custom data source for OPL
2+
Specification-Version: 1.0
3+
Specification-Vendor: IBM

0 commit comments

Comments
 (0)