Hi !!!

)-----Original Message-----
)From: Ghislain Gadbois [mailto:[EMAIL PROTECTED]]
)Sent: Wednesday, September 05, 2001 7:37 AM
)To: MySQL List (E-mail)
)Subject: Date functions returning Strings
)
)
)Hi,
)
)    I'm using MM JDBC driver version 2.0.4 to access a MySQL database
)3.23.40 on Solaris 2.8.
)
)    When I do the following query "SELECT NOW()", I always get String data
)and not Date data when fetching the data.
)
)    Is it normal that Date functions returns a String?  Is this a
)MySQL bug?
)

Someone pointed this already. There is nothing to do with the server, its
all up to the driver how it is storing and returning the results to the
application.

Here mmmysql driver is returning timestamp stuff as string object instead of
date object. Becuase of this there might be chances of getting the
exceptions even if are assigned it to the date object.

Any way, I will pass this to the JDBC development team.

Regards, venu
--
For technical support contracts, go to https://order.mysql.com/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Venu <mailto:[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Developer
/_/  /_/\_, /___/\___\_\___/   Woodside, California  USA
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to