Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
onacit committed Oct 12, 2024
1 parent fc339eb commit d056895
Show file tree
Hide file tree
Showing 107 changed files with 3,274 additions and 1,586 deletions.
9 changes: 5 additions & 4 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ All methods, defined in the `DatabaseMetaData`, which each returns a `ResultSet`
class C {
void m() {
try (var connection = connect()) {
var context = Context.newInstance(connection);
var metadata = connection.getDatabaseMetaData();
var context = Context.newInstance(metadata);
var catalogs = context.getCatalogs();
var tables = context.getTables(null, null, "%", null);
}
Expand All @@ -51,21 +52,32 @@ A lot of classes/methods defined in this module need to be tested with various k
### Run the `ExternalIT` class with `url`, `user`, and `password` parameter.

```commandline
$ mvn -Pfailsafe \
-Dtest=ExternalIT \
$ mvn \
-Pfailsafe \
-Dit.test=ExternalIT \
-Durl='<your-jdbc-url>' \
-Duser='<your-own-user>' \
-Dpassword='<your-own-password>'
clean failsafe:integration-test
-Dpassword='<your-own-password>' \
clean test-compile failsafe:integration-test
```

----

## Links

### Docker
* [Running Oracle XE with TestContainers on Apple Silicon](https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/)

### MariaDB
* [getTables should be ordered as expected](https://jira.mariadb.org/browse/CONJ-1156)
* [DatabaseMetaData#getFunctions's result not property ordered](https://jira.mariadb.org/browse/CONJ-1158)
* [DatabaseMetaData#getClientInfoProperties not ordered correctly](https://jira.mariadb.org/browse/CONJ-1159)

### MySQL
* [DatabaseMetaData#getTables produces duplicates](https://bugs.mysql.com/bug.php?id=113970&thanks=4)

### PostgreSQL
* [DatabaseMetaData#getFunctionColumns's result has duplicate](https://github.com/pgjdbc/pgjdbc/issues/3127)

### SQL Server
* [DatabaseMetaData#getProcedures not ordered as specified](https://github.com/microsoft/mssql-jdbc/issues/2321)
Loading

0 comments on commit d056895

Please sign in to comment.