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 105076 - Drag-and-drop for JPA
Summary: Drag-and-drop for JPA
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 23:01 UTC by David Vancouvering
Modified: 2008-01-10 01:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Vancouvering 2007-05-29 23:01:40 UTC
This feature would allow you to select a table from the DB Explorer, drag it
onto a visual component, and visualweb would automatically do the following:

- Create a JPA Entity for the table
- Map the component to the entity

This should be immediately runnable with all necessary end-to-end code generated.

We should do this in a way that is aligned with the current ability to generate
an entity from a database table and with the reference architecture for next-gen
web apps that Craig McLanahan is working on
Comment 1 David Vancouvering 2007-05-29 23:04:13 UTC
An interim step for this feature would be to support DnD from a JPA Entity. 
This would require the following two separate steps for the user:

- Generate JPA entities from a DB table using the Entity Wizard
- Drag the resulting Entity object onto a visual component (not even sure if you
can drag objects to a visualweb page today).

But really the brass ring here is to get it to work just like it does today with
rowsets.

We also want JPA to be the default approach for table drag-and-drop, rather than
rowsets, which means it needs to be at least as easy to use as the rowset
functionality today.
Comment 2 John Baker 2007-09-26 22:36:22 UTC
I'm volunteering to work on this feature
Comment 3 John Baker 2008-01-10 01:49:15 UTC
won't be implemented in 6.x , at least not by me
Comment 4 John Baker 2008-01-10 01:49:46 UTC
if reopened then should be assigned to someone