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.
ProjectDataSourceTracker (PDST) tracks changes to data sources. To determine if a project contains a data source, the project's pages must be modeled. At IDE startup, PDST starts listening for model set changes. Even when just a component is added to a page, PDST checks each bean in the project to see if contains any rowsets. This is the original design. Instead, I think that PDST should only create a modelset listener when a project is opened and then remove the listener once project has been modeled. ProjectDataSource tracker already listens for project open and close events. A new listener can be implemented to fire an event to handle the case when a database table is added to a page or bean. PDST can listen for this event and update the project data source information. Once done, the listener can be removed.
Not sure if I have time to fix this by 6.1
This is an enhancement, not defect. Listening for modelset changes was part of the original design