Adam Bien's Weblog

Wednesday Dec 03, 2008

Netbeans 6.5: Nice "Hidden" Feature In The SQL Explorer

  1. Open the tab "Services" (Ctrl+5)
  2. Connect to a database
  3. Select a table and invoke "View Data" from the context menu
  4. The data will be displayed in a table.
  5. Right click on row in the table. A context menu with "Insert Record", "Delete Recort" ...Show SQL Script etc. should open. These are actually useful functions which create Insert, Update, Delete and even create statements for you. The create statements are not always syntactically correct (they sometimes end with a comma), but useful anyway.
What I miss is the no more existing visual explorer. It disappeared in NB 6.1. It was possible with "Design Query" wizard to visualize table and connections between them. I never used it to actually design a query, but just to visualize the relations between tables.


[my tweets]  Rss My book: Real World Java EE - Rethinking Best Practices

Kommentare:

Indeed, the editing features in the table view are rather helpful, but more than that I am just happy to see the ability to store SQL Command sheets appear in recent NetBeans builds. This is something that has been missing for way too long... ;)
K.

Gesendet von Kristian am December 03, 2008 at 10:12 AM CET #

prety informative screencast on topic:
http://netbeans.tv/screencasts/NetBeans-6.5%3A-Database-Support-Improvements-403/

the screencast demonstrates at around 4:45 the SQL History (also a well hidden gimmic ;-))

Gesendet von mbien am December 03, 2008 at 10:46 AM CET #

I still miss a visual designer to design database tables. Afterwards it should be possible to make this tool create your database entities.
How do u solve this requirement?

Gesendet von Daniel am December 04, 2008 at 04:33 PM CET #

Hi,

This would make a fantastic contribution to the NB Community Docs wiki. Could you please submit it?

Thanks a lot,

--James Branam

Gesendet von James Branam am December 09, 2008 at 11:25 AM CET #

Senden Sie einen Kommentar:
  • HTML Syntax: Ausgeschaltet
Interviews/About
My Recent Book
Java One 2009
CommunityOne East N.Y.C
JavaONE 2008 Interview
Search
...the last 150 posts
...the last 10 comments
greenfire.dev.java.net
Links
my.netbeans.org
Visitors
License