Hibernate Tools
Edit Hibernate mappings, execute HQL queries and develop applications with Hibernate, a Java persistence and object-relational mapping framework.
Download Hibernate Tools 3.2.0.beta9 for EasyEclipse 1.2.2:
Hibernate tools provide:
- Mapping Editor: An editor for Hibernate XML mapping files, supporting auto-completion and syntax highlighting. It also supports semantic auto-completion for class names and property/field names, making it much more versatile than a normal XML editor.
- Console: The console is a new view in Eclipse. In addition to a tree overview of your console configurations, you also get an interactive view of your persistent classes and their relationships. The console allows you to execute HQL queries against your database and browse the result directly in Eclipse.
- Development Wizards: Several wizards are provided with the Hibernate Eclipse tools; you can use a wizard to quickly generate Hibernate configuration (cfg.xml) files, or you may even completely reverse engineer an existing database schema into POJO source files and Hibernate mapping files. The reverse engineering wizard supports customizable templates.
Comments are currently disabled on this page.'; ?>
Installing this plugin
This plugin is in the EasyEclipse Server Java distribution.
If you install this plugin on another EasyEclipse distribution, the dependent plugins Eclipse Web tools editors and Eclipse Java Development Tools must be present in the EasyEclipse distribution, or must be installed separately.
To use this plugin, you need Hibernate downloads.
Getting started
Help is available for this plugin, in the Help > Help Contents menu in EasyEclipse.
Under Hibernate Developer Guide > Tools Documentation > Ant and Eclipse Tools, you can find, in one document, a very complete user guide for the JBoss Hibernate Tool.
Tests
(Notes that tests are only displayed if the page is served statically)- Passing:
- Install sqldb (from hsqdb.org). Create a table somehow (best solution is to run quantum test before this one) Run the server by using the "runServer.sh" found in the "demo" folder. - File > New > Project, Java > Java project, give name, OK - File > New > Others, Hibernate > Hibernate configuration file, give name, next - enter: database dialect: HSQL, driver class: org.hsqldb.jdbcDriver org.hsqldb.jdbcDriver, connection url: jdbc:hsqldb:hsql://localhost, user name: sa, password empty, check "create a console configuration", next. give a name to the Console Configuration. In \'classpath\' tab, select \'add external jar\', locate \'hsqldb.jar\', ok, finish. - Window > Show View > Others, Hibernate > Hibernate Configurations. Should show Console Configuration create above. - In Hibernate Configurations view, expand tree Database > Public. Right-click on any table, select \'HQL Editor\'. Should open view. I wasn\'t able to run a SQL command there - select the button for hibernate (see http://127.0.0.1:55330/help/topic/org.hibernate.eclipse.help/html/tools/ant/en/shared/images/codegendropdown.gif ), select \'Hibernate code generation\' - in first tab, select console configation, output folder (your project folder). - in second tab, select "domain code", "hibernate XML mapping", "DAO code", "Hibernate XML Configuraion", others cause problem it seems, hit Run - should generate a bunch of files
Useful links
- Hibernate Tools home
- Documentation
- Hibernate Tools provides support for the Hibernate framework.
Changelog
Changes in EasyEclipse 1.3.1:
- Initial release (with Hibernate Tools 3.2.0.GA).
- Initial release (with Hibernate Tools 3.2.0.beta9).
- Upgraded to Hibernate Tools 3.2.0.beta8.
- Upgraded to Hibernate Tools 3.2.0.beta6a.
- Upgraded to Hibernate Tools 3.2.0.beta7.
- Upgraded to Hibernate Tools 3.10.beta5.
- Initial release (with Hibernate Tools 3.1.0.beta4a).
Credits and License
Credits: JBoss Team, Max R. Andersen, David Channon, Marshall Culpepper
Copyright (c) 2002-2005 JBoss Inc. All rights reserved. JBoss is a registered trademark and servicemark of JBoss, Inc.
This plugin is licensed under the GNU Lesser General Public License 2.1 license.
The following additional license terms apply to software incorporated in the Hibernate tools:
antlr license v1.1
apache license v1.1
apache license v2.0
Sun Binary Code License Agreements for Connector, jaas, jdbc1_0 and jta - each has the same base license plus similar, but distinct supplementary license terms.
(25MB)
(25MB)
(25MB)