Jackie Gu
unread,May 18, 2021, 12:01:49 AM5/18/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mybatis-user
UnpooledDataSource class initializeDriver method, if a member variable "driver" is null, then the "registeredDrivers.containsKey(driver)" code will throw null pointer exception, When the DefaultSqlSession's method catches the exception, the exception thrown has been modified to "Error querying database".