Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit df882ce

Browse files
Merge branch 'develop' into master
2 parents c47c66b + 76d27c8 commit df882ce

15 files changed

+297
-532
lines changed

CONTRIBUTING.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
## Contributing
22

3-
We would absolutely love to get the community involved, and we welcome any form of contributions – comments and questions on different communication channels, issues and pull request in the repositories, and anything that you build and share using our components.
3+
We would absolutely love to get the community involved, and we welcome any form of contributions – comments and
4+
questions on different communication channels, issues and pull request in the repositories, and anything that you build
5+
and share using our components.
46

57
### Get in touch with the team
68

7-
Twitter: https://twitter.com/xdevsoftware
9+
Twitter: https://twitter.com/xdevsoftware
810
<br/>
911
Mail: opensource@xdev-software.de
1012

@@ -13,33 +15,44 @@ Mail: opensource@xdev-software.de
1315
- **Report bugs**: File issues on GitHub.
1416
- **Send pull requests**: If you want to contribute code, check out the development instructions below.
1517

16-
We encourage you to read the [contribution instructions by GitHub](https://guides.github.com/activities/contributing-to-open-source/#contributing) also.
18+
We encourage you to read
19+
the [contribution instructions by GitHub](https://guides.github.com/activities/contributing-to-open-source/#contributing)
20+
also.
1721

1822
## Developing
1923

2024
### Software Requirements
25+
2126
You should have the following things installed:
27+
2228
* Git
23-
* Java 8, 11 or 17 - should be as unmodified as possible (Recommended: [Eclipse Adoptium](https://adoptium.net/temurin/releases/))
29+
* Java 8, 11 or 17 - should be as unmodified as possible (
30+
Recommended: [Eclipse Adoptium](https://adoptium.net/temurin/releases/))
2431
* Maven
2532

2633
### Recommended setup
34+
2735
* Install ``IntelliJ`` (Community Edition is sufficient)
2836
* Install the following plugins:
29-
* [Save Actions](https://plugins.jetbrains.com/plugin/7642-save-actions) - Provides save actions, like running the formatter or adding ``final`` to fields
37+
* [Save Actions](https://plugins.jetbrains.com/plugin/7642-save-actions) - Provides save actions, like running the
38+
formatter or adding ``final`` to fields
3039
* [SonarLint](https://plugins.jetbrains.com/plugin/7973-sonarlint) - CodeStyle/CodeAnalysis
3140
* [Checkstyle-IDEA](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea) - CodeStyle/CodeAnalysis
3241
* Import the project
3342
* Ensure that everything is encoded in ``UTF-8``
3443
* Ensure that the JDK/Java-Version is correct
3544

36-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/xapi-db-hsqldb2/release.yml?branch=master)](https://github.com/xdev-software/xapi-db-hsqldb2/actions/workflows/release.yml)
45+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/xapi-db-hsql2/release.yml?branch=master)](https://github.com/xdev-software/xapi-db-hsql2/actions/workflows/release.yml)
3746

3847
Before releasing:
39-
* Consider doing a [test-deployment](https://github.com/xdev-software/xapi-db-hsqldb2/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
48+
49+
* Consider doing
50+
a [test-deployment](https://github.com/xdev-software/xapi-db-hsql2/actions/workflows/test-deploy.yml?query=branch%3Adevelop)
51+
before actually releasing.
4052
* Check the [changelog](CHANGELOG.md)
4153

4254
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes.
4355

4456
When the release is finished do the following:
45-
* Merge the auto-generated PR (with the incremented version number) back into the ``develop``
57+
58+
* Merge the auto-generated PR (with the incremented version number) back into the ``develop``

README.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
1-
[![Latest version](https://img.shields.io/maven-central/v/com.xdev-software/xapi-db-hsqldb2)](https://mvnrepository.com/artifact/com.xdev-software/xapi-db-hsqldb2)
2-
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/xapi-db-hsqldb2/checkBuild.yml?branch=develop)](https://github.com/xdev-software/xapi-db-hsqldb2/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
3-
[![javadoc](https://javadoc.io/badge2/com.xdev-software/xapi-db-hsqldb2/javadoc.svg)](https://javadoc.io/doc/com.xdev-software/xapi-db-hsqldb2)
4-
# SqlEngine Database Adapter HSQLDB2
1+
[![Latest version](https://img.shields.io/maven-central/v/com.xdev-software/xapi-db-hsql2)](https://mvnrepository.com/artifact/com.xdev-software/xapi-db-hsql2)
2+
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/xapi-db-hsql2/checkBuild.yml?branch=develop)](https://github.com/xdev-software/xapi-db-hsql2/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
3+
[![javadoc](https://javadoc.io/badge2/com.xdev-software/xapi-db-hsql2/javadoc.svg)](https://javadoc.io/doc/com.xdev-software/xapi-db-hsql2)
54

6-
The XDEV Application Framework provides an abstraction over database dialects as part of its SqlEngine. This module is the Database Adapter for HSQLDB2 which includes the HSQLDB2-specific implementation for database access.
5+
# SqlEngine Database Adapter HyperSQL 2
6+
7+
The XDEV Application Framework provides an abstraction over database dialects as part of its SqlEngine. This module is
8+
the Database Adapter for HyperSQL 2 which includes the HyperSQL 2-specific implementation for database access.
79

810
## XDEV-IDE
9-
The [XDEV(-IDE)](https://xdev.software/en/products/swing-builder) is a visual Java development environment for fast and easy application development (RAD - Rapid Application Development). XDEV differs from other Java IDEs such as Eclipse or NetBeans, focusing on programming through a far-reaching RAD concept. The IDE's main components are a Swing GUI builder, the XDEV Application Framework and numerous drag-and-drop tools and wizards with which the functions of the framework can be integrated.
1011

11-
The XDEV-IDE was license-free up to version 4 inclusive and is available for Windows, Linux and macOS. From version 5, the previously proprietary licensed additional modules are included in the IDE and the license of the entire product has been converted to a paid subscription model. The XDEV Application Framework, which represents the core of the RAD concept of XDEV and is part of every XDEV application, was released as open-source in 2008.
12+
The [XDEV(-IDE)](https://xdev.software/en/products/swing-builder) is a visual Java development environment for fast and
13+
easy application development (RAD - Rapid Application Development). XDEV differs from other Java IDEs such as Eclipse or
14+
NetBeans, focusing on programming through a far-reaching RAD concept. The IDE's main components are a Swing GUI builder,
15+
the XDEV Application Framework and numerous drag-and-drop tools and wizards with which the functions of the framework
16+
can be integrated.
17+
18+
The XDEV-IDE was license-free up to version 4 inclusive and is available for Windows, Linux and macOS. From version 5,
19+
the previously proprietary licensed additional modules are included in the IDE and the license of the entire product has
20+
been converted to a paid subscription model. The XDEV Application Framework, which represents the core of the RAD
21+
concept of XDEV and is part of every XDEV application, was released as open-source in 2008.
1222

1323
## Support
14-
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
24+
25+
If you need support as soon as possible and you can't wait for any pull request, feel free to
26+
use [our support](https://xdev.software/en/services/support).
1527

1628
## Contributing
29+
1730
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
1831

1932
## Dependencies and Licenses
20-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/xapi-db-hsqldb2/dependencies/)
33+
34+
View the [license of the current project](LICENSE) or
35+
the [summary including all dependencies](https://xdev-software.github.io/xapi-db-hsql2/dependencies/)

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
## Reporting a Vulnerability
44

5-
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/xapi-db-hsqldb2/security/advisories/new).
5+
Please report a security
6+
vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/xapi-db-hsql2/security/advisories/new).

pom.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

@@ -10,13 +10,13 @@
1010
<packaging>jar</packaging>
1111

1212
<name>SqlEngine Database Adapter HSQL2</name>
13-
<description>XAPI SqlEngine Database Adapter for HSQL2</description>
14-
<url>https://github.com/xdev-software/xapi-db-hsql2</url>
13+
<description>XAPI SqlEngine Database Adapter for HSQL2</description>
14+
<url>https://github.com/xdev-software/xapi-db-hsql2</url>
1515

1616
<scm>
17-
<url>https://github.com/xdev-software/xapi-db-hsql2</url>
18-
<connection>https://github.com/xdev-software/xapi-db-hsql2.git</connection>
19-
</scm>
17+
<url>https://github.com/xdev-software/xapi-db-hsql2</url>
18+
<connection>https://github.com/xdev-software/xapi-db-hsql2.git</connection>
19+
</scm>
2020

2121
<inceptionYear>2003</inceptionYear>
2222

@@ -48,7 +48,7 @@
4848

4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5050
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
51-
51+
5252
<xdev.xapi.version>6.0.1</xdev.xapi.version>
5353
</properties>
5454

@@ -100,6 +100,8 @@
100100
<groupId>org.hsqldb</groupId>
101101
<artifactId>hsqldb</artifactId>
102102
<version>2.7.1</version>
103+
<!-- For compatibility with JDK 8. See https://hsqldb.org/doc/2.0/changelist_2_0.txt and https://stackoverflow.com/a/74261846/2351407 -->
104+
<classifier>jdk8</classifier>
103105
</dependency>
104106
</dependencies>
105107

src/main/java/hsql.png

-943 Bytes
Binary file not shown.

src/main/java/xdev/db/hsql2/jdbc/HSQL2ConnectionInformation.java

Lines changed: 17 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,8 @@
1818

1919
package xdev.db.hsql2.jdbc;
2020

21-
/*-
22-
* #%L
23-
* HSQL2
24-
* %%
25-
* Copyright (C) 2003 - 2023 XDEV Software
26-
* %%
27-
* This program is free software: you can redistribute it and/or modify
28-
* it under the terms of the GNU Lesser General Public License as
29-
* published by the Free Software Foundation, either version 3 of the
30-
* License, or (at your option) any later version.
31-
*
32-
* This program is distributed in the hope that it will be useful,
33-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
34-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35-
* GNU General Lesser Public License for more details.
36-
*
37-
* You should have received a copy of the GNU General Lesser Public
38-
* License along with this program. If not, see
39-
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
40-
* #L%
41-
*/
42-
4321
import com.xdev.jadoth.sqlengine.dbms.DbmsConnectionInformation;
22+
4423
import xdev.db.ConnectionInformation;
4524

4625

@@ -53,57 +32,52 @@ public class HSQL2ConnectionInformation extends ConnectionInformation<HSQL2Dbms>
5332
/**
5433
* Instantiates a new hsql20 connection information.
5534
*
56-
* @param user
57-
* the user
58-
* @param password
59-
* the password
60-
* @param database
61-
* the database
62-
* @param urlExtension
63-
* the extended url properties
64-
* @param dbmsAdaptor
65-
* the dbms adaptor
35+
* @param user the user
36+
* @param password the password
37+
* @param database the database
38+
* @param urlExtension the extended url properties
39+
* @param dbmsAdaptor the dbms adaptor
6640
*/
67-
public HSQL2ConnectionInformation(final String host, final int port, final String user,
68-
final String password, final String database, final String urlExtension,
69-
final HSQL2Dbms dbmsAdaptor)
41+
public HSQL2ConnectionInformation(
42+
final String host, final int port, final String user,
43+
final String password, final String database, final String urlExtension,
44+
final HSQL2Dbms dbmsAdaptor)
7045
{
71-
super(host,port,user,password,database,urlExtension,dbmsAdaptor);
46+
super(host, port, user, password, database, urlExtension, dbmsAdaptor);
7247
}
7348

74-
7549
// /////////////////////////////////////////////////////////////////////////
7650
// getters //
7751
// ///////////////////
52+
7853
/**
7954
* Gets the database.
80-
*
55+
*
8156
* @return the database
8257
*/
8358
public String getDatabase()
8459
{
8560
return this.getCatalog();
8661
}
8762

88-
8963
// /////////////////////////////////////////////////////////////////////////
9064
// setters //
9165
// ///////////////////
66+
9267
/**
9368
* Sets the database.
94-
*
95-
* @param database
96-
* the database to set
69+
*
70+
* @param database the database to set
9771
*/
9872
public void setDatabase(final String database)
9973
{
10074
this.setCatalog(database);
10175
}
10276

103-
10477
// /////////////////////////////////////////////////////////////////////////
10578
// override methods //
10679
// ///////////////////
80+
10781
/**
10882
* @see DbmsConnectionInformation#createJdbcConnectionUrl()
10983
*/
@@ -114,7 +88,6 @@ public String createJdbcConnectionUrl()
11488
return appendUrlExtension(url);
11589
}
11690

117-
11891
/**
11992
* @see com.xdev.jadoth.sqlengine.dbms.DbmsConnectionInformation#getJdbcDriverClassName()
12093
*/
@@ -123,5 +96,4 @@ public String getJdbcDriverClassName()
12396
{
12497
return "org.hsqldb.jdbc.JDBCDriver";
12598
}
126-
12799
}

src/main/java/xdev/db/hsql2/jdbc/HSQL2DDLMapper.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,6 @@
1717
*/
1818
package xdev.db.hsql2.jdbc;
1919

20-
/*-
21-
* #%L
22-
* HSQL2
23-
* %%
24-
* Copyright (C) 2003 - 2023 XDEV Software
25-
* %%
26-
* This program is free software: you can redistribute it and/or modify
27-
* it under the terms of the GNU Lesser General Public License as
28-
* published by the Free Software Foundation, either version 3 of the
29-
* License, or (at your option) any later version.
30-
*
31-
* This program is distributed in the hope that it will be useful,
32-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34-
* GNU General Lesser Public License for more details.
35-
*
36-
* You should have received a copy of the GNU General Lesser Public
37-
* License along with this program. If not, see
38-
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
39-
* #L%
40-
*/
41-
42-
4320
import com.xdev.jadoth.sqlengine.dbms.standard.StandardDDLMapper;
4421

4522

src/main/java/xdev/db/hsql2/jdbc/HSQL2DMLAssembler.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,6 @@
1717
*/
1818
package xdev.db.hsql2.jdbc;
1919

20-
/*-
21-
* #%L
22-
* HSQL2
23-
* %%
24-
* Copyright (C) 2003 - 2023 XDEV Software
25-
* %%
26-
* This program is free software: you can redistribute it and/or modify
27-
* it under the terms of the GNU Lesser General Public License as
28-
* published by the Free Software Foundation, either version 3 of the
29-
* License, or (at your option) any later version.
30-
*
31-
* This program is distributed in the hope that it will be useful,
32-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34-
* GNU General Lesser Public License for more details.
35-
*
36-
* You should have received a copy of the GNU General Lesser Public
37-
* License along with this program. If not, see
38-
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
39-
* #L%
40-
*/
41-
4220
import com.xdev.jadoth.sqlengine.dbms.standard.StandardDMLAssembler;
4321

4422

0 commit comments

Comments
 (0)