-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
1.7.6.GA
-
None
-
False
-
False
-
Undefined
-
-
---
-
data source configuration:
## BD2 ## Database quarkus.datasource.db2.reactive=true quarkus.datasource.db2.db-kind=db2 quarkus.datasource.db2.username=db quarkus.datasource.db2.password=test quarkus.datasource.db2.reactive.url=vertx-reactive:db2://localhost:50000/db
Driver Default database name: db
As is not possible to set a default DB for a given data source you must include the dbName in all your statements. If you use the default DB name given by the driver (db) you don't require to add the DB name to your statements, however, Vertx adds the default dbName to your statement in the wrong DB2 format:
Exception:
io.vertx.db2client.DB2Exception: The object 'DB.PRICINGRULES' provided is not defined
Examples:
select * from DB.PRICINGRULES; -> will not work on DB2
select * from "DB".PRICINGRULES; -> will work on DB2
- links to