Authors:
huojun
Apache

DBHelper

Vendor: Visit DBHelper Website

Email:

Website: http://ca.geocities....uo2003/dbhelper.html

SourceCode: link

Supporting page

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: 26000
Rating:
Participated in rating: 16
Version Since Build Until Build File/URL Size (Kb) Date Dependency
1.2.02. 40.3000. . Download 2607.7. 2009-03-19 22:15:45 .
1.2.02. 40.3000. . Download 2587.69. 2007-04-11 05:11:51 .
1.2.01. 40.3000. . Download 2587.21. 2007-04-08 19:21:44 .
1.2. 40.3000. . Download 2754.73. 2007-04-06 22:40:53 .
1.1.0069. 40.3000. . Download 2524.62. 2007-02-14 09:19:32 .
1.1.0068. 40.3000. . Download 2691.45. 2007-02-08 18:19:11 .
. .
DBHelper
DBHelper

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:

Anonymous
Rated: noRate
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
Rated: noRate
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
Rated: noRate
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
Rated: noRate
2009-03-19 20:31:16
When will this work with v8.1? The default Database view in IDEA is simply inadequate.
.
grikag
Rated: noRate
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
Rated: noRate
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
Rated: noRate
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
Rated: noRate
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?
.
prophecy
Rated: noRate
2007-11-27 21:57:40
Does this work with Idea 7?
.
Anonymous
Rated: noRate
2007-09-27 22:25:22
FYI: I have found conflict with Library Finder and DBHelper

Seems like its a high level IntelliJ plugin architectural issue and its reported to Jetbrains

http://www.jetbrains.net/jira/browse/IDEA-15304
http://code.google.com/p/libraryfinder/issues/detail?id=11
.
Anonymous
Rated: noRate
2007-09-27 22:22:27
FYI: I have found conflicts with this plugin and Library Finder.

Seems like its a high level IntelliJ plugin architectural issue and its reported to Jetbrains

http://www.jetbrains.net/jira/browse/IDEA-15304
http://code.google.com/p/libraryfinder/issues/detail?id=11
.
Anonymous
Rated: noRate
2007-09-27 22:21:37
FYI: I have found conflicts with this plugin and Library Finder.

Seems like its a high level IntelliJ plugin architectural issue and its reported to Jetbrains

http://www.jetbrains.net/jira/browse/IDEA-15304
http://code.google.com/p/libraryfinder/issues/detail?id=11
.
Anonymous
Rated: noRate
2007-05-31 21:19:06
.
Anonymous
Rated: noRate
2007-05-17 15:36:47
АУУУУУУУУУУУУУУУ!
.
Anonymous
Rated: noRate
2007-04-28 15:09:56
May you actualize the source code?...
.
Anonymous
Rated: noRate
2007-03-07 12:36:40
Problem with large diagrams still present.
Is this plugin opensource?
Where to get the latest source version?
.
Anonymous
Rated:
2007-03-01 03:13:24
Great plugin!!! Totally rocks and no more other SQL query plugins.
.
Anonymous
Rated:
2007-01-09 18:07:12
Great plugin. I'm using it with Sybase and considering replacing Rapid SQL with it. The author has also been very good at turning around any issues or suggestions.
.
Anonymous
Rated: noRate
2006-12-21 15:01:31
Sorry, I didn't see the DBHelper tab on the right handside. Was probably blind that day :)
.
huojun
Rated: noRate
2006-12-18 18:11:50
The plugin works fine with the latest release of IDEA, which is 6.0.2. Do you have trouble to use it? Please send your issues to dbhelper@gmail.com
.
Anonymous
Rated: noRate
2006-12-18 12:10:17
When will the 6.0 version be ready?
.
Anonymous
Rated:
2006-12-13 18:30:01
This is a really great plugin that will not only replace SQL Query plugin but will also add a lot of features making it useless to have a separate tool for your database work.
.
Anonymous
Rated:
2006-12-11 05:09:42
BY far the best plugin I have used, Saved me a tonne of time coding with a few simple template changes. I hope to see more templates as this has huge potential
.
huojun
Rated: noRate
2006-12-09 03:20:25
Please email these "edges" to dbhelper@gmail.com. I will polish them. Thanks.
.
Anonymous
Rated:
2006-12-09 02:15:15
Great plugin, and great support from the developer. It still has some rough edges, but I'm impressed by the features and quality of the plugin
.
Anonymous
Rated:
2006-11-27 10:28:26
Works super now with Oracle 9i. :-)
Thank you for your quick response.
.
Anonymous
Rated: noRate
2006-11-24 12:19:38
Yes, please, check your mail:)

Also one more feature request:
It would be very convenient to save all filters (now on every prject open to see only intrested scheme I have to set table filter again).
.
huojun
Rated: noRate
2006-11-23 21:52:55
Could you send the stack trace to dbhelper@gmail.com? Thanks.
.
Anonymous
Rated:
2006-11-23 19:10:59
Realy geat plugin!!!
Thanks a lot for it:)

But I constantly recieving message "ORA-01490: invalid ANALYZE command" by selecting any table (from keyboard or by mouse clicking) in the DB Tree. And due to popuping alert it's very dificult to select several tables:)
Plugin version - 1.1.0030
DB - Oracle 8i

Also some feautes request :))
Is any way to see table diagram only for few selected tables - not for whole schema? I'am selecting only 2 tables from list but geting all tables on diagram (but I suspect, this is only due to previous error).

Also it would be very usefull to be able to order (manualy, of course) tables by some tabs/packages/modules/etc (for example, like in Rational Rose), because it's very hard to understand diagram, when there are hundred tables on it :)
.
huojun
Rated: noRate
2006-11-23 17:48:17
This oracle problem is because the bug of oracle jdbc driver. I added work around in the new build.
.
Anonymous
Rated:
2006-11-23 15:57:00
Very useful Plugin but with some Tables I get following exception:
java.lang.NumberFormatException: For input string: "4294967295"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:459)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.jdbc.driver.OracleResultSetMetaData.getPrecision(OracleResultSetMetaData.java:331)
at dbhelp.db.model.ResultModel.loadResultSet(ResultModel.java:82)
at dbhelp.db.SQLCommander.createTableModel(SQLCommander.java:270)
at dbhelp.db.SQLCommander.execute(SQLCommander.java:243)
at dbhelp.db.SQLCommander$SQLRunner.run(SQLCommander.java:128)
at java.lang.Thread.run(Thread.java:595

I use a Oracle 9i DB.
.
Anonymous
Rated:
2006-11-09 15:15:11
It is a great plugin!

I've put 4 stars because I never put 5 stars...

Some dialogs could be closed when pushing the escape key (like pushing the cancel button).

.
maarten hazewinkel
Rated:
2006-10-31 22:40:56
It's a technically excellent plugin, and the author is very helpful in fixing problems.
The user interface isn't ideal, which is the reason I'm not giving it 5 stars yet. It's a very 'technical' interface, not focused on usability and user-friendlyness.
I suggest you find an internet forum that focuses on user interfaces, and ask them to critique some screenshots and workflow descriptions.
.
huojun
Rated: noRate
2006-10-27 19:33:29
Thanks for the input from the users. Please send your suggestions to dbhelper@gmail.com so that I can make it better!
.
Anonymous
Rated:
2006-10-27 19:20:23
Becomes much better))
.
huojun
Rated: noRate
2006-10-20 00:47:08
I don't know your mysql setup but I used this url and it worked for me:
jdbc:mysql://localhost/mysql

.
Anonymous
Rated: noRate
2006-10-19 22:57:57
This plugin has a good potential but it still doesn't work well for me. I'll keep an eye on it's future releases for sure.
My input into making it better:
- Couldn't get started with it without reading help. Steps involved are totaly non-intuitive. I'd expect plugin setup to be where all Idea's plugin setups are. I'd prefer much easier database setup and more obvious interface.
And give me a way to name those databases! If I have 5 databases using same driver...
- Had to resize database information window to make it usable.
- I'd prefer standard Idea interface for adding databases (you know, the list, +, -, Copy etc.)
- switching between databases worked one time out of 10. All other times no message, nothing happens.
- couldn't make it show Mysql database structure at all. Queries worked though.
- generally I'd prefer much better error reporting. Throwing exeptions is much better than silently ignoring my actions! Exceptions could be fixed!
So many times I click something - and nothing happens.

Best luck with your plugin!
.
huojun
Rated: noRate
2006-10-16 19:53:54
In the SQL editor, Ctrl+f10 to run the whole sql script or the current highlighted block. It is described in the help file.
.
Anonymous
Rated: noRate
2006-10-16 19:23:39
Yes. to run SQL statements
.
Anonymous
Rated: noRate
2006-10-16 17:30:47
Have you guys read the tutorial which is included in the plugin zip file?
"The SQL Query Plugin has a more intuitive UI." --- ???

Could you give me more detail information so that I can improve DBHelper?

Do you mean it is hard to run SQL statement or something else? I need a little help here.
.
Anonymous
Rated: noRate
2006-10-16 12:10:51
For sql queries - yes. but for working with DB BD helper is much better
.
Anonymous
Rated:
2006-10-16 00:21:34
The SQL Query Plugin has a more intuitive UI.
.
huojun
Rated: noRate
2006-10-13 20:17:50
From now on, the plugin will be developed and tested under IDEA 6.x.
.
Anonymous
Rated:
2006-10-12 18:21:11
Very Useful Plugin)
Especially dynamic creation of DB scheme)
.
Ramke
Rated:
2006-10-12 10:09:59
Very nice plugin. Author also answers emails very fast. Author gives attention to remarks.
.
huojun
Rated: noRate
2006-10-10 01:56:31
Bug fixes. Many thanks to Nikita giving feedback. If you want this plugin to serve you better, email your feedbacks to dbhelper@gmail.com. Thanks
.
Anonymous
Rated: noRate
2006-10-06 23:02:58
Please.. change Verion nuber for to have an ability to download new version from plugin manager
.
huojun
Rated: noRate
2006-10-06 18:02:04
Please write comments or report bug to dbhelper@gmail.com

Thanks.
.
huojun
Rated: noRate
2006-10-05 19:44:39
Please download the latest build, it has bug fixes and updated document.
.