Authors:
huojun
Apache

DBHelper

Products: IntelliJ IDEA

Vendor: Visit DBHelper Website

Email:

Website: http://ca.geocities.com/davidhuo2003/dbhelper.html

SourceCode: DBHelper_1120.zip

Description:

A productivity tool to help you work with databases inside IDEA. This tool is targeted on the Java developers, who are also stored procedure developers. Key features include: 1) Adding two new file types IDEA can recognize: a. SQL – The SQL script file b. DIA – The database schema diagram file 2) Basic syntax highlighting – Supporting keywords, single line comments, /** **/ style multi-line comments, strings and number. The keyword is updated dynamically based on the database you are working with. 3) Code completion: a. Supporting basic completion: Hit Ctrl + Space lists all the objects in the current database and narrows down as the user typing b. Correlation name completion: When the user hits ‘.’, it will resolve the correlation name and pops up the suggestions, such as catalogs, schemas, table columns and stored procedures. It can also resolve SQL correlation name, temp tables, declared variables and parameters (works for SQL iAnywhere or ASE T-SQL format) 4) Run SQL script inside IDEA editor – At any time, the user can highlight a block SQL script or run the whole SQL script in IDEA editor and the result will show in the DBHelper output panel. 5) View Database schema as diagram – At any time, the user can select multiple tables or a type of tables and view the schema in a graphical diagram. The diagram can be saved as DIA format or copied as image. 6) Update table data – The user can view the data of any table and insert/delete/update the table data. 7) Support multiple databases via standard JDBC interface, tested databases are: a. Sybase SQL Anywhere (tested on version 9.x) b. Sybase ASE (tested on version 12.x) c. MySQL (tested on version 5.x) d. SQL Server (tested on version 2000) e. Oracle (tested on 9i) Extra database meta data can be supported by adding plugin jars to DBHelper (Implementing IMetaProvider interface, see ASA user meta extension sample) 8) It is designed to be extended using Velocity templates. (Velocity is an open source apache project for generating text content based on a simple template). Uses can add templates to generate customized content based on the database meta data, such as generating XML data based on resultset, or JDBC call to retrieve the resultset from the database. There are some templates come with this release as examples. 9) SQLConsole is newly added to support users that primarily don’t write lots of stored procedures and only want to run some simple queries inside IDEA. Users can open SQLConsole in DBOutput tool window and run any SQL queries. Of course syntax highlighting and SQL code completion are also available in the SQLConsole. 10) Query Manager: Users can create new or update queries in DBOutput tool window Saved Queries tab.
Downloads: 35664
Rating:
Participated in rating: 20
Version Since Build Until Build File/URL Size (Kb) Date Details
1.2.02. 40.3000. . Download 2607.7 2009-03-19 22:15:45 details
. .
5 updates are hidden show all updates
Screenshot #263
Screenshot #262

Recent change notes:

1) Add Ctrl+Shift+Space for smart SQL completion 2) Add feature to copy database connection profile 3) Add feature to run any Velocity template 4) DBHelper can support editting sql files with different file extension, not just .sql. 5) Add feature to hide a database profile 6) Support the new IDEA 7.x

General usage instructions:

The plugin zip file includes the documentation.

Comments:

1234>
Anonymous
2014-05-09 16:55:34
OpenSUSE 13.1 64-bit + Java 1.8 + IDEA 13.2 = Tilt 15:50:29 NoSuchMethodError: dbhelp.plugin.idea.ProjectMain@36f93c60: com.intellij.openapi.fileEditor.FileDocumentManager.addFileDocumentManagerListener(Lcom/intellij/openapi/fileEditor/FileDocumentManagerListener;)V Rating: Would love it if it did work
.
Anonymous
Rated:
2014-02-06 20:20:55
Encountering an issue when IntelliJ restarts after plugin is installed. NoSuchMethodError: com.intellij.openapi.fileEditor.FileDocumentManager.addFileDocumentManagerListener Please address!
.
Anonymous
Rated:
2012-08-03 19:21:41
com.intellij.openapi.fileEditor.FileDocumentManager.addFileDocumentManagerListener(Lcom/intellij/openapi/fileEditor/FileDocumentManagerListener;)V: com.intellij.openapi.fileEditor.FileDocumentManager.addFileDocumentManagerListener(Lcom/intellij/openapi/fileEditor/FileDocumentManagerListener;)V java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.FileDocumentManager.addFileDocumentManagerListener(Lcom/intellij/openapi/fileEditor/FileDocumentManagerListener;)V at dbhelp.plugin.idea.ProjectMain.projectOpened(ProjectMain.java:79) at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:400) at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:74) at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:435) at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:153) at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:1077) at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:418) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:484) at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:175) at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:44) at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:322) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:110) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:220) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:212) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:202) at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:42) at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:128) at $Proxy44.appStarting(Unknown Source) at com.intellij.idea.IdeaApplication.d(IdeaApplication.java:330) at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:56) at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:298) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:607) at java.awt.EventQueue$1.run(EventQueue.java:605) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:616) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
.
Anonymous
Rated:
2011-05-28 14:02:11
The plugin is very useful.

But there is a problem with Mac OSX.

Problem with cursor position in db console on macosx. cursor position is not correct when i type sql request. I thing the proble is related with font - if select monospace fond I thing everything will ok, but I cannot change font for the plugin.
.
Anonymous
Rated:
2010-09-17 02:10:05
Under what license this source code is available ?
.
Anonymous
2009-10-29 01:11:59
Not working for me - Mac OS X 10.5.8, JDK 1.6. Plugin fails on startup.

Bad version number in .class file [Plugin: DBHelper]: Bad version number in .class file [Plugin: DBHelper]
com.intellij.diagnostic.PluginException: Bad version number in .class file [Plugin: DBHelper]
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:46)
.
Anonymous
2009-05-25 01:58:10
Why on earth so few provide support for PostgreSql and yet so many are so quick to implement tools for this cursed ms sql server. Even you guys, java guys? Freaks!
.
huojun
2009-03-19 22:17:43
I have updated the plugin to run under IDEA 8. If you use older version, please don't download the latest.
.
roanosullivan
2009-03-19 20:31:16
When will this work with v8.1? The default Database view in IDEA is simply inadequate.
.
grikag
2009-03-16 19:38:16
Plugin DBHelper failed to initialize and will be disabled: com/intellij/highlighter/custom/impl/CustomFileType
I hope this gets fixed soon.
.
Anonymous
2009-02-11 20:04:30
I was using this plugin with intellij v7 and loved it. I just upgraded to intellij v8 and it doesn't work. I get the following error:
Plugin DBHelper failed to initialize and will be disabled: com/intellij/highlighter/custom/impl/CustomFileType
I hope this gets fixed soon.
.
Anonymous
2009-02-06 23:31:12
Doesn't work for me either with IntelliJ 8, I'm getting the following error:
Plugin DBHelper failed to initialize and will be disabled: com/intellij/ide/highlighter/custom/impl/CustomFileType
.
Anonymous
2009-01-16 16:01:09
Doesn't work for me either. Using IntelliJ 8.0
.
Anonymous
Rated:
2008-11-12 03:13:25
From all the hype reguarding this plugin you would at least think that it actually works, but not in my case.

I keep getting the following error:

Plugin DBHelper failed to initialize and will be disabled: com/intellij/highlighter/custom/impl/CustomFileType

.
flymonk
Rated:
2007-12-03 05:43:44
The highlighting feature dosn't work in IDEA 7.x?
.
1234>