Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: LeanerOriginally posted by: stonysmith
It would be fantastic if you could share which specific driver you are using and what those magic parameters were <grin>
NP, I used parameters in the URL string for JDBC. It appears they are just Java parm declarations for the hibernate.connection object. I used:
zeroDateTimeBehavior=convertToNull
The way to feed the parms is:
jdbc:mysql://<server>:3306/<db>?zeroDateTimeBehavior=convertToNull
Params are separated with an ampersand. I have not found a full list of params that can be fed, but so far I've even found that the one can even specify the char set if the driver is having problems understanding it.