Well it's syntactically valid Java code, but I wouldn't expect it to work at execution time:
- 0 isn't a valid month
- 0 isn't a valid day-of-month
- 0 may or may not be a valid year, depending on how you're counting things. (It appears to work with JDK 7, but I wouldn't use it myself.)
I'd use "0001-01-01 00:00:00.000000"
- which doesn't throw an exception. That's if you really, really need such a thing, of course - if this is a magic value to use in absence of "real" data, perhaps you need a nullable column instead?