https://github.com/dimasmith/rider-h2-issue-demo
Test project to debug h2 issue in database-rider
https://github.com/dimasmith/rider-h2-issue-demo
Last synced: over 1 year ago
JSON representation
Test project to debug h2 issue in database-rider
- Host: GitHub
- URL: https://github.com/dimasmith/rider-h2-issue-demo
- Owner: dimasmith
- Created: 2020-04-14T17:54:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T21:34:15.000Z (about 6 years ago)
- Last Synced: 2025-01-21T11:45:01.247Z (over 1 year ago)
- Language: Java
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Database Rider H2 issue demo
============================
Demo project to illustrate an issue https://github.com/database-rider/database-rider/issues/97
# The problem
Test fails with `org.dbunit.dataset.NoSuchTableException: The table 'book' does not exist in schema 'PUBLIC'`
when attempting to set up the database via @DataSet
## Details
* issue appears only when reading datasets from `xml` files;
* `yaml` files work fine;
* issue is not reproducible when table names are in upper-case in `xml` format;
The `dbunit.yaml` file does not affect anything.
* `caseSensitiveTableNames` does not fix uppercase/lowercase issue;
* `schema` can be commented out. Passing tests are still passing, so the issue is not with the schema.