> -----Original Message----- > From: Newcomb, Michael P. > So, what do we do about it? Should > JDBCGetGeneratedKeysCreateCommand test for Number and convert > to expected type? Or should we urge MySQL to create the type > based upon the type of field it is?
Actually, JDBCGetGeneratedKeysCreateCommand just calls getObject() on the result set. We probably need to run it through whatever code the normal loading process goes through so it will call ResultSet.getInt/Short/Long() based upon the metadata? Michael ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development