Chapter 3 Creating J2EE Applications for Sybase EAServer


Defining O/R Mapping

When you generate an OOM from a PDM or a PDM from an OOM, the default O/R mapping can be generated and saved in the OOM. You can also manually define complex O/R mapping. The following screenshot shows the Attributes Mapping of class Customer. It is generated from the PDM.


For O/R mapping, PowerAMC supports:

The syntax of SQL queries and stored-procedures may vary depending on the application server.

For EAServer, PowerAMC generates EAServer specific SQL statements.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.