db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mahler <thm...@web.de>
Subject [Fwd: RowReaderDefaultImpl.java]
Date Wed, 03 Sep 2003 08:27:56 GMT


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


Mime
View raw message