Thanks Ted,

As always your advice was most helpful!!! 

The iBATIS DB layer package is great, though I'd rather stay with Scaffold
version for DAO.

BTW, some of the scaffold links on your site (husted.com) are currently not
working.

Noam

-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 12:48 PM
To: Struts Users Mailing List
Subject: Re: [SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC
drive r problems


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]



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

Reply via email to