You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Thomas Mahler <th...@web.de> on 2003/09/03 10:27:56 UTC

[Fwd: RowReaderDefaultImpl.java]


-------- Original Message --------
Subject: RowReaderDefaultImpl.java
Date: Tue, 2 Sep 2003 14:48:19 -0500
From: Mullen-Schultz, Gary L. <Mu...@mayo.edu>
To: 'thma@apache.org' <th...@apache.org>

Thomas:

Please change the following line in RowReaderDefaultImpl:
  // 1. create an empty Object by calling the no-parms factory method
                 result = 
targetClassDescriptor.getFactoryMethod().invoke(null, null);


To this.  Thanks.
   // 1. create an empty Object by calling the no-parms factory method
                 Object obj = 
targetClassDescriptor.getFactoryClass().newInstance();
                 result = 
targetClassDescriptor.getFactoryMethod().invoke(obj, null);



Gary L. Mullen-Schultz
Sun Certified Java Programmer/Developer/Architect
Mayo Collaborative Services, Inc.
mullenschultz.gary@mayo.edu
phone: 507-284-5844
fax: 507-284-0615




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org