Hibernate Tools Broken for Me

Hello,

For me, Hibernate Tools in IDEA X is totally broken.

The "Available plug-ins" area within IDEA for Hibernate Tools says:

  • Recompiled for Idea 5.0 (tested also on Idea 4.5).


Huh?


What I don't understand is that if plug-in isn't working, or is not supported, why does it show up in the list of "****AVAILALBE Plug-ins*****"?

What does "AVAILABLE" really mean if it doesn't work or hasn't been tested?

As far as I know, there's really nobody to "contact" about this broken plug-in issue.

I want to be able to reverse engineer the DAO objects (with save, find, and other useful methods) via Hibernate, which Intellij IDEA doesn't apper to reverse enginner on its own.

Do I need to use Eclipse and install the Hibernate tools there?

------

There are other plug-ins that don't indicate they have been tested in IDEA X (PMD says version 9 and it too crashes on me in X).

I would appreciate any suggestions about how to be able to use the plug-ins I thought would work...

If anyone else is able to use these plug-ins, I'd really like to know as it could be my mistake (PMD at least, worked fine for me in IDEA 9, but now, not in X).

Thanks.

- M

6 comments
Comment actions Permalink

Hello Mork,

At the moment IDEA shows a plugin as available if the plugin developer did
not specify an upper limit on the build number with which the plugin is compatible.
We do not try to parse plugin text descriptions and figure out what's written
there.

We're now working on a solution to automatically check the compatibility
of a plugin with the API of a specific IDEA version and hide the plugins
that are known to be incompatible from the 'Available' list.

For me, Hibernate Tools in IDEA X is totally broken.

The "Available plug-ins" area only says that it was working in IDEA
4.5 or 5. Huh?

What I don't understand is that if plug-in isn't working, or is not
supported, why does it show up in the list of "****AVAILALBE
Plug-ins*****"?

What does "AVAILABLE" really mean if it doesn't work or hasn't been
tested?

As far as I know, there's really nobody to "contact" about this broken
plug-in issue.

I want to be able to reverse engineer the DAO objects (with save,
find, and other useful methods) via Hibernate, which Intellij IDEA
doesn't apper to reverse enginner on its own.

Do I need to use Eclipse and install the Hibernate tools there?

------

There are other plug-ins that don't indicate they have been tested in
IDEA X (PMD says version 9 and it too crashes on me in X).

I would appreciate any suggestions about how to be able to use the
plug-ins I thought would work...

If anyone else is able to use these plug-ins, I'd really like to know
as it could be my mistake (PMD at least, worked fine for me in IDEA 9,
but now, not in X).


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks for your reply.

However, the real issue here is that -- I really need the ability to reverse engineer DAO objects via Hibernate (as with Hibernate tools).

Willl you please let me know when this needed capability will be added to your product?

Thanks.

-- M

0
Comment actions Permalink

Hello Mork,

Doesn't this feature do what you need?
http://blogs.jetbrains.com/idea/2009/03/generating-persistence-mappings-from-database-schema/

Thanks for your reply.

However, the real issue here is that -- I really need the ability to
reverse engineer DAO objects via Hibernate (as with Hibernate tools).

Willl you please let me know when this needed capability will be added
to your product?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,

I think what you're referring to in your link above is just to create the "ENTITY" objects, but not the actual DAO code to help save them.

Is there any type of standard plugin to help me create the DAOs?

Why should I have to spend hours writing, manually, DAO logic when it's standard boilerplate in most cases?

Other environments, like MyEclipse, make this functionality as part of the reverse engineering process.

I would rather spend my time writing application logic, NOT boilerplate DAO code.

IDEA seems to push this burden on me when, IMHO, it should be quick, simple, and .... built in to the product.

Maybe I'm missing it, but then again, it's hard to find things with the current UI often in IDEA 11.

Look forward to your reply.

Thanks,

- m

0
Comment actions Permalink

You may upvote/watch http://youtrack.jetbrains.com/issue/IDEA-67051 .

If you don't want to run Hibernate Tools by hand (which is really possible).

0
Comment actions Permalink

Hi Gregory,

It's better to have DAO generation built right into the IDE like MyEclipse does. Right in the "Database Perspective". It's so nice. You can pick the generator strategy there too.

As good as IDEA is, and in so many ways it's my favorite IDE (espeically the editor), the fact that it can be so complicated and seems to be missing functionality (like DAO generation as an option of entiry creation), I usually pick MyEclipse on most projects.

I looked at Hibernate Tools, but I didn't see from the description on the JBOSS site that it generated DAOs.

Are you sure it does?

I may need to install it...

Thanks,

- m

0

Please sign in to leave a comment.