Skip to content

Db2CallMetaDataProvider.metaDataSchemaNameToUse throws NPE if the DatabaseMetaData has no username [SPR-7228] #11887

@spring-projects-issues

Description

@spring-projects-issues

Peter Plosz opened SPR-7228 and commented

We use kerberos to connect to our database, so the databaseMetaData.getUserName() returns null.
This causes NPE in Db2CallMetaDataProvider.java:67 later when trying to call toUpperCase() on null.


Affects: 3.0 GA, 3.0.1, 3.0.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions