摘要 |
A system and method for a common Object/Relational (O/R) mapping metadata file for an Enterprise Java Bean (EJB) entity bean and a Java Data Object (JDO) persistent class. In an embodiment, O/R mapping logic receives a deployment descriptor file specifying a persistent field of a persistent object. The descriptor file is at least one of an entity bean descriptor file and a JDO persistent class descriptor file. The O/R mapping logic maps the persistent field of the persistent object to a database schema based, at least in part, on the common O/R mapping metadata file.
|