UVAshley / krank

Automatically exported from code.google.com/p/krank
0 stars 0 forks source link

Crank/Hibernate Fails When Reading From DATETIME columns with data '0000-00-00 00:00:00' in MySql #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a listing that accesses a Business Object that has a TimeStamp
column mapped.
2. In the database , for the mapped TimeStamp column, set the column data
to '0000-00-00 00:00:00'. 
3. Access the page with the listing.

What is the expected output? 

Normal crank listing

What do you see instead?

Hibernate generated Exception.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by reggiedi...@gmail.com on 6 Mar 2008 at 6:36