Charles,
 
your assessment seems to be correct (as I have seen statements like yours multiple times in teh past). Having said that, I am not a PoolMan expert as I have never used it. But all in all I agree that the documentation should be changed in one way or the other. Can you please create a Jira issue at http://jira.codehaus.org/browse/CASTOR highlighting what has been said below.
 
Werner
-----Ursprüngliche Nachricht-----
Von: Charles Read [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 03. September 2005 03:33
An: [email protected]
Betreff: [castor-user] PoolMan 2.0.4 - obsolete with JSDK 1.5, Castor 0.9.7?

It used to be that PoolMan worked with Castor 0.9.5,
JSDK 1.4, and a webapp I wrote (http://freshmeat.net/projects/ajaqs).
 
I've ported the webapp to Castor 0.9.7 and JSDK 1.5.
I now am trying to get PoolMan 2.0.4 to work with this configuration.
 
I consistently get a casting exception:
 
java.lang.ClassCastException:  java.sql.Timestamp
         at com.codestudio.sql.PoolManResultSet.getDate(PoolManResultSet.java:546)
         ...
 
when one of the webapp's JSPs tries to navigate through
a relational collection (that is lazy-loaded).
 
Well, I looked at the PoolMan code and it did look like there
were some problems with PoolManResultSet.getDate(), particularly
with how java.sql.Timestamp in some cases was not converted
to java.sql.Date.
 
I tried making some fixes to PoolMan and then re-compiling it
against JSDK 1.5, but that led to various porting issues I do not
(and perhaps cannot) tackle.
 
To sum up, can we now assume that PoolMan is obsolete
and cannot be configured with JSDK 1.5, Castor 0.9.7 -- in which
case, the online Castor documentation should reflect this limitation?
 
Or am I missing something?
 
Charles


Start your day with Yahoo! - make it your home page

Reply via email to