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 # : 200807240010 ] [ JDK VERSION : 1.6.0_07 ] 1) In the Services tab, under Databases/Drivers, I selected "New Driver", and set up Postgres JDBC driver corresponding to my installed version (8.3 on Ubuntu 8.04). The driver name is postgresql-8.3-603.jdbc3.jar. 2) Right-click driver icon and select "Connect using..."; fill in information for a local database. 3) I do a simple "select * from taddress" against the database I chose, and I get a ClassCastException (see attached stack trace). 4) The same query runs normally in psql (the Postgres command-line monitor) and in a test program written using the same JDBC driver.
Created attachment 65659 [details] stack trace
This has been fixed. Please use the latest build.
This issue is duplicate.
*** This issue has been marked as a duplicate of 141379 ***