//Check if both jdbc-resource-jndi-name and connection-pool name is provided.
if (getOption(JDBC_JNDI_NAME) != null && getOption(POOL_NAME) != null)
throw new CommandValidationException(getLocalizedString("MutuallyExclusiveOption",
new Object[] { JDBC_JNDI_NAME,
POOL_NAME }));
return super.validateOptions();