On Sep 14, 2011, at 10:10 PM, [email protected] wrote:

> -                ? objectFactory.newInstance(DbAdapter.class, 
> DB2Adapter.class.getName())
> +                ? (DbAdapter)objectFactory.newInstance(DbAdapter.class, 
> DB2Adapter.class.getName())

This cast seems wrong. We are using generics after all. There has to be 
something else at play here.

Andrus

Reply via email to