DBHelper

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.

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.

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!

Plugin DBHelper failed to initialize and will be disabled: com/intellij/highlighter/custom/impl/CustomFileTypeI 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/CustomFileTypeI 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