Return-Path: X-Original-To: apmail-cayenne-dev-archive@www.apache.org Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41E747B89 for ; Wed, 14 Sep 2011 19:13:20 +0000 (UTC) Received: (qmail 2469 invoked by uid 500); 14 Sep 2011 19:13:20 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 2446 invoked by uid 500); 14 Sep 2011 19:13:20 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 2437 invoked by uid 99); 14 Sep 2011 19:13:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 19:13:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 14 Sep 2011 19:13:12 +0000 Received: (qmail 32471 invoked from network); 14 Sep 2011 19:12:50 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 14 Sep 2011 19:12:50 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) 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/ From: Andrus Adamchik In-Reply-To: <20110914191038.AFDD12388A6E@eris.apache.org> Date: Wed, 14 Sep 2011 22:12:51 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <23C94054-DDF2-464C-A230-52877EBD9C5A@objectstyle.org> References: <20110914191038.AFDD12388A6E@eris.apache.org> To: dev@cayenne.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org 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=