NullPointerException in DbSqlSessionFactory.isBulkInsertable() when Custom Entity is inserted

Description

Method isBulkInsertable in Class DbSqlSessionFactory throws NPE when a custom entity is inserted. This is because of the

condition, which fails when map doesn't have the key it's looking for.

Changing it to

, fixes the problem.

Environment

None

Assignee

Tijs Rademakers

Reporter

Abhishek Mittal

Labels

None

Components

Fix versions

Affects versions

Priority

High
Configure