
Chapter 4 Generating Hibernate Persistent Objects and JSF Pages
Manually defining O/R mapping
If you have the Java classes definition and the database structure, you can manually define the O/R mapping:
- Define your Java classes in an OOM or reverse engineer some existing Java classes
- Reverse engineer the database to create a PDM
- Open the mapping editor in the OOM
- Create a data source that refers to the PDM
- Drag and drop tables or columns over classes or attributes to define O/R mapping
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|