Hi all!
I am just wondering while the mysql type  DATETIME has not yet been
implemented. The MySQL Connector/J supports allready this type by
using java.sql.Timestamp to model it. I tried to hack the castor code
(SQLTypes.java) to map datetime to java.sql.Timestamp.class. I added
the following entry
 new TypeInfo( java.sql.Types.TIMESTAMP,      "datetime",     =3D20
java.sql.Timestamp.class),
to the =5FtypeInfos array.

Well this little change produced the value "1989-01-24 00:00:00" in my
table. I guess it needs more modifications to handle the 00:00:00
part. What do you think=3F is this a correct concept=3F

reference: 
http://www.issociate.de/board/post/18070/JConnector=5F3.0=5Fand=5FDAT=
ETIME.html


Cheers
Aziz

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to