This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200807040101 ] [ JDK VERSION : 1.6.0_04 ] I'm using Netbeans for PHP to connect to a local MySQL server. When try to view the data on some of the tables, the Database Explorer displays this error message: "Executed successfully in 0 s. Line 1, column 1 Execution finished after 0 s, 0 error(s) occurred. An error occurred while reading the result set: Cannot convert value '0000-00-00 00:00:00' from column 11 to TIMESTAMP." I can access and see the same table using any MySQL admin tool (eq: HeidiSQL, SQLYog, etc) without error. Using NetBeans Database Explorer, I created a table with a datetime field type. By default it gives CURRENT_TIMESTAMP as the default value. I think the problem may lie with how Database Explorer handles illegal datetime field data value ('0000-00-00 00:00:00').
Created attachment 64498 [details] Structure of the table & default value
Created attachment 64499 [details] SQL dump of the table
Why is this marked "future", when it looks like a showdata issue and it wasn't evaluated by the owners of that subcomponent?
I think this was fixed few weeks back, try with the latest build. '0000-00-00 00:00:00' will be treated as NULL
yudiset, can You verify that this issue was really fixed, please?
I tested it with Netbeans PHP build 200809220413. Yes, it's fixed now. Thanks a lot.