• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IDEs support Hibernate ???

 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are IDEs support Hibernate ???
 
Gian Franco
blacksmith
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Somkiat,

I've seen that IBM's WSAD definitely supports
Hibernate, with plug ins for different tasks.

Given that I guess there must be something
for Eclipse as well since both products, that
is eclipse and wsad, are so closely related.

Cheers,

Gian Franco Casula
[ August 31, 2004: Message edited by: Gian Franco Casula ]
 
Gavin King
author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need any special IDE support to develop with Hibernate. However, a decent XML editor does help.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by this? There are some nice plugins in Eclipse world which can help you while developing with Hibernate.
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by this? There are some nice plugins in Eclipse world which can help you while developing with Hibernate.


what plugins ? how do you use them, how do they help...

here is a list of eclipse plugins dealing with hibernate: http://eclipse-plugins.2y.net/eclipse/search.jsp?query=hibernate

all you need for hibernate is the mapping files... you can write them with an XML editor or use XDoclet to generate them (www.downside.ch/pascal).


cheers


pascal

PS. sorry to say but as soon as there is a book to win the signal-to-noise ratio changes significantly... (i hope a "me too" post doesn't qualify for the book :-) )
[ August 31, 2004: Message edited by: pascal betz ]
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now, i use HibernateSynchonizer plug-in for Eclipse.

But i need to use another plug-in better than ....
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for link of hibernate plu-in.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Gavin King:
You don't need any special IDE support to develop with Hibernate. However, a decent XML editor does help.


What is name of your XML editor ?
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even if it unrelated: I use for development Eclipse and the nice plugin is XMLBuddy (at least for me).

PS. sorry to say but as soon as there is a book to win the signal-to-noise ratio changes significantly... (i hope a "me too" post doesn't qualify for the book :-) )


True (I want to just say me too :-)). A nice tool for me is Middlegen-Hibernate. As I am using legacy databases this is helping me a lot. Indeed it is not a plugin. And about the XML editing, it is not so easy to create the mappings for 250 tables (each ranging from 10-50 fields).
 
Gavin King
author
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JEdit, actually.

Well, if people find the eclipse plugins helpful, that's great :-)

I just mean to say that they are not needed, IMO...
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much....
 
Jez Nicholson
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found XDoclet pretty good for generating my hibernate mappings. I'm using the Eclipse Java editor templates at http://www.meagle.com:8080/hibernate_template.jsp to make the job of remembering the syntax easier. For example they let you enter 'hibprop' and hit ctl-space and receive a code completion of the XDoclet hibernate property tag.
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use XDoclet and it works fine.
If you're interesting in using XDoclet in Hibernate, check this XDoclet for Hibernate.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,


XDoclet is seem like Ant or not ???


Now, I'm still use Ant...
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Somkiat Puisungnoen:
Thank you,


XDoclet is seem like Ant or not ???


Now, I'm still use Ant...


Xdoclet is different from Ant. Ant uses XML file but you use xdoclet tags in source code for example for generating XML files.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you again.....
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ant uses XML file but you use xdoclet tags in source code for example for generating XML files.


I think the difference is not in what they use, but it what they are needed for ;-). XDoclet will enable you generate the mappings starting from your sources (you must include in the sources some special javadoc tags), while Ant offers the de-facto standard for managing projects (build processes, distro processes, etc.). Not letting out Middlegen, I will say that it helps you generating the mappings starting from a DB - so it is used for helping you with legacy databases.

/pope
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Somkiat Puisungnoen:
XDoclet is seem like Ant or not ???


If both of them do the same work, why do we need ANT, while we have XDoclet? Or vice versa?

I believe they were born with difference aspects...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic