CF10: zeroDateTimeBehavior Problem
i'm setting mysql data source. legacy compatibility need handle dates value 0000-00-00.
i can use connection string zerodatetimebehavior=converttonull active that. however, results in rather odd error:
java.sql.sqlexception: connection property 'zerodatetimebehavior' accepts values of form: 'exception', 'round' or 'converttonull'. value 'converttonull ' not in set.
help!
read this. http://dev.mysql.com/doc/refman/5.1/en/datetime.html
pay attention supported range. decide want dates outside range.
More discussions in ColdFusion
adobe
Comments
Post a Comment