J Connector

J Connector

am 23.06.2003 06:27:03 von Uwe Rosebrock

Hi There

I am experiencing very strange behaviour with timestamps/dates via the
mysql jdbc driver

tested version
mysql-max 4.0
jdbc driver stable 3.0.7,3.0.8

context:
retrieve a timestamp from a date column

result:
the result adds 1900 to the year

Regards

Uwe


------------------------------------------------------------ ------------
--------------
Uwe Rosebrock
Software Architect
mail: 89 King Street, Hobart
Tasmania 7005 Australia
ALife Consulting

email: uwe@alife.com.au
phone: (+61) (0)402 442413
fax: (+61) (0)3 62246932
www: www.alife.com.au

------------------------------------------------------------ ------------
-------------------
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the
the views of ALife Consulting




--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: J Connector

am 23.06.2003 14:52:25 von Mark Matthews

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Uwe Rosebrock wrote:

> Hi There
>
> I am experiencing very strange behaviour with timestamps/dates via the
> mysql jdbc driver
>
> tested version
> mysql-max 4.0
> jdbc driver stable 3.0.7,3.0.8
>
> context:
> retrieve a timestamp from a date column
>
> result:
> the result adds 1900 to the year
>

Hi!

I just tested this and don't observe this behavior. What is the _exact_
timestamp type you are using (i.e. do you constrain it with a precision
clause in your CREATE TABLE)? Do you have a repeatable testcase I could
try?

Thanks!
-Mark

- --
For technical support contracts, visit https://order.mysql.com/?ref=mmma

__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mark Matthews
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows
/_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+9vgJtvXNTca6JD8RAnuOAJ47fDthG0KT2GGHvOszOTRttgMa2wCg kzBk
EsqkKDK6jfgbg7NdM0usNG8=
=vAMG
-----END PGP SIGNATURE-----


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org