Fixed isMatchingFieldError to properly handle empty field name

Also avoided unnecessary substring creation for field error access with wildcard.

Issue: SPR-11374
Polishing

Issue: SPR-11372
Polish Javadoc for EmbeddedDatabaseFactory