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.

Bug 225768 - Cannot create database desktop application
Summary: Cannot create database desktop application
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 23:30 UTC by zlloyd1
Modified: 2014-08-24 20:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Option not available anymore?? (24.68 KB, image/jpeg)
2013-02-05 23:30 UTC, zlloyd1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zlloyd1 2013-02-05 23:30:30 UTC
Created attachment 131047 [details]
Option not available anymore??

The previous versions of NetBeans IDE had an option when creating a new project to choose Database Desktop Application, but this seems to have been removed from version 7.2.1 for some reason.
I am asking that NetBeans put this template back, as it is very necessary for many database administration needs....
I can create a new database, and connect it, and can even create tables within the new database, but I am unable to create an application for the database, and it is really frustrating!!
Do I need to go back and install an older version of NetBeans to work with databases??
Comment 1 Jaroslav Havlin 2013-02-06 08:19:57 UTC
(In reply to comment #0)
> The previous versions of NetBeans IDE had an option when creating 
> a new project to choose Database Desktop Application, but this seems 
> to have been removed from version 7.2.1 for some reason.
That's because the SAF support was dropped.
(See note at the beginning of http://netbeans.org/kb/70/java/gui-db.html)

You could try this plugin:
http://plugins.netbeans.org/plugin/43836/swing-application-framework-support


> Do I need to go back and install an older version of NetBeans to work with
> databases?

You can also work with databases from standard Java Application and JPA.
In your Java Application project, click any package, right-click,
select New -> Other..., and explore:

 - Persistence -> Entity Classes from Database
 - Persistence -> JPA Controller classes from Entity Classes
 - Swing GUI Forms -> Master/Detail Sample Form


If you are creating a new application, the recommended solution is creating
NetBeans platform application.

See this tutorial:
http://platform.netbeans.org/tutorials/nbm-crud.html
Comment 2 matthias42 2014-08-24 20:12:22 UTC
This is not a bug in database support - Database Desktop Application was a base for java projects. While this could be reassigned to java, the answer from Jaroslav is correct - closing the bug here.