Issue #928: HikariJNDIFactory should not throw a NamingException when !"javax.sql.DataSource".equals(ref.getClassName()).

pull/1022/head
h-thurow 7 years ago
parent bd14bc9a66
commit d2a57757f3

@ -57,9 +57,7 @@ public class HikariJNDIFactory implements ObjectFactory
}
return createDataSource(properties, nameCtx);
}
else {
return null;
}
return null;
}
private DataSource createDataSource(final Properties properties, final Context context) throws NamingException

Loading…
Cancel
Save