jndi fails with jTDS driver

Description

When specifying the jtds dbtype in combination with a schema and a jndiReferenceName it will return null instead of a datastore:

specifying sqlserver as dbtype you do get a datastore.

some talk about this on the user ML: https://sourceforge.net/p/geotools/mailman/message/35089310/

Environment

no specific environment; off-line test will be provided in PR

Assignee

Unassigned

Reporter

Mark Prins

Triage

None

Components

Fix versions

Affects versions

Priority

High
Configure