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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support