Hi, > Alternatively you could generate the code and then you wouldn't have the > overhead of reflection at runtime. True... however this would still make the code more cluttered and more difficult to maintain > One thing you miss with the generic approach is type-safety. Also true, but I'd say this is negligible in this case. For example, I have a lot of methods like: public Vector getProjects(String whereCondition); public Vector getProjectClasses(String whereCondition); Returning a Vector spoils type-safety anyway, so there should be no difference if I use: public Vector getRecords(String tableName, String whereCondition); cu Heiko =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
- Please comment: Using java.lang.reflect to simplify d... Heiko Gottschling
- Re: Please comment: Using java.lang.reflect to s... David M. Karr
- Re: Please comment: Using java.lang.reflect ... Heiko Gottschling
- Re: Please comment: Using java.lang.reflect ... Shelly Aggrawal
- Re: Please comment: Using java.lang.refl... Heiko Gottschling
- Re: Please comment: Using java.lang.... Shelly Aggrawal
- Re: Please comment: Using java.lang.reflect to s... Jay Walters
- Re: Please comment: Using java.lang.reflect ... Heiko Gottschling
- Re: Please comment: Using java.lang.reflect to s... Juan Lorandi (Chile)
- Re: Please comment: Using java.lang.reflect to s... Gene Chuang
- Re: Please comment: Using java.lang.reflect to s... E Bakka Reddy
- Re: Please comment: Using java.lang.reflect to s... Gene Chuang
- Re: Please comment: Using java.lang.reflect ... Heiko Gottschling
- Re: Please comment: Using java.lang.reflect ... Sandeep Dath
- Re: Please comment: Using java.lang.reflect to s... Gene Chuang
- Re: Please comment: Using java.lang.reflect to s... Gene Chuang
