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 76015 - [55cat] Make columns to generate named queries for selectable
Summary: [55cat] Make columns to generate named queries for selectable
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 22:42 UTC by giorgio42
Modified: 2016-07-07 08:55 UTC (History)
1 user (show)

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 giorgio42 2006-05-05 22:42:37 UTC
[ BUILD # : 200605050500 ]
[ JDK VERSION : 1.6 ]

[mustang b77]

I should guess the general use case for generating named queries during Create entity from database is to generate named queries for some columns. 

NB currently supports only the - IMHO rare - cases, no named queries at all and named queries for all columns.

Best regards,
Georg
Comment 1 Rochelle Raccah 2006-05-08 23:29:35 UTC
Changing to an enhancement as this was considered during development and it was
decided that getting the user through the wizard for the most common cases
should be simple and require the fewest clicks and that extra generated code
could be deleted.

Also added Jano to cc to comment on this.
Comment 2 jrojcek 2006-05-09 10:18:45 UTC
I confirm Rochelle's comment. Adding "per column" choice would complicate the wizard. We understand 
that this choice might be needed and we would probably include that in later improvements. But not in the 
wizard. Probably in some kind of UI dedicated to keeping entities in-synch with DB.
Comment 3 jrojcek 2006-05-10 09:27:58 UTC
Recording comment from Georg Schmid (sent by an email):
---
Currently this feature would be needed more urgently, because all generated queries are on one line, and 
if a table has a lot of columns, I get very long lines (> 10,000 characters), that are hard to edit.
---

This looks like a more serious problem. I think we should at least do some kind of formatting.
Comment 4 Rochelle Raccah 2006-05-10 21:04:10 UTC
The fact that they are all on one line is filed separately as issue 73269 (which
depends on java issue 72956).  Maybe you should add netcat to the java issue
and/or raise the priority of that one.
Comment 5 Martin Balin 2016-07-07 08:55:33 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss