Skip to content

Commit c1e3103

Browse files
Release v1.0.3 (#43)
1 parent 12b3eb8 commit c1e3103

File tree

8 files changed

+82
-63
lines changed

8 files changed

+82
-63
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111

1212
env:
1313
COBOL4J_LIB_DIR: /usr/lib/opensourcecobol4j
14-
COBOL4J_SQLITE_JDBC_PATH: /usr/lib/opensourcecobol4j/sqlite.jar
1514
COBOL4J_LIBCOBJ_JAR_PATH: /usr/lib/opensourcecobol4j/libcobj.jar
1615
OCESQL4J_LIB_DIR: /usr/lib/Open-COBOL-ESQL-4j
1716
OCESQL4J_POSTGRESQL_JDBC_PATH: /usr/lib/Open-COBOL-ESQL-4j/postgresql.jar
@@ -96,7 +95,6 @@ jobs:
9695
- name: Install JDBC
9796
run: |
9897
mkdir -p $COBOL4J_LIB_DIR $OCESQL4J_LIB_DIR
99-
curl -L -o $COBOL4J_SQLITE_JDBC_PATH https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
10098
curl -L -o $OCESQL4J_POSTGRESQL_JDBC_PATH https://jdbc.postgresql.org/download/postgresql-42.2.24.jre6.jar
10199
102100
# Checkout opensource COBOL 4J
@@ -110,6 +108,7 @@ jobs:
110108
- name: Install opensource COBOL 4J
111109
run: |
112110
cd opensourcecobol4j
111+
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
113112
./configure --prefix=/usr/
114113
make
115114
make install

.github/workflows/coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
env:
1010
COBOL4J_LIB_DIR: /usr/lib/opensourcecobol4j
11-
COBOL4J_SQLITE_JDBC_PATH: /usr/lib/opensourcecobol4j/sqlite.jar
1211
COBOL4J_LIBCOBJ_JAR_PATH: /usr/lib/opensourcecobol4j/libcobj.jar
1312
OCESQL4J_LIB_DIR: /usr/lib/Open-COBOL-ESQL-4j
1413
OCESQL4J_POSTGRESQL_JDBC_PATH: /usr/lib/Open-COBOL-ESQL-4j/postgresql.jar
@@ -64,7 +63,6 @@ jobs:
6463
- name: Install JDBC
6564
run: |
6665
sudo mkdir -p $COBOL4J_LIB_DIR $OCESQL4J_LIB_DIR
67-
sudo curl -L -o $COBOL4J_SQLITE_JDBC_PATH https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
6866
sudo curl -L -o $OCESQL4J_POSTGRESQL_JDBC_PATH https://jdbc.postgresql.org/download/postgresql-42.2.24.jre6.jar
6967
7068
# Checkout opensource COBOL 4J
@@ -78,6 +76,7 @@ jobs:
7876
- name: Install opensource COBOL 4J
7977
run: |
8078
cd opensourcecobol4j
79+
curl -L -k -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
8180
./configure --prefix=/usr/
8281
make
8382
sudo make install

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
7+
## [1.0.3] - 2023-08-31
8+
9+
### Added
10+
- Implement the bulk fetch (#36)
11+
12+
### Optimized
13+
- Refactor the runtime library entirely and remove overheads (#36)
14+
- Implement caching for SQL statements (#36)
15+
16+
## [1.0.2] - 2023-04-30
17+
18+
### Added
19+
- Open COBOL ESQL 4J accepts `EXEC SQL INCLUDE "filename" END EXEC`
20+
### Fixed
21+
- Fix the bug related to the installation
22+
23+
## [1.0.1] - 2022-11-22
24+
25+
### Added
26+
- Implement host variables with COMP-3
27+
28+
### Fixed
29+
- Fix the bug of where clause
30+
- Fix the bug of EXEC SQL INCLUDE
31+
- Improve SQLCA
32+
33+
## [1.0.0] - 2021-12-02
34+
35+
### Added
36+
- Add test cases for COBOL data types, SQL data types and SQLCA
37+
- Support additional COBOL data types (S9(n), N(n)).
38+
- Create template documentations by Sphinx.

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-08-31 OSS Consortium <[email protected]>
2+
3+
* Open COBOL ESQL 4J v1.0.3 released.
4+
15
2023-04-30 OSS Consortium <[email protected]>
26

37
* Open COBOL ESQL 4J v1.0.2 released.

NEWS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
NEWS - user visible changes -*- outline -*-
22

3+
* Open COBOL ESQL 4J 1.0.3
4+
5+
** New Features
6+
(1) Implement the bulk fetch
7+
8+
** Improve the performance
9+
(1) Refactor the runtime library entirely and remove overheads
10+
(2) Implement caching for SQL statements
11+
12+
-----------------------------------------------------------------------
13+
314
* Open COBOL ESQL 4J 1.0.2
415

516
** New Features

README.md

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,21 @@
22

33
Open COBOL ESQL 4J (OCESQL 4J) consits of open-source Embedded SQL pre-compiler and run time libraries for [opensource COBOL 4J](https://github.com/opensourcecobol/opensourcecobol4j).
44

5-
6-
# Requirements
7-
8-
* Open-source database.
9-
OCESQL 4J currently supports PostgreSQL database only.
10-
11-
* [opensource COBOL 4j](https://github.com/opensourcecobol/opensourcecobol4j) v1.0.5 or later.
12-
13-
* [sbt](https://www.scala-sbt.org/)(Optional).
14-
15-
16-
# Installation
17-
18-
## Install the pre-compiler:
19-
20-
Run the following commands.
21-
22-
```sh
23-
./configure --prefix=/usr/
24-
make
25-
make install
26-
```
27-
28-
## Install runtime libraries:
29-
30-
### JDBC driver
31-
32-
Download [the PostgreSQL JDBC driver](https://jdbc.postgresql.org/download.html) and add the path to $CLASSPATH.
33-
34-
### ocesql4j.jar
35-
36-
Download the runtime library ocesql4j.jar in [Release page](https://github.com/opensourcecobol/Open-COBOL-ESQL-4j/releases) and add the path to $CLASSPATH.
37-
38-
#### Build ocesql4j.jar from source codes (Optional)
39-
40-
1. Put the libcobj.jar (runtime library of [opensource COBOL 4j](https://github.com/opensourcecobol/opensourcecobol4j)) into dblibj/lib/.
41-
2. Move to dblibj directory and launch [sbt](https://www.scala-sbt.org/).
42-
3. Run assembly command to create dblibj/target/scala-2.13/ocesql4j.jar.
43-
44-
45-
# Usage
46-
47-
Usage manuals is under construction.
48-
See test cases or sample programs.
49-
5+
# Supported software versions
6+
7+
* opensource COBOL 4J
8+
* 1.0.14
9+
* PostgreSQL
10+
* 9.6
11+
* 15
12+
* OS
13+
* Ubuntu 22.04
14+
* Almalinux 9
15+
* Java
16+
* OpenJDK 11
17+
18+
# Installation and Usage
19+
See [Wiki pages](https://github.com/opensourcecobol/Open-COBOL-ESQL-4j/wiki).
5020

5121
# TODO
52-
53-
- [ ] Support other COBOL data types (COMP3, SIGN LEADING, ... etc).
54-
- [ ] Create docker images.
22+
- [ ] Support other COBOL data types (SIGN LEADING, ... etc).

configure

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for Open COBOL ESQL 4J 1.0.2.
3+
# Generated by GNU Autoconf 2.71 for Open COBOL ESQL 4J 1.0.3.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -621,8 +621,8 @@ MAKEFLAGS=
621621
# Identity of this package.
622622
PACKAGE_NAME='Open COBOL ESQL 4J'
623623
PACKAGE_TARNAME='open-cobol-esql-4j'
624-
PACKAGE_VERSION='1.0.2'
625-
PACKAGE_STRING='Open COBOL ESQL 4J 1.0.2'
624+
PACKAGE_VERSION='1.0.3'
625+
PACKAGE_STRING='Open COBOL ESQL 4J 1.0.3'
626626
PACKAGE_BUGREPORT='[email protected]'
627627
PACKAGE_URL=''
628628

@@ -1375,7 +1375,7 @@ if test "$ac_init_help" = "long"; then
13751375
# Omit some internal or obsolete options to make the list less imposing.
13761376
# This message is too long to be a string in the A/UX 3.1 sh.
13771377
cat <<_ACEOF
1378-
\`configure' configures Open COBOL ESQL 4J 1.0.2 to adapt to many kinds of systems.
1378+
\`configure' configures Open COBOL ESQL 4J 1.0.3 to adapt to many kinds of systems.
13791379

13801380
Usage: $0 [OPTION]... [VAR=VALUE]...
13811381

@@ -1447,7 +1447,7 @@ fi
14471447

14481448
if test -n "$ac_init_help"; then
14491449
case $ac_init_help in
1450-
short | recursive ) echo "Configuration of Open COBOL ESQL 4J 1.0.2:";;
1450+
short | recursive ) echo "Configuration of Open COBOL ESQL 4J 1.0.3:";;
14511451
esac
14521452
cat <<\_ACEOF
14531453

@@ -1569,7 +1569,7 @@ fi
15691569
test -n "$ac_init_help" && exit $ac_status
15701570
if $ac_init_version; then
15711571
cat <<\_ACEOF
1572-
Open COBOL ESQL 4J configure 1.0.2
1572+
Open COBOL ESQL 4J configure 1.0.3
15731573
generated by GNU Autoconf 2.71
15741574

15751575
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2186,7 +2186,7 @@ cat >config.log <<_ACEOF
21862186
This file contains any messages produced by compilers while
21872187
running configure, to aid debugging if configure makes a mistake.
21882188

2189-
It was created by Open COBOL ESQL 4J $as_me 1.0.2, which was
2189+
It was created by Open COBOL ESQL 4J $as_me 1.0.3, which was
21902190
generated by GNU Autoconf 2.71. Invocation command line was
21912191

21922192
$ $0$ac_configure_args_raw
@@ -3674,7 +3674,7 @@ fi
36743674

36753675
# Define the identity of the package.
36763676
PACKAGE='open-cobol-esql-4j'
3677-
VERSION='1.0.2'
3677+
VERSION='1.0.3'
36783678

36793679

36803680
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -19698,7 +19698,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1969819698
# report actual input values of CONFIG_FILES etc. instead of their
1969919699
# values after options handling.
1970019700
ac_log="
19701-
This file was extended by Open COBOL ESQL 4J $as_me 1.0.2, which was
19701+
This file was extended by Open COBOL ESQL 4J $as_me 1.0.3, which was
1970219702
generated by GNU Autoconf 2.71. Invocation command line was
1970319703

1970419704
CONFIG_FILES = $CONFIG_FILES
@@ -19766,7 +19766,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
1976619766
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1976719767
ac_cs_config='$ac_cs_config_escaped'
1976819768
ac_cs_version="\\
19769-
Open COBOL ESQL 4J config.status 1.0.2
19769+
Open COBOL ESQL 4J config.status 1.0.3
1977019770
configured by $0, generated by GNU Autoconf 2.71,
1977119771
with options \\"\$ac_cs_config\\"
1977219772

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([Open COBOL ESQL 4J], [1.0.2], [[email protected]])
5+
AC_INIT([Open COBOL ESQL 4J], [1.0.3], [[email protected]])
66
AC_CONFIG_SRCDIR([config.h.in])
77
AC_CONFIG_HEADERS([config.h])
88
AM_INIT_AUTOMAKE

0 commit comments

Comments
 (0)