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 20041124] Steps: 1) open servlet or class in EJB project 2) in editor invoke Enterprise Resource | Use Database 3) in new window user can enter Data Source JNDI Name. User doesn't know whether the name is with jdbc prefix or without. In case a user enters jdbc/myDatabase name, the private javax.sql.DataSource getJdbc/myDatabase() method is created and then gets compilation error. We should add a check of the JNDI name.
Files Modified: org/netbeans/modules/j2ee/ejbjarproject/EnterpriseReferenceContainerImpl.java new revision: 1.9; previous revision: 1.8 org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/entres/UseDatabaseAction.java new revision: 1.5; previous revision: 1.4 Fix for defining new data source(sun resources & sun dd entries) on <Use Database> action with new data-source jndi name. Fix for defining new data source(sun resources & sun dd entries) on <Use Database> action after restart of ide.
[Build 20050320]