Re: NumberFormatException when using Date

2001-02-14 Thread Suresh
t;[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, February 14, 2001 3:42 PM Subject: NumberFormatException when using Date > Hi Chaps, > > I have an CMP that returns a date object as one of the fields. When I > include the CMP field in the e

Re: NumberFormatException when using Date

2001-02-14 Thread Jose Jorge Tomé Hernando
>This is the mysql.xml line for date (please note I have tried date and >datetime in both the db and mysql.xml): > > > > >Could someone tell me what I'm missing? I think that you have to use java.sql.Date instead of java.util.Date.     Jorge Tomé Hernando    Technology Consultant    CAP GEMI

NumberFormatException when using Date

2001-02-14 Thread Tim Squires
Hi Chaps, I have an CMP that returns a date object as one of the fields. When I include the CMP field in the ejb-jar.xml descriptor then access a finder method on the bean, a NumberFormatException is thrown. I've tried changing the field to be a Timestamp but it has the same effect. I've also