Those utilities was originally developed using an older MySQL driver and may not be up to date. If you continue to have problems, my best advice is to have a look at the iBATIS DB layer <www.ibatis.com>, which uses the same approach to data access.

-Ted.

[EMAIL PROTECTED] wrote:
Hi,

When using the scaffold AccessBase.createKey() method, to get a simple
integer field from the database, I get a java.lang.ClassCastException:
java.lang.Long.


Looking at the log file, I find the following error message:

"Driver doesn't support strong ResultSetMetaData,  and PoolMan subsequently
failed an attempt to fabricate  a table name in spite of the driver
limitations".

Am using Poolman, Resin, Struts 1.1, J/connector, MySQL.

It has obviously a JDBC driver problem.

Has anyone come across this? Any ideas

Thanks,
Noam


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to