* Test the lookup of adapter from the product name.
* @throws SQLException
*/
public void testDatabaseProductNames() throws SQLException
{
OMFContext ctxt = new OMFContext(new PersistenceConfiguration(){});
PluginManager pluginMgr = ctxt.getPluginManager();
ClassLoaderResolver clr = ctxt.getClassLoaderResolver(null);
RDBMSAdapterFactory factory = RDBMSAdapterFactory.getInstance();
assertEquals("org.jpox.store.rdbms.adapter.DerbyAdapter", factory.getAdapterClass(pluginMgr, null, "Apache Derby", clr).getName());
assertEquals("org.jpox.store.rdbms.adapter.DerbyAdapter", factory.getAdapterClass(pluginMgr, null, "Derby", clr).getName());