Hibernate.orgCommunity Documentation
Die Arbeit mit objektorientierter Software und einer relationalen Datenbank kann sich in Unternehmensumgebungen heutzutage als mühsam und zeitaufwendig erweisen. Bei Hibernate handelt es sich um ein objekt/relationales Mapping-Tool für Java Umgebungen. Der Begriff objekt/relationales Mapping (ORM) bezieht sich auf die Technik des Mappens einer Datenrepräsentation von einem Objektmodell zu einem relationalen Datenmodell mit SQL-basiertem Schema.
Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities. It can also significantly reduce development time otherwise spent with manual data handling in SQL and JDBC.
Hibernate's goal is to relieve the developer from 95 percent of common data persistence related programming tasks. Hibernate may not be the best solution for data-centric applications that only use stored-procedures to implement the business logic in the database, it is most useful with object-oriented domain models and business logic in the Java-based middle-tier. However, Hibernate can certainly help you to remove or encapsulate vendor-specific SQL code and will help with the common task of result set translation from a tabular representation to a graph of objects.
Falls Ihnen Hibernate und Objekt/Relationales Mapping oder sogar Java neu sind, orientieren Sie sich bitte an folgenden Schritten:
Read Kapitel 1, Tutorial for a tutorial with step-by-step instructions. The source code for the tutorial is included in the distribution in the doc/reference/tutorial/
directory.
Read Kapitel 2, Architektur to understand the environments where Hibernate can be used.
View the eg/
directory in the Hibernate distribution. It contains a simple standalone application. Copy your JDBC driver to the lib/
directory and edit etc/hibernate.properties
, specifying correct values for your database. From a command prompt in the distribution directory, type ant eg
(using Ant), or under Windows, type build eg
.
Use this reference documentation as your primary source of information. Consider reading [JPwH] if you need more help with application design, or if you prefer a step-by-step tutorial. Also visit http://caveatemptor.hibernate.org and download the example application from [JPwH].
Antworten auf häufig gestellte Fragen (FAQs) finden Sie auf der Website von Hibernate.
Auf der Hibernate Website befinden sich auch Demos, Beispiele und Anleitungen Dritter.
Bei Fragen wenden Sie sich an das Benutzerforum, das mit der Hibernate Website verlinkt ist. Wir bieten auch ein JIRA-Problemverfolgungssystem für Fehlerberichte und Feature-Anfragen. Falls Sie an der Entwicklung von Hibernate interessiert sind, registrieren Sie sich bei der Mailing-Liste für Entwickler. Falls Sie diese Dokumentation in Ihre Sprache übersetzen möchten, setzen Sie sich mittels der Mailing-Liste für Entwickler mit uns in Verbindung.
If you have questions, use the user forum linked on the Hibernate website. We also provide a JIRA issue tracking system for bug reports and feature requests. If you are interested in the development of Hibernate, join the developer mailing list. If you are interested in translating this documentation into your language, contact us on the developer mailing list.
Commercial development support, production support, and training for Hibernate is available through JBoss Inc. (see http://www.hibernate.org/SupportTraining/). Hibernate is a Professional Open Source project and a critical component of the JBoss Enterprise Middleware System (JEMS) suite of products.
Copyright © 2004 Red Hat, Inc.