Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I'm not sure if you are still needing an answer to your question, but our very own stackoverflow website has probably <a href="https://stackoverflow.com/questions/351640/how-to-install-hibernate-tools-in-eclipse#352429">the solution you are looking for</a>.</p> <p>If that doesn't fully answer your question, then this might do the trick : <a href="http://www.hibernate.org/311.html" rel="nofollow noreferrer">"Hibernate and Eclipse Integration</a>. </p> <p>from the linked Hibernate website:</p> <blockquote> <p>In the MANIFEST.MF file of the Hibernate plugin (which NEEDS the buddy loading), such as org.hibernate.eclipse, add a line:</p> <p>Eclipse-BuddyPolicy:registered</p> <p>and in the MANIFEST.MF file of your plugin project or RCP project, add the line:</p> <p>Eclipse-RegisterBuddy:org.hibernate.eclipse</p> <p>Important to notice the syntax - our plugin is willing to be seen by the hibernate library, using Eclipse-RegisterBuddy, and Hibernate is registering itself with Eclipse-BuddyPolicy. While this is stated clearly in the Eclipse Help (in retrospect!) it is critical to get the syntax precisely correct.</p> <p>Finally, if you are using HibernateUtil as your main entry point into Hibernate, then in your plugin start method add the line:</p> <p>Class.forName("myPlugin.HibernateUtil"); //full class name should go here</p> <p>This works - assumption is that hibernate.cfg.xml is in the src directory of your plugin and this is in the classpath.</p> </blockquote> <p>Hope this helps you out.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload