This tutorial shows you how to use
Workshop to build real-time Hibernate-based web applications.
Hibernate is an open-source ORM solution for Java applications. Hibernate provides data query and retrieval facilities that significantly reduce development time. Hibernate lets you develop persistent classes following an object-oriented idiom - including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.
This tutorial provides step by step instructions as related to Hibernate but
for minor differences, could also be used with Kodo. (The Kodo Persistence
API is based on the Apache open source project OpenJPA).
The tutorial describes how to
Create a web application project
Create a database connection to any industry-standard database
Browse and analyze database artifacts, and review their properties using DbXplorer
Review database diagram using DbXaminer
Retrieve data from the database tables using DbXaminer
Manage data in database tables using DbXaminer
Generate O/R mappings using Hibernate ORM Generation wizard
Use the HQL Editor
View and manage Hibernate Persistent Entities using the Hibernate Entities Editor
Define and manage Hibernate application configurations using Hibernate Configurations Editor
Create server configurations and run the web application
This tutorial also explains the Workshop
concepts and features
Synchronized, split-pane source and visual (WYSIWYG) editor for Hibernate mappings and configuration files
Code completion
Real-time error checking
Use of the Property Sheet to display and edit all the properties of Hibernate Persistent Entities
Use of Smart Editor to easily and efficiently set standard properties of Hibernate Persistent Entities