cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: svn commit: r1170773 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba: db2/ derby/ frontbase/ h2/ hsqldb/ ingres/ openbase/ oracle/ postgres/ sqlite/ sybase/
Date Wed, 14 Sep 2011 19:12:51 GMT

On Sep 14, 2011, at 10:10 PM, dkazimirchyk@apache.org 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
Mime
View raw message